public abstract class DocumentTreeOptions<O extends DocumentTreeOptions<O,V>,V> extends DistributedPrimitiveOptions<O>
DocumentTree
.Constructor and Description |
---|
DocumentTreeOptions() |
Modifier and Type | Method and Description |
---|---|
Ordering |
ordering()
Returns the ordering of tree nodes.
|
boolean |
purgeOnUninstall()
Return if document tree entries need to be cleared when owning application is uninstalled.
|
O |
withOrdering(Ordering ordering)
Sets the ordering of the tree nodes.
|
O |
withPurgeOnUninstall()
Clears document tree contents when the owning application is uninstalled.
|
applicationId, meteringEnabled, name, partitionsDisabled, readOnly, relaxedReadConsistency, revisionType, serializer, type, version, withApplicationId, withMeteringDisabled, withName, withRelaxedReadConsistency, withRevisionType, withSerializer, withUpdatesDisabled, withVersion
public O withPurgeOnUninstall()
public boolean purgeOnUninstall()
public O withOrdering(Ordering ordering)
When AsyncDocumentTree.getChildren(DocumentPath)
is called, children will be returned according to
the specified sort order.
ordering
- ordering of the tree nodespublic Ordering ordering()
When AsyncDocumentTree.getChildren(DocumentPath)
is called, children will be returned according to
the specified sort order.