Package | Description |
---|---|
com.pushtechnology.diffusion.client.content |
Unified API - Content.
|
com.pushtechnology.diffusion.client.content.metadata |
Unified API - Metadata.
|
com.pushtechnology.diffusion.client.topics.details |
Unified API - Topic Details.
|
Modifier and Type | Method and Description |
---|---|
Record.StructuredBuilder |
Record.StructuredBuilder.add(String name,
Collection<?> values)
Appends one or more values to a repeating field.
|
Record.StructuredBuilder |
Record.StructuredBuilder.add(String name,
Object... values)
Appends one or more values to a repeating field.
|
String |
Record.StructuredReader.get(String name)
Gets a field value by name.
|
String |
Record.StructuredReader.get(String name,
int index)
Get the value of a specified occurrence of a repeating field.
|
List<String> |
Record.StructuredReader.getValues(String name)
Returns a list of the values of the named field.
|
Record.StructuredBuilder |
Record.StructuredBuilder.set(String name,
Collection<?> values)
As
Record.StructuredBuilder.set(String, Object...) but allowing a collection of
values to be supplied. |
Record.StructuredBuilder |
Record.StructuredBuilder.set(String name,
int index,
Object value)
Sets a field value by name and index.
|
Record.StructuredBuilder |
Record.StructuredBuilder.set(String name,
Object... values)
Set field value(s) by name.
|
Modifier and Type | Method and Description |
---|---|
B |
MGroup.Builder.add(MNode node)
Add a child node (record or field) with a fixed multiplicity of 1.
|
B |
MGroup.Builder.add(MNode node,
int occurrences)
Add a child node (record or field) with fixed multiplicity.
|
B |
MGroup.Builder.add(MNode node,
int minimum,
int maximum)
Add a child node (record or field) with variable multiplicity.
|
T |
MNode.Builder.build()
Builds a metadata node definition from the current builder values.
|
MContent |
MetadataFactory.content(String name,
MRecord... records)
Creates a new content metadata definition comprising the supplied record
definitions, each with single multiplicity.
|
MRecord |
MetadataFactory.record(String name,
MField... fields)
Creates a new record metadata definition comprising the supplied fields,
each with single multiplicity.
|
Modifier and Type | Method and Description |
---|---|
PagedRecordTopicDetails.Builder |
PagedRecordTopicDetails.Builder.order(PagedRecordTopicDetails.Attributes.PagedRecordOrderingPolicy.OrderKey... key)
Specifies that the topic should be ordered by
policy , defining the policy in terms of a
set or order keys. |
PagedRecordTopicDetails.Builder |
PagedRecordTopicDetails.Builder.order(PagedTopicDetails.Attributes.Duplicates duplicatesPolicy,
PagedRecordTopicDetails.Attributes.PagedRecordOrderingPolicy.OrderKey... key)
Specifies that the topic should be ordered by
policy , defining the policy in terms of a
set or order keys. |
Copyright © 2016 Push Technology Ltd. All Rights Reserved.