java.lang.Object
org.apache.lucene.search.join.BlockJoinSelector
Select a value from a block of documents.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Type of selection to perform. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static BitSetIterator
creates an iterator for the given bitsetstatic 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 itschildren
using the configuredselection
type.static SortedDocValues
wrap
(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children) Wraps the providedSortedDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type.static NumericDocValues
wrap
(SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children) Wraps the providedSortedNumericDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type.static SortedDocValues
wrap
(SortedSetDocValues sortedSet, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children) Wraps the providedSortedSetDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type.static Bits
Return aBits
instance that returns true if, and only if, any of the children of the given parent document has a value.
-
Constructor Details
-
BlockJoinSelector
private BlockJoinSelector()
-
-
Method Details
-
wrap
Return aBits
instance 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 providedSortedSetDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type. -
wrap
public static SortedDocValues wrap(SortedDocValues values, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children) Wraps the providedSortedDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type. -
toIter
creates an iterator for the given bitset -
wrap
public static NumericDocValues wrap(SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, BitSet parents, DocIdSetIterator children) Wraps the providedSortedNumericDocValues
in order to only select one value per parent among itschildren
using the configuredselection
type. -
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 itschildren
using the configuredselection
type.
-