org.terracotta.toolkit.search.expression
Interface Clause

All Known Subinterfaces:
CompositeClause
All Known Implementing Classes:
Always, BaseClause, BooleanClause, Equals, Exists, Matches, OneOf, Range, RelationalClause, RelationalClause.GreaterThan, RelationalClause.GreaterThanOrEqual, RelationalClause.LessThan, RelationalClause.LessThanOrEqual

public interface Clause

A clause is a constraining boolean statement for use in search queries.


Method Summary
 Clause and(Clause other)
          Produce a clause that is the boolean "and" of this and the other given clause
 Clause not()
          Produce a clause that is the boolean "not" of this
 Clause or(Clause other)
          Produce a clause that is the boolean "or" of this and the other given clause
 

Method Detail

and

Clause and(Clause other)
Produce a clause that is the boolean "and" of this and the other given clause

Parameters:
other -
Returns:
and clause

or

Clause or(Clause other)
Produce a clause that is the boolean "or" of this and the other given clause

Parameters:
other -
Returns:
or clause

not

Clause not()
Produce a clause that is the boolean "not" of this

Returns:
not clause


Copyright © 2014 Terracotta, Inc.. All Rights Reserved.