Package org.teiid.query.sql.lang
Class AtomicCriteria
- java.lang.Object
-
- org.teiid.query.sql.lang.Criteria
-
- org.teiid.query.sql.lang.LogicalCriteria
-
- org.teiid.query.sql.lang.AtomicCriteria
-
- All Implemented Interfaces:
Cloneable
,LanguageObject
,Expression
- Direct Known Subclasses:
NotCriteria
public abstract class AtomicCriteria extends LogicalCriteria
This abstract class represents an atomic logical criteria. An atomic criteria operates on a single other criteria and evaluates to true or false during processing.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject
LanguageObject.Util
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AtomicCriteria()
Constructs a default instance of this class.protected
AtomicCriteria(Criteria crit)
Constructs an instance of this class with a single sub-criteria.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Object
clone()
Deep copy of objectCriteria
getCriteria()
Get sub criteriavoid
setCriteria(Criteria criteria)
Set sub criteria-
Methods inherited from class org.teiid.query.sql.lang.Criteria
applyDemorgan, combineCriteria, combineCriteria, combineCriteria, getType, separateCriteriaByAnd, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.teiid.query.sql.LanguageObject
acceptVisitor
-
-
-
-
Constructor Detail
-
AtomicCriteria
protected AtomicCriteria()
Constructs a default instance of this class.
-
AtomicCriteria
protected AtomicCriteria(Criteria crit)
Constructs an instance of this class with a single sub-criteria.
-
-
Method Detail
-
getCriteria
public Criteria getCriteria()
Get sub criteria- Returns:
- Sub criteria
-
setCriteria
public void setCriteria(Criteria criteria)
Set sub criteria- Parameters:
criteria
- Sub criteria
-
clone
public abstract Object clone()
Deep copy of object- Specified by:
clone
in interfaceLanguageObject
- Specified by:
clone
in classCriteria
- Returns:
- Deep copy of object
-
-