Class QConClass
- java.lang.Object
-
- com.db4o.internal.query.processor.QCon
-
- com.db4o.internal.query.processor.QConObject
-
- com.db4o.internal.query.processor.QConClass
-
- All Implemented Interfaces:
Visitor4,FieldFilterable,Constraint,Unversioned
- Direct Known Subclasses:
QConPath
public class QConClass extends QConObject
Class constraint on queries
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.query.processor.QCon
_children, i_evaluator, i_parent
-
-
Constructor Summary
Constructors Constructor Description QConClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanBeIndexLeaf()protected booleancanResolveByFieldIndex()Constraintequal()Used in conjunction withConstraint.smaller()orConstraint.greater()to create constraints like "smaller or equal", "greater or equal".java.lang.StringgetClassName()voidsetProcessedByIndex(QCandidates candidates)java.lang.StringtoString()-
Methods inherited from class com.db4o.internal.query.processor.QConObject
byExample, canLoadByIndex, contains, endsWith, filter, getField, getObject, greater, hasObjectInParentPath, identity, identityID, internalSetProcessedByIndex, like, onSameFieldAs, smaller, startsWith, visit
-
Methods inherited from class com.db4o.internal.query.processor.QCon
and, childrenCount, container, evaluator, hasChildren, hasJoins, hasParent, id, iterateChildren, iterateJoins, not, or, parent, processedByIndex, setCandidates, streamLock, transaction
-
-
-
-
Method Detail
-
getClassName
public java.lang.String getClassName()
-
canBeIndexLeaf
public boolean canBeIndexLeaf()
- Overrides:
canBeIndexLeafin classQConObject
-
canResolveByFieldIndex
protected boolean canResolveByFieldIndex()
- Overrides:
canResolveByFieldIndexin classQConObject
-
equal
public Constraint equal()
Description copied from interface:ConstraintUsed in conjunction withConstraint.smaller()orConstraint.greater()to create constraints like "smaller or equal", "greater or equal". For example:
query.constrain(Pilot.class); query.descend("points").constrain(101).smaller().equal();
will return all pilots with points <= 101.- Specified by:
equalin interfaceConstraint- Overrides:
equalin classQConObject- Returns:
- this
Constraintto allow the chaining of method calls.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classQConObject
-
setProcessedByIndex
public void setProcessedByIndex(QCandidates candidates)
- Overrides:
setProcessedByIndexin classQCon
-
-