Class Filter.Builder

  • Enclosing class:
    Filter

    public static class Filter.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • fieldName

        public Filter.Builder fieldName​(String fieldName)
        Field filter references when inserting filter into the query string.

        Field must be a valid logging analytics out-of-the-box field, virtual field calculated in the query or a user defined field.

        Parameters:
        fieldName - the value to set
        Returns:
        this builder
      • values

        public Filter.Builder values​(List<Object> values)
        Field values that will be inserted into the query string for the specified fieldName.

        Please note all values should reflect the fields data type otherwise the insert is subject to fail.

        Parameters:
        values - the value to set
        Returns:
        this builder
      • operator

        public Filter.Builder operator​(Filter.Operator operator)
        Operator to apply when editing the query string.
        Parameters:
        operator - the value to set
        Returns:
        this builder
      • build

        public Filter build()