Class SingleValuePushdownHelper

java.lang.Object
io.deephaven.engine.table.impl.sources.SingleValuePushdownHelper

public class SingleValuePushdownHelper extends Object
  • Constructor Details

    • SingleValuePushdownHelper

      public SingleValuePushdownHelper()
  • Method Details

    • makeChunk

      public static Chunk<Values> makeChunk(byte value)
      Returns a new chunk containing the single byte value.
    • makeChunk

      public static Chunk<Values> makeChunk(char value)
      Returns a new chunk containing the single char value.
    • makeChunk

      public static Chunk<Values> makeChunk(short value)
      Returns a new chunk containing the single short value.
    • makeChunk

      public static Chunk<Values> makeChunk(int value)
      Returns a new chunk containing the single int value.
    • makeChunk

      public static Chunk<Values> makeChunk(long value)
      Returns a new chunk containing the single long value.
    • makeChunk

      public static Chunk<Values> makeChunk(float value)
      Returns a new chunk containing the single float value.
    • makeChunk

      public static Chunk<Values> makeChunk(double value)
      Returns a new chunk containing the single double value.
    • makeChunk

      public static Chunk<Values> makeChunk(boolean value)
      Returns a new chunk containing the single boolean value.
    • makeChunk

      public static Chunk<Values> makeChunk(Object value)
      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 the chunkFilter(BasePushdownFilterContext, Supplier) or tableFilter(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 return true if 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 return true if the filter matches any rows.