Class QCandidate
- java.lang.Object
- 
- com.db4o.foundation.Tree<java.lang.Integer>
- 
- com.db4o.internal.TreeInt
- 
- com.db4o.internal.query.processor.QCandidateBase
- 
- com.db4o.internal.query.processor.QCandidate
 
 
 
 
- 
- All Implemented Interfaces:
- DeepClone,- ShallowClone,- Visitable<java.lang.Integer>,- InternalCandidate,- ParentCandidate,- Readable,- ReadWriteable,- Candidate
 
 public class QCandidate extends QCandidateBase implements ParentCandidate Represents an actual object in the database. Forms a tree structure, indexed by id. Can have dependents that are doNotInclude'd in the query result when this is doNotInclude'd.
- 
- 
Field Summary- 
Fields inherited from class com.db4o.internal.query.processor.QCandidateBase_candidates, _dependants
 - 
Fields inherited from class com.db4o.foundation.Tree_preceding, _size, _subsequent
 
- 
 - 
Constructor SummaryConstructors Constructor Description QCandidate(QCandidates candidates, java.lang.Object member, int id)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassMetadataclassMetadata()voidclassMetadata(ClassMetadata classMetadata)booleancreateChild(QField field, QCandidates candidates)booleanevaluate(QConObject a_constraint, QE a_evaluator)booleanfieldIsAvailable()java.lang.ObjectgetObject()Returns the persistent object that is represented by this queryCandidate.PreparedComparisonprepareComparison(ObjectContainerBase container, java.lang.Object constraint)java.lang.ObjectshallowClone()java.lang.StringtoString()voiduseField(QField a_field)- 
Methods inherited from class com.db4o.internal.query.processor.QCandidateBaseaddDependant, candidates, doNotInclude, duplicates, evaluate, getRoot, id, include, include, objectContainer, onAttemptToAddDuplicate, pendingJoins, root, transaction
 - 
Methods inherited from class com.db4o.internal.TreeIntadd, addAll, compare, equals, find, find, key, marshalledLength, marshalledLength, marshalledLength, ownLength, read, removeLike, shallowCloneInternal, write, write, write
 - 
Methods inherited from class com.db4o.foundation.Treeaccept, add, add, add, addedOrExisting, balance, balanceCheckNulls, calculateSize, deepClone, deepClone, depth, filter, find, find, findGreaterOrEqual, findSmaller, first, last, last, nodes, ownSize, remove, removeChildren, removeFirst, removeLike, removeLike, removeNode, root, rotateLeft, rotateRight, setSizeOwn, setSizeOwnPlus, setSizeOwnPlus, setSizeOwnPreceding, setSizeOwnPrecedingSubsequent, setSizeOwnSubsequent, size, size, traverse, traverse, traverse, traverseFromLeaves, wasAddedToTree
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.db4o.query.Candidateinclude, objectContainer
 - 
Methods inherited from interface com.db4o.internal.query.processor.InternalCandidatecandidates, doNotInclude, evaluate, getRoot, id, include, pendingJoins, root, transaction
 
- 
 
- 
- 
- 
Constructor Detail- 
QCandidatepublic QCandidate(QCandidates candidates, java.lang.Object member, int id) 
 
- 
 - 
Method Detail- 
shallowClonepublic java.lang.Object shallowClone() - Specified by:
- shallowClonein interface- ShallowClone
- Overrides:
- shallowClonein class- TreeInt
 
 - 
createChildpublic boolean createChild(QField field, QCandidates candidates) - Specified by:
- createChildin interface- ParentCandidate
 
 - 
fieldIsAvailablepublic boolean fieldIsAvailable() - Specified by:
- fieldIsAvailablein interface- InternalCandidate
 
 - 
classMetadatapublic ClassMetadata classMetadata() - Specified by:
- classMetadatain interface- InternalCandidate
 
 - 
useFieldpublic void useField(QField a_field) - Specified by:
- useFieldin interface- ParentCandidate
 
 - 
classMetadatapublic void classMetadata(ClassMetadata classMetadata) 
 - 
evaluatepublic boolean evaluate(QConObject a_constraint, QE a_evaluator) - Specified by:
- evaluatein interface- InternalCandidate
 
 - 
getObjectpublic java.lang.Object getObject() Description copied from interface:CandidateReturns the persistent object that is represented by this queryCandidate.
 - 
prepareComparisonpublic PreparedComparison prepareComparison(ObjectContainerBase container, java.lang.Object constraint) - Specified by:
- prepareComparisonin interface- InternalCandidate
 
 
- 
 
-