Class TupleSetKernelFloatDouble
java.lang.Object
io.deephaven.engine.table.impl.select.TupleMapSetKernel
io.deephaven.engine.table.impl.select.tuplemap.gen.TupleSetKernelFloatDouble
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanexportTuples(@NotNull it.unimi.dsi.fastutil.objects.ObjectIterator<Object> tuples, int @NotNull [] columns, @NotNull WritableChunk<Values>[] keyChunks) Copy the columnscolumnsof the next tuples oftuples, keys in the set, intokeyChunks, as many as fit: columncolumns[ii]into chunkii.protected voidmatchValues(@NotNull Chunk<Values>[] keyChunks, @NotNull LongChunk<OrderedRowKeys> rowKeys, @NotNull WritableLongChunk<OrderedRowKeys> results, boolean inclusion) Select the row keys whose key is in the set, or, ifinclusionis false, not in the set.Methods inherited from class io.deephaven.engine.table.impl.select.TupleMapSetKernel
contains
-
Constructor Details
-
TupleSetKernelFloatDouble
-
-
Method Details
-
exportTuples
protected boolean exportTuples(@NotNull @NotNull it.unimi.dsi.fastutil.objects.ObjectIterator<Object> tuples, int @NotNull [] columns, @NotNull @NotNull WritableChunk<Values>[] keyChunks) Description copied from class:TupleMapSetKernelCopy the columnscolumnsof the next tuples oftuples, keys in the set, intokeyChunks, as many as fit: columncolumns[ii]into chunkii. Sets every chunk's size to the number copied.- Specified by:
exportTuplesin classTupleMapSetKernel- Returns:
- Whether any tuple was copied
-
matchValues
protected void matchValues(@NotNull @NotNull Chunk<Values>[] keyChunks, @NotNull @NotNull LongChunk<OrderedRowKeys> rowKeys, @NotNull @NotNull WritableLongChunk<OrderedRowKeys> results, boolean inclusion) Select the row keys whose key is in the set, or, ifinclusionis false, not in the set. The kernel keeps no state between calls, so that any number of readers may match at once.- Parameters:
keyChunks- The key of each row, one chunk per key column, reinterpreted as the set's keys arerowKeys- The row key of each rowresults- Receives the selected row keysinclusion- Whether to select the rows whose key is in the set rather than those whose key is not
-