Class FloatRangeFilter

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

public class FloatRangeFilter extends AbstractRangeFilter
See Also:
  • Constructor Details

    • FloatRangeFilter

      public FloatRangeFilter(String columnName, float val1, float val2)
    • FloatRangeFilter

      public FloatRangeFilter(String columnName, float val1, float val2, boolean lowerInclusive, boolean upperInclusive)
  • Method Details

    • lt

      public static FloatRangeFilter lt(String columnName, float x)
    • leq

      public static FloatRangeFilter leq(String columnName, float x)
    • gt

      public static FloatRangeFilter gt(String columnName, float x)
    • geq

      public static FloatRangeFilter geq(String columnName, float x)
    • makeRange

      public static WhereFilter makeRange(String columnName, String val)
    • 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 FloatRangeFilter 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