org.neodatis.odb.core.query.criteria
Class ComposedExpression
java.lang.Object
org.neodatis.odb.core.query.criteria.AbstractExpression
org.neodatis.odb.core.query.criteria.ComposedExpression
- All Implemented Interfaces:
- java.io.Serializable, ICriterion, IExpression
- Direct Known Subclasses:
- And, Or
public abstract class ComposedExpression
- extends AbstractExpression
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.neodatis.odb.core.query.criteria.ICriterion |
match |
criteria
protected IOdbList<ICriterion> criteria
ComposedExpression
public ComposedExpression()
add
public ComposedExpression add(ICriterion criterion)
getAllInvolvedFields
public IOdbList<java.lang.String> getAllInvolvedFields()
- Description copied from interface:
ICriterion
- to be able to optimize query execution. Get only the field involved in the query instead of getting all the object
- Returns:
- All involved fields in criteria, List of String
isEmpty
public boolean isEmpty()
getValues
public AttributeValuesMap getValues()
getNbCriteria
public int getNbCriteria()
getCriterion
public ICriterion getCriterion(int index)
ready
public void ready()
- Description copied from interface:
ICriterion
- a method to explicitly indicate that the criteria is ready.
setQuery
public void setQuery(IQuery query)
- Specified by:
setQuery
in interface ICriterion
- Overrides:
setQuery
in class AbstractExpression