Query.Selection#
- public static class Selection#
Class which represents the selection of (sub)properties.
Fields#
MAGIC_NON_PROPERTIES#
- static final Set<String> MAGIC_NON_PROPERTIES#
These magic non-properties are those which are in the results of a
RetrieveSparseEntitytransaction which is why they do not need to be retrieved with aRetrieveEntityPropertiestransaction.
Constructors#
Selection#
Methods#
getSelector#
getSubselection#
isId#
- public boolean isId()#
Return true iff this selector selects the id of an entity.
isParent#
- public boolean isParent()#
Return true iff this selector selects the parent of an entity. If not, the retrieval in
RetrieveFullEntityTransactionmight be optimized by not retrieving the parents at all.
isProperty#
- public boolean isProperty()#
Return true iff this selector selects anything that is most likely a property. If not, the retrieval in
RetrieveFullEntityTransactionmight be optimized by not retrieving the properties at all.
setSubSelection#
toElement#
- public Element toElement()#