Interface IndexCriteria


public interface IndexCriteria
Search criteria for indexed related data.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Integer
    Get the first index.
    Get an array of indexes.
    default boolean
    Test if this filter has any index criteria.
  • Method Details

    • getIndex

      default Integer getIndex()
      Get the first index.

      This returns the first available value from the getIndexes() array, or null if not available.

      Returns:
      the first index, or null if not available
    • getIndexes

      Integer[] getIndexes()
      Get an array of indexes.
      Returns:
      array of indexes (may be null)
    • hasIndexCriteria

      default boolean hasIndexCriteria()
      Test if this filter has any index criteria.
      Returns:
      true if the index is non-null