org.neodatis.odb.core.query.criteria
Interface ICriterion
-
- All Superinterfaces:
- java.io.Serializable
- All Known Subinterfaces:
- IExpression, ISingleCriterion
- All Known Implementing Classes:
- AbstractCriterion, AbstractExpression, And, CollectionSizeCriterion, ComparisonCriterion, ComposedExpression, ContainsCriterion, EqualCriterion, IsNotNullCriterion, IsNullCriterion, LikeCriterion, Not, Or
public interface ICriterion extends java.io.Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description booleancanUseIndex()IOdbList<java.lang.String>getAllInvolvedFields()to be able to optimize query execution.IQuerygetQuery()Gets thes whole queryAttributeValuesMapgetValues()booleanmatch(java.lang.Object object)To check if an object matches this criterionvoidready()a method to explicitly indicate that the criteria is ready.voidsetQuery(IQuery query)
-
-
-
Method Detail
-
match
boolean match(java.lang.Object object)
To check if an object matches this criterion- Parameters:
object-- Returns:
- true if object matches the criteria TODO create a math(AttributeValuesMap)
-
getAllInvolvedFields
IOdbList<java.lang.String> getAllInvolvedFields()
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
-
getValues
AttributeValuesMap getValues()
-
getQuery
IQuery getQuery()
Gets thes whole query- Returns:
- The owner query
-
setQuery
void setQuery(IQuery query)
-
canUseIndex
boolean canUseIndex()
-
ready
void ready()
a method to explicitly indicate that the criteria is ready.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG