org.terracotta.toolkit.search.expression
Class BaseClause

java.lang.Object
  extended by org.terracotta.toolkit.search.expression.BaseClause
All Implemented Interfaces:
Clause
Direct Known Subclasses:
Always, BooleanClause, Equals, Exists, Matches, OneOf, Range, RelationalClause

public abstract class BaseClause
extends Object
implements Clause

Base class for all search clauses


Field Summary
protected static String SEP
          Output separator
 
Constructor Summary
BaseClause()
           
 
Method Summary
 BooleanClause and(Clause other)
          Produce a clause that is the boolean "and" of this and the other given clause
 BooleanClause not()
          Produce a clause that is the boolean "not" of this
 BooleanClause or(Clause other)
          Produce a clause that is the boolean "or" of this and the other given clause
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEP

protected static final String SEP
Output separator

See Also:
Constant Field Values
Constructor Detail

BaseClause

public BaseClause()
Method Detail

and

public BooleanClause and(Clause other)
Description copied from interface: Clause
Produce a clause that is the boolean "and" of this and the other given clause

Specified by:
and in interface Clause
Returns:
and clause

or

public BooleanClause or(Clause other)
Description copied from interface: Clause
Produce a clause that is the boolean "or" of this and the other given clause

Specified by:
or in interface Clause
Returns:
or clause

not

public BooleanClause not()
Description copied from interface: Clause
Produce a clause that is the boolean "not" of this

Specified by:
not in interface Clause
Returns:
not clause


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