public static interface PagedStringTopicDetails.Builder extends PagedTopicDetails.Builder<PagedStringTopicDetails.Builder,PagedStringTopicDetails>
Modifier and Type | Method and Description |
---|---|
PagedStringTopicDetails.Builder |
order()
Specifies that the topic should be ordered by
policy . |
PagedStringTopicDetails.Builder |
order(PagedTopicDetails.Attributes.Duplicates duplicatesPolicy,
PagedTopicDetails.Attributes.Order order,
PagedTopicDetails.Attributes.Rules rules)
Specifies that the topic should be ordered by
policy . |
order, order, unordered
build, property, reference, reset, tidyOnUnsubscribe
PagedStringTopicDetails.Builder order()
policy
.
The policy would be ascending
order with
default collation and a duplicates policy of
NOT_ALLOWED
.
Calling this would replace any previously declared ordering policy.
PagedStringTopicDetails.Builder order(PagedTopicDetails.Attributes.Duplicates duplicatesPolicy, PagedTopicDetails.Attributes.Order order, PagedTopicDetails.Attributes.Rules rules)
policy
.
The PagedTopicDetails.Attributes.Order
and collation rules
may be specified.
Calling this would replace any previously declared ordering policy set on the builder.
duplicatesPolicy
- specifies the policy to be applied when two
lines are determined to be equal according to the policy. If
specified as null, NOT_ALLOWED
is assumedorder
- specifies the order. If this is null,
ASCENDING
is assumedrules
- specifies collation rules to apply when sorting. If this
is null, NO_RULES
is assumed.IllegalArgumentException
- if illegal rules have been suppliedCopyright © 2016 Push Technology Ltd. All Rights Reserved.