Class SearchClause


  • public class SearchClause
    extends QueryNode
    A LexCQL expression tree search_clause node.
    • Method Detail

      • getIndex

        public String getIndex()
        Get the index (or field).
        Returns:
        the index (or field) or null if none
      • getRelation

        public Relation getRelation()
        Get the relation.
        Returns:
        the relation or null if none
      • hasIndexAndRelation

        public boolean hasIndexAndRelation()
        Check if index and relation in this search clause are set.
        Returns:
        true if index and relation were set, false otherwise
      • getSearchTerm

        public String getSearchTerm()
        Get the search term.
        Returns:
        the search term