Class ColumnRestriction

java.lang.Object
com.influxdb.query.dsl.functions.restriction.ColumnRestriction

public final class ColumnRestriction extends Object
The column restrictions.
Author:
Jakub Bednar (bednar@github) (28/06/2018 13:04)
  • Method Details

    • equal

      @Nonnull public Restrictions equal(@Nonnull Object value)
      Is column of record "equal" than value?
      Parameters:
      value - the value to compare
      Returns:
      restriction
    • notEqual

      @Nonnull public Restrictions notEqual(@Nonnull Object value)
      Is column of record "not equal" than value?
      Parameters:
      value - the value to compare
      Returns:
      restriction
    • less

      @Nonnull public Restrictions less(@Nonnull Object value)
      Is column of record "less" than value?
      Parameters:
      value - the value to compare
      Returns:
      restriction
    • greater

      @Nonnull public Restrictions greater(@Nonnull Object value)
      Is column of record "greater" than value?
      Parameters:
      value - the value to compare
      Returns:
      restriction
    • lessOrEqual

      @Nonnull public Restrictions lessOrEqual(@Nonnull Object value)
      Is column of record "less or equal" than value?
      Parameters:
      value - the value to compare
      Returns:
      restriction
    • greaterOrEqual

      @Nonnull public Restrictions greaterOrEqual(@Nonnull Object value)
      Is column of record "greater or equal" than value?
      Parameters:
      value - the value to compare
      Returns:
      restriction
    • custom

      @Nonnull public Restrictions custom(@Nonnull Object value, @Nonnull String operator)
      Is column of record "operator" than value?
      Parameters:
      value - the value to compare
      operator - the restriction operator
      Returns:
      restriction
    • exists

      @Nonnull public Restrictions exists()
      Check if an record contains a key or if that key’s value is null.
      Returns:
      restriction
    • contains

      @Nonnull public Restrictions contains(@Nonnull String[] set)
      Check if an record contains a key or if that key’s value is null.
      Returns:
      restriction