Expand description
Set algebra backing RowSelection::and_then, RowSelection::intersection
and RowSelection::union
Each operation has two implementations, picked by the backing of its
operands: a merge of the RowSelector runs, and a bitwise variant over
[BooleanBuffer] masks.
FunctionsΒ§
- and_
then_ πiter - and_
then_ πmask - Applies
otherto the selected rows ofmask, preserving the original row domain. - and_
then_ πmask_ from_ selectors - and_
then_ πmasks - and_
then_ πrow_ selections - Applies
secondto the rows selected byfirst, both selector-backed. - and_
then_ πselectors_ with_ mask - Applies the mask
secondto the rows selected by the selector-backedfirst. - intersect_
masks π - Bitwise AND of two mask-backed selections. Longer sideβs tail passes through.
- intersect_
row_ πselections - Combine two lists of
RowSelectionreturn the intersection of them For example: self: NNYYYYNNYYNYN other: NYNNNNNNY - union_
masks π - Bitwise OR of two mask-backed selections. Longer sideβs tail passes through.
- union_
row_ πselections - Combine two lists of
RowSelectorreturn the union of them For example: self: NNYYYYNNYYNYN other: NYNNNNNNY