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 Type
    Method
    Description
    Get the first node ID.
    Get an array of node IDs.
    default boolean
    Test 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