Class SingleValuePushdownHelper
java.lang.Object
io.deephaven.engine.table.impl.sources.SingleValuePushdownHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanchunkFilter(BasePushdownFilterContext context, Supplier<Chunk<Values>> valueChunkSupplier) Execute the chunk filter from the context and returntrueif the filter matches any rows.static booleanfilter(RowSet selection, boolean usePrev, BasePushdownFilterContext context, Supplier<Chunk<Values>> valueChunkSupplier, ColumnSource<?> columnSource) Execute thechunkFilter(BasePushdownFilterContext, Supplier)ortableFilter(WhereFilter, RowSet, boolean, ColumnSource)to test whether the single value matches the supplied filter.makeChunk(boolean value) Returns a new chunk containing the single boolean value.makeChunk(byte value) Returns a new chunk containing the single byte value.makeChunk(char value) Returns a new chunk containing the single char value.makeChunk(double value) Returns a new chunk containing the single double value.makeChunk(float value) Returns a new chunk containing the single float value.makeChunk(int value) Returns a new chunk containing the single int value.makeChunk(long value) Returns a new chunk containing the single long value.makeChunk(short value) Returns a new chunk containing the single short value.Returns a new chunk containing the single object value.static booleantableFilter(WhereFilter filter, RowSet selection, boolean usePrev, ColumnSource<?> columnSource) Execute the filter against a dummy table and returntrueif the filter matches any rows.
-
Constructor Details
-
SingleValuePushdownHelper
public SingleValuePushdownHelper()
-
-
Method Details
-
makeChunk
Returns a new chunk containing the single byte value. -
makeChunk
Returns a new chunk containing the single char value. -
makeChunk
Returns a new chunk containing the single short value. -
makeChunk
Returns a new chunk containing the single int value. -
makeChunk
Returns a new chunk containing the single long value. -
makeChunk
Returns a new chunk containing the single float value. -
makeChunk
Returns a new chunk containing the single double value. -
makeChunk
Returns a new chunk containing the single boolean value. -
makeChunk
Returns a new chunk containing the single object value. -
filter
public static boolean filter(RowSet selection, boolean usePrev, BasePushdownFilterContext context, Supplier<Chunk<Values>> valueChunkSupplier, ColumnSource<?> columnSource) Execute thechunkFilter(BasePushdownFilterContext, Supplier)ortableFilter(WhereFilter, RowSet, boolean, ColumnSource)to test whether the single value matches the supplied filter. -
chunkFilter
public static boolean chunkFilter(BasePushdownFilterContext context, Supplier<Chunk<Values>> valueChunkSupplier) Execute the chunk filter from the context and returntrueif the filter matches any rows. -
tableFilter
public static boolean tableFilter(WhereFilter filter, RowSet selection, boolean usePrev, ColumnSource<?> columnSource) Execute the filter against a dummy table and returntrueif the filter matches any rows.
-