Package com.db4o.internal.fieldindex
Class JoinedLeaf
- java.lang.Object
-
- com.db4o.internal.fieldindex.JoinedLeaf
-
- All Implemented Interfaces:
IntVisitable
,Iterable4
,IndexedNode
,IndexedNodeWithRange
- Direct Known Subclasses:
AndIndexedLeaf
,OrIndexedLeaf
public abstract class JoinedLeaf extends java.lang.Object implements IndexedNodeWithRange
-
-
Constructor Summary
Constructors Constructor Description JoinedLeaf(QCon constraint, IndexedNodeWithRange leaf1, BTreeRange range)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QCon
getConstraint()
BTree
getIndex()
BTreeRange
getRange()
boolean
isEmpty()
boolean
isResolved()
Iterator4
iterator()
void
markAsBestIndex(QCandidates candidates)
IndexedNode
resolve()
int
resultSize()
void
traverse(IntVisitor visitor)
-
-
-
Constructor Detail
-
JoinedLeaf
public JoinedLeaf(QCon constraint, IndexedNodeWithRange leaf1, BTreeRange range)
-
-
Method Detail
-
getConstraint
public QCon getConstraint()
-
getRange
public BTreeRange getRange()
- Specified by:
getRange
in interfaceIndexedNodeWithRange
-
getIndex
public BTree getIndex()
- Specified by:
getIndex
in interfaceIndexedNode
-
isResolved
public boolean isResolved()
- Specified by:
isResolved
in interfaceIndexedNode
-
resolve
public IndexedNode resolve()
- Specified by:
resolve
in interfaceIndexedNode
-
resultSize
public int resultSize()
- Specified by:
resultSize
in interfaceIndexedNode
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceIndexedNode
-
markAsBestIndex
public void markAsBestIndex(QCandidates candidates)
- Specified by:
markAsBestIndex
in interfaceIndexedNode
-
traverse
public void traverse(IntVisitor visitor)
- Specified by:
traverse
in interfaceIntVisitable
-
-