Interface NodeCriteria
- All Known Implementing Classes:
BasicCoreCriteria,BasicLocationRequestCriteria,BasicUserEventFilter,BasicUserMetadataFilter
public interface NodeCriteria
Search criteria for node related data.
- Since:
- 2.8
-
Method Summary
Modifier and TypeMethodDescriptionGet the first node ID.Long[]Get an array of node IDs.default booleanTest if this filter has any node criteria.
-
Method Details
-
getNodeId
Long getNodeId()Get the first node ID.This returns the first available node ID from the
getNodeIds()array, or null if not available.- Returns:
- the node ID, or null if not available
-
getNodeIds
Long[] getNodeIds()Get an array of node IDs.- Returns:
- array of node IDs (may be null)
-
hasNodeCriteria
default boolean hasNodeCriteria()Test if this filter has any node criteria.- Returns:
- true if the node ID is non-null
- Since:
- 1.1
-