public interface RecordTopicDetails extends TopicDetails
Record
topic.
The format of the content of such a topic is defined by an item of
content
metadata which may describe one or more records
within the content.
When such a topic is updated, the metadata is used to interpret the data and make comparisons between the current topic state and the update such that a delta of change can be calculated for publishing to subscribed clients.
To create an instance of such details use a builder obtained from the
TopicControl
feature as follows:
TopicControl control = session.feature(TopicControl.class);
RecordTopicDetails.Builder builder = control.newDetailsBuilder(RecordTopicDetails.Builder.class);
The minimum that must be provided to the builder is the metadata describing
the record layout.Modifier and Type | Interface and Description |
---|---|
static interface |
RecordTopicDetails.Attributes
Record topic details attributes.
|
static interface |
RecordTopicDetails.Builder
Builder for Record topic details.
|
static interface |
RecordTopicDetails.Schema
Record topic details schema.
|
TopicDetails.Level
Modifier and Type | Method and Description |
---|---|
RecordTopicDetails.Builder |
newBuilder()
Returns a new builder initialized with the values from these details.
|
getAttributes, getLevel, getSchema, getType
RecordTopicDetails.Builder newBuilder()
Copyright © 2016 Push Technology Ltd. All Rights Reserved.