Class IntRangeFilter

All Implemented Interfaces:
Expression, Filter, ExposesChunkFilter, WhereFilter, Serializable

public class IntRangeFilter extends AbstractRangeFilter
See Also:
  • Constructor Details

    • IntRangeFilter

      public IntRangeFilter(String columnName, int val1, int val2, boolean lowerInclusive, boolean upperInclusive)
  • Method Details

    • lt

      public static IntRangeFilter lt(String columnName, int x)
    • leq

      public static IntRangeFilter leq(String columnName, int x)
    • gt

      public static IntRangeFilter gt(String columnName, int x)
    • geq

      public static IntRangeFilter geq(String columnName, int x)
    • init

      public void init(@NotNull @NotNull TableDefinition tableDefinition)
      Description copied from interface: WhereFilter
      Initialize this filter given the table definition. If this filter has already been initialized, this should be a no-op, or optionally validate that the table definition is compatible with previous initialization.
      Parameters:
      tableDefinition - the definition of the table that will be filtered
    • copy

      public IntRangeFilter copy()
      Description copied from interface: WhereFilter
      Create a copy of this WhereFilter.
      Returns:
      an independent copy of this WhereFilter.
    • toString

      public String toString()
      Overrides:
      toString in class Object