Package | Description |
---|---|
com.pushtechnology.diffusion.api.client.paging |
Diffusion Paged Data API.
|
com.pushtechnology.diffusion.api.data |
Diffusion Topic Data API.
|
com.pushtechnology.diffusion.api.data.paging |
Diffusion Paged Topic Data API.
|
com.pushtechnology.diffusion.api.data.record |
Diffusion Record Topic Data API.
|
com.pushtechnology.diffusion.api.message | |
com.pushtechnology.diffusion.api.topic |
Diffusion Topics API.
|
Modifier and Type | Method and Description |
---|---|
List<Record> |
Lines.records()
Deprecated.
Returns the lines in Record format.
|
Modifier and Type | Method and Description |
---|---|
static PagedRecordTopicData |
TopicDataFactory.newPagedRecordData(MRecord metadata,
Comparator<Record> comparator)
Deprecated.
since 5.9
This topic type will be removed in a future release |
Modifier and Type | Method and Description |
---|---|
Record |
PagedRecordTopicData.get(int index)
Deprecated.
Get the value of the line at the specified index.
|
Record |
PagedRecordTopicData.get(Record line)
Deprecated.
Get the value of the line that matches the specified Record.
|
Record |
PagedRecordTopicData.remove(Record record)
Deprecated.
Removed the line that matches the supplied record from the data.
|
Modifier and Type | Method and Description |
---|---|
Comparator<Record> |
PagedRecordTopicData.getComparator()
Deprecated.
If the data is
ordered then this will return the
comparator is use for ordering. |
List<Record> |
PagedRecordTopicData.getLines()
Deprecated.
Returns the current values of all lines.
|
List<Record> |
PagedRecordTopicData.getLines(int from,
int to)
Deprecated.
Returns the current values of all lines in a specified range.
|
List<Record> |
PagedRecordTopicData.getLines(Record line)
Deprecated.
Returns the current values of all lines that match a specified line.
|
Modifier and Type | Method and Description |
---|---|
void |
PagedRecordTopicData.add(int index,
Record line)
Deprecated.
Add (insert) a line to the data at the specified index.
|
int |
PagedRecordTopicData.add(Record line)
Deprecated.
Add a line to the data.
|
Record |
PagedRecordTopicData.get(Record line)
Deprecated.
Get the value of the line that matches the specified Record.
|
List<Record> |
PagedRecordTopicData.getLines(Record line)
Deprecated.
Returns the current values of all lines that match a specified line.
|
Record |
PagedRecordTopicData.remove(Record record)
Deprecated.
Removed the line that matches the supplied record from the data.
|
boolean |
PagedRecordTopicData.update(int index,
Record line)
Deprecated.
Update the line at the specified index with a given value.
|
boolean |
PagedRecordTopicData.update(Record line)
Deprecated.
Update the line that matches the specified Record with the specified
line.
|
Modifier and Type | Method and Description |
---|---|
void |
PagedRecordTopicData.add(int index,
List<Record> lines)
Deprecated.
Add (insert) one or more lines to the data at the specified index.
|
void |
PagedRecordTopicData.add(List<Record> lines)
Deprecated.
Add one or more lines to the data.
|
Modifier and Type | Method and Description |
---|---|
Record |
RecordTopicData.getStateRecord(String recordName,
int index)
Gets the current state of a particular Record occurrence within the data.
|
Modifier and Type | Method and Description |
---|---|
List<Record> |
RecordTopicData.getState()
Gets the current state of the data as a List of Records.
|
Modifier and Type | Method and Description |
---|---|
void |
RecordTopicData.initialise(Record... records)
Initialises one or more Record occurrences within the data.
|
void |
RecordTopicData.initialise(Record record,
int index)
Initialises an occurrence of a Record within the data from a Record with
matching metadata.
|
boolean |
RecordTopicData.update(Record... records)
Update data from records.
|
boolean |
RecordTopicData.update(Record record,
int index)
Updates data from a Record.
|
Modifier and Type | Method and Description |
---|---|
void |
RecordTopicData.initialise(Collection<Record> records)
Initialises one or more Record occurrences within the data.
|
boolean |
RecordTopicData.update(Collection<Record> records)
Update data from records.
|
Modifier and Type | Method and Description |
---|---|
static Record |
Record.createWithMetadata(MRecord metadata,
String emptyFieldValue,
String... fields)
This special factory method allows a Record with metadata to be created.
|
Record |
MessageReader.nextRecord()
Returns a record of string data from the current message position.
|
Record |
DataMessage.nextRecord()
Returns a record of string data from the current message position.
|
Record |
MessageReader.nextRecord(MRecord metadata)
Returns a record of string data from the current message position using
a Metadata definition.
|
Record |
DataMessage.nextRecord(MRecord metadata)
Returns a record of string data from the current message position using a
metadata definition.
|
Modifier and Type | Method and Description |
---|---|
List<Record> |
DataMessage.asRecords()
Returns the whole message body as records.
|
List<Record> |
DataMessage.asRecords(MRecord metadata)
Returns the whole message body as
records . |
Modifier and Type | Method and Description |
---|---|
void |
DataMessage.putRecords(Record... records)
Relative put of one or more records.
|
Modifier and Type | Method and Description |
---|---|
void |
DataMessage.putRecords(Collection<Record> records)
Relative put of one or more Records from a
Collection . |
Modifier and Type | Method and Description |
---|---|
void |
Topic.publishDeltaMessage(Record... records)
This is a convenience method to create a delta message for the topic
populated with the specified records and then publish it.
|
Copyright © 2016 Push Technology Ltd. All Rights Reserved.