Class RowFilterExpression

    • Method Detail

      • equalTo

        public final EqualToExpression equalTo()

        The 'equal to' clause of the row filter expression.

        Returns:
        The 'equal to' clause of the row filter expression.
      • greaterThan

        public final GreaterThanExpression greaterThan()

        The 'greater than' clause of the row filter expression.

        Returns:
        The 'greater than' clause of the row filter expression.
      • greaterThanOrEqualTo

        public final GreaterThanOrEqualToExpression greaterThanOrEqualTo()

        The 'greater than or equal to' clause of the filter expression.

        Returns:
        The 'greater than or equal to' clause of the filter expression.
      • in

        public final InExpression in()

        The 'in' clause of the row filter expression.

        Returns:
        The 'in' clause of the row filter expression.
      • isNotNull

        public final IsNotNullExpression isNotNull()

        The 'is not null' clause of the row filter expression.

        Returns:
        The 'is not null' clause of the row filter expression.
      • isNull

        public final IsNullExpression isNull()

        The 'is null' clause of the row filter expression.

        Returns:
        The 'is null' clause of the row filter expression.
      • lessThan

        public final LessThanExpression lessThan()

        The 'less than' clause of the row filter expression.

        Returns:
        The 'less than' clause of the row filter expression.
      • lessThanOrEqualTo

        public final LessThanOrEqualToExpression lessThanOrEqualTo()

        The 'less than or equal to' clause of the row filter expression.

        Returns:
        The 'less than or equal to' clause of the row filter expression.
      • like

        public final LikeExpression like()

        The 'like' clause of the row filter expression.

        Returns:
        The 'like' clause of the row filter expression.
      • notEqualTo

        public final NotEqualToExpression notEqualTo()

        The 'no equal to' clause of the row filter expression.

        Returns:
        The 'no equal to' clause of the row filter expression.
      • notIn

        public final NotInExpression notIn()

        The 'not in' clause of the row filter expression.

        Returns:
        The 'not in' clause of the row filter expression.
      • notLike

        public final NotLikeExpression notLike()

        The 'not like' clause of the row filter expression.

        Returns:
        The 'not like' clause of the row filter expression.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromEqualTo

        public static RowFilterExpression fromEqualTo​(EqualToExpression equalTo)
        Create an instance of this class with equalTo() initialized to the given value.

        The 'equal to' clause of the row filter expression.

        Parameters:
        equalTo - The 'equal to' clause of the row filter expression.
      • fromEqualTo

        public static RowFilterExpression fromEqualTo​(Consumer<EqualToExpression.Builder> equalTo)
        Create an instance of this class with equalTo() initialized to the given value.

        The 'equal to' clause of the row filter expression.

        Parameters:
        equalTo - The 'equal to' clause of the row filter expression.
      • fromGreaterThan

        public static RowFilterExpression fromGreaterThan​(GreaterThanExpression greaterThan)
        Create an instance of this class with greaterThan() initialized to the given value.

        The 'greater than' clause of the row filter expression.

        Parameters:
        greaterThan - The 'greater than' clause of the row filter expression.
      • fromGreaterThan

        public static RowFilterExpression fromGreaterThan​(Consumer<GreaterThanExpression.Builder> greaterThan)
        Create an instance of this class with greaterThan() initialized to the given value.

        The 'greater than' clause of the row filter expression.

        Parameters:
        greaterThan - The 'greater than' clause of the row filter expression.
      • fromGreaterThanOrEqualTo

        public static RowFilterExpression fromGreaterThanOrEqualTo​(GreaterThanOrEqualToExpression greaterThanOrEqualTo)
        Create an instance of this class with greaterThanOrEqualTo() initialized to the given value.

        The 'greater than or equal to' clause of the filter expression.

        Parameters:
        greaterThanOrEqualTo - The 'greater than or equal to' clause of the filter expression.
      • fromIn

        public static RowFilterExpression fromIn​(InExpression in)
        Create an instance of this class with in() initialized to the given value.

        The 'in' clause of the row filter expression.

        Parameters:
        in - The 'in' clause of the row filter expression.
      • fromIn

        public static RowFilterExpression fromIn​(Consumer<InExpression.Builder> in)
        Create an instance of this class with in() initialized to the given value.

        The 'in' clause of the row filter expression.

        Parameters:
        in - The 'in' clause of the row filter expression.
      • fromIsNotNull

        public static RowFilterExpression fromIsNotNull​(IsNotNullExpression isNotNull)
        Create an instance of this class with isNotNull() initialized to the given value.

        The 'is not null' clause of the row filter expression.

        Parameters:
        isNotNull - The 'is not null' clause of the row filter expression.
      • fromIsNotNull

        public static RowFilterExpression fromIsNotNull​(Consumer<IsNotNullExpression.Builder> isNotNull)
        Create an instance of this class with isNotNull() initialized to the given value.

        The 'is not null' clause of the row filter expression.

        Parameters:
        isNotNull - The 'is not null' clause of the row filter expression.
      • fromIsNull

        public static RowFilterExpression fromIsNull​(IsNullExpression isNull)
        Create an instance of this class with isNull() initialized to the given value.

        The 'is null' clause of the row filter expression.

        Parameters:
        isNull - The 'is null' clause of the row filter expression.
      • fromIsNull

        public static RowFilterExpression fromIsNull​(Consumer<IsNullExpression.Builder> isNull)
        Create an instance of this class with isNull() initialized to the given value.

        The 'is null' clause of the row filter expression.

        Parameters:
        isNull - The 'is null' clause of the row filter expression.
      • fromLessThan

        public static RowFilterExpression fromLessThan​(LessThanExpression lessThan)
        Create an instance of this class with lessThan() initialized to the given value.

        The 'less than' clause of the row filter expression.

        Parameters:
        lessThan - The 'less than' clause of the row filter expression.
      • fromLessThan

        public static RowFilterExpression fromLessThan​(Consumer<LessThanExpression.Builder> lessThan)
        Create an instance of this class with lessThan() initialized to the given value.

        The 'less than' clause of the row filter expression.

        Parameters:
        lessThan - The 'less than' clause of the row filter expression.
      • fromLessThanOrEqualTo

        public static RowFilterExpression fromLessThanOrEqualTo​(LessThanOrEqualToExpression lessThanOrEqualTo)
        Create an instance of this class with lessThanOrEqualTo() initialized to the given value.

        The 'less than or equal to' clause of the row filter expression.

        Parameters:
        lessThanOrEqualTo - The 'less than or equal to' clause of the row filter expression.
      • fromLike

        public static RowFilterExpression fromLike​(LikeExpression like)
        Create an instance of this class with like() initialized to the given value.

        The 'like' clause of the row filter expression.

        Parameters:
        like - The 'like' clause of the row filter expression.
      • fromLike

        public static RowFilterExpression fromLike​(Consumer<LikeExpression.Builder> like)
        Create an instance of this class with like() initialized to the given value.

        The 'like' clause of the row filter expression.

        Parameters:
        like - The 'like' clause of the row filter expression.
      • fromNotEqualTo

        public static RowFilterExpression fromNotEqualTo​(NotEqualToExpression notEqualTo)
        Create an instance of this class with notEqualTo() initialized to the given value.

        The 'no equal to' clause of the row filter expression.

        Parameters:
        notEqualTo - The 'no equal to' clause of the row filter expression.
      • fromNotEqualTo

        public static RowFilterExpression fromNotEqualTo​(Consumer<NotEqualToExpression.Builder> notEqualTo)
        Create an instance of this class with notEqualTo() initialized to the given value.

        The 'no equal to' clause of the row filter expression.

        Parameters:
        notEqualTo - The 'no equal to' clause of the row filter expression.
      • fromNotIn

        public static RowFilterExpression fromNotIn​(NotInExpression notIn)
        Create an instance of this class with notIn() initialized to the given value.

        The 'not in' clause of the row filter expression.

        Parameters:
        notIn - The 'not in' clause of the row filter expression.
      • fromNotIn

        public static RowFilterExpression fromNotIn​(Consumer<NotInExpression.Builder> notIn)
        Create an instance of this class with notIn() initialized to the given value.

        The 'not in' clause of the row filter expression.

        Parameters:
        notIn - The 'not in' clause of the row filter expression.
      • fromNotLike

        public static RowFilterExpression fromNotLike​(NotLikeExpression notLike)
        Create an instance of this class with notLike() initialized to the given value.

        The 'not like' clause of the row filter expression.

        Parameters:
        notLike - The 'not like' clause of the row filter expression.
      • fromNotLike

        public static RowFilterExpression fromNotLike​(Consumer<NotLikeExpression.Builder> notLike)
        Create an instance of this class with notLike() initialized to the given value.

        The 'not like' clause of the row filter expression.

        Parameters:
        notLike - The 'not like' clause of the row filter expression.