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
public abstract class ComposedExpression extends AbstractExpression
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description ComposedExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ComposedExpressionadd(ICriterion criterion)IOdbList<java.lang.String>getAllInvolvedFields()to be able to optimize query execution.ICriteriongetCriterion(int index)intgetNbCriteria()AttributeValuesMapgetValues()booleanisEmpty()voidready()a method to explicitly indicate that the criteria is ready.voidsetQuery(IQuery query)-
Methods inherited from class org.neodatis.odb.core.query.criteria.AbstractExpression
canUseIndex, getQuery
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.neodatis.odb.core.query.criteria.ICriterion
match
-
-
-
-
Method Detail
-
add
public ComposedExpression add(ICriterion criterion)
-
getAllInvolvedFields
public IOdbList<java.lang.String> getAllInvolvedFields()
Description copied from interface:ICriterionto 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:ICriteriona method to explicitly indicate that the criteria is ready.
-
setQuery
public void setQuery(IQuery query)
- Specified by:
setQueryin interfaceICriterion- Overrides:
setQueryin classAbstractExpression
-
-
DataMelt 3.0 © DataMelt by jWork.ORG