Package org.apache.lucene.search.join
Class BlockJoinSelector
java.lang.Object
org.apache.lucene.search.join.BlockJoinSelector
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 ClassesModifier and TypeClassDescriptionstatic enumType of selection to perform. -
Method Summary
Modifier and TypeMethodDescriptionprotected static org.apache.lucene.util.BitSetIteratortoIter(org.apache.lucene.util.BitSet children) creates an iterator for the given bitsetstatic org.apache.lucene.index.NumericDocValueswrap(org.apache.lucene.index.NumericDocValues values, BlockJoinSelector.Type selection, org.apache.lucene.util.BitSet parents, org.apache.lucene.search.DocIdSetIterator children) Wraps the providedNumericDocValues, iterating over only child documents, in order to only select one value per parent among itschildrenusing the configuredselectiontype.static org.apache.lucene.index.NumericDocValueswrap(org.apache.lucene.index.NumericDocValues values, BlockJoinSelector.Type selection, org.apache.lucene.util.BitSet parents, org.apache.lucene.util.BitSet children) Deprecated.static org.apache.lucene.index.SortedDocValueswrap(org.apache.lucene.index.SortedDocValues values, BlockJoinSelector.Type selection, org.apache.lucene.util.BitSet parents, org.apache.lucene.search.DocIdSetIterator children) Wraps the providedSortedDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype.static org.apache.lucene.index.SortedDocValueswrap(org.apache.lucene.index.SortedDocValues values, BlockJoinSelector.Type selection, org.apache.lucene.util.BitSet parents, org.apache.lucene.util.BitSet children) Deprecated.static org.apache.lucene.index.NumericDocValueswrap(org.apache.lucene.index.SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, org.apache.lucene.util.BitSet parents, org.apache.lucene.search.DocIdSetIterator children) Wraps the providedSortedNumericDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype.static org.apache.lucene.index.NumericDocValueswrap(org.apache.lucene.index.SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, org.apache.lucene.util.BitSet parents, org.apache.lucene.util.BitSet children) Deprecated.static org.apache.lucene.index.SortedDocValueswrap(org.apache.lucene.index.SortedSetDocValues sortedSet, BlockJoinSelector.Type selection, org.apache.lucene.util.BitSet parents, org.apache.lucene.search.DocIdSetIterator children) Wraps the providedSortedSetDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype.static org.apache.lucene.util.Bitswrap(org.apache.lucene.util.Bits docsWithValue, org.apache.lucene.util.BitSet parents, org.apache.lucene.util.BitSet children) Return aBitsinstance that returns true if, and only if, any of the children of the given parent document has a value.
-
Method Details
-
wrap
public static org.apache.lucene.util.Bits wrap(org.apache.lucene.util.Bits docsWithValue, org.apache.lucene.util.BitSet parents, org.apache.lucene.util.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 org.apache.lucene.index.SortedDocValues wrap(org.apache.lucene.index.SortedSetDocValues sortedSet, BlockJoinSelector.Type selection, org.apache.lucene.util.BitSet parents, org.apache.lucene.search.DocIdSetIterator children) Wraps the providedSortedSetDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype. -
wrap
@Deprecated public static org.apache.lucene.index.SortedDocValues wrap(org.apache.lucene.index.SortedDocValues values, BlockJoinSelector.Type selection, org.apache.lucene.util.BitSet parents, org.apache.lucene.util.BitSet children) Deprecated.Wraps the providedSortedDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype. -
wrap
public static org.apache.lucene.index.SortedDocValues wrap(org.apache.lucene.index.SortedDocValues values, BlockJoinSelector.Type selection, org.apache.lucene.util.BitSet parents, org.apache.lucene.search.DocIdSetIterator children) Wraps the providedSortedDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype. -
wrap
@Deprecated public static org.apache.lucene.index.NumericDocValues wrap(org.apache.lucene.index.SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, org.apache.lucene.util.BitSet parents, org.apache.lucene.util.BitSet children) Deprecated.Wraps the providedSortedNumericDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype. -
toIter
protected static org.apache.lucene.util.BitSetIterator toIter(org.apache.lucene.util.BitSet children) creates an iterator for the given bitset -
wrap
public static org.apache.lucene.index.NumericDocValues wrap(org.apache.lucene.index.SortedNumericDocValues sortedNumerics, BlockJoinSelector.Type selection, org.apache.lucene.util.BitSet parents, org.apache.lucene.search.DocIdSetIterator children) Wraps the providedSortedNumericDocValuesin order to only select one value per parent among itschildrenusing the configuredselectiontype. -
wrap
@Deprecated public static org.apache.lucene.index.NumericDocValues wrap(org.apache.lucene.index.NumericDocValues values, BlockJoinSelector.Type selection, org.apache.lucene.util.BitSet parents, org.apache.lucene.util.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 org.apache.lucene.index.NumericDocValues wrap(org.apache.lucene.index.NumericDocValues values, BlockJoinSelector.Type selection, org.apache.lucene.util.BitSet parents, org.apache.lucene.search.DocIdSetIterator children) Wraps the providedNumericDocValues, iterating over only child documents, in order to only select one value per parent among itschildrenusing the configuredselectiontype.
-