Package org.apache.lucene.search.join
Class BlockJoinSelector
- java.lang.Object
-
- org.apache.lucene.search.join.BlockJoinSelector
-
public class BlockJoinSelector extends Object
Select a value from a block of documents.- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBlockJoinSelector.TypeType of selection to perform.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected static BitSetIteratortoIter(BitSet children)creates an iterator for the given bitsetstatic NumericDocValueswrap(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)Wraps the providedNumericDocValues, iterating over only child documents, in order to only select one value per parent among itschildrenusing the configuredselectiontype.static NumericDocValueswrap(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents, BitSet children)Deprecated.static SortedDocValueswrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)Wraps the providedSortedDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype.static SortedDocValueswrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, BitSet children)Deprecated.static NumericDocValueswrap(SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)Wraps the providedSortedNumericDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype.static NumericDocValueswrap(SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, BitSet parents, BitSet children)Deprecated.static SortedDocValueswrap(SortedSetDocValues sortedSet, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)Wraps the providedSortedSetDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype.static Bitswrap(Bits docsWithValue, BitSet parents, BitSet children)Return aBitsinstance that returns true if, and only if, any of the children of the given parent document has a value.
-
-
-
Method Detail
-
wrap
public static Bits wrap(Bits docsWithValue, BitSet parents, BitSet children)
Return aBitsinstance that returns true if, and only if, any of the children of the given parent document has a value.
-
wrap
public static SortedDocValues wrap(SortedSetDocValues sortedSet, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)
Wraps the providedSortedSetDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype.
-
wrap
@Deprecated public static SortedDocValues wrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, BitSet children)
Deprecated.Wraps the providedSortedDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype.
-
wrap
public static SortedDocValues wrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)
Wraps the providedSortedDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype.
-
wrap
@Deprecated public static NumericDocValues wrap(SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, BitSet parents, BitSet children)
Deprecated.Wraps the providedSortedNumericDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype.
-
toIter
protected static BitSetIterator toIter(BitSet children)
creates an iterator for the given bitset
-
wrap
public static NumericDocValues wrap(SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)
Wraps the providedSortedNumericDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype.
-
wrap
@Deprecated public static NumericDocValues wrap(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents, BitSet children)
Deprecated.Wraps the providedNumericDocValues, iterating over only child documents, in order to only select one value per parent among itschildrenusing the configuredselectiontype.
-
wrap
public static NumericDocValues wrap(NumericDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children)
Wraps the providedNumericDocValues, iterating over only child documents, in order to only select one value per parent among itschildrenusing the configuredselectiontype.
-
-