Class SingleColumnValueExcludeFilter


A Filter that checks a single column value, but does not emit the tested column. This will enable a performance boost over SingleColumnValueFilter, if the tested column value is not actually needed as input (besides for the filtering itself).
  • Constructor Details

    • SingleColumnValueExcludeFilter

      public SingleColumnValueExcludeFilter(byte[] family, byte[] qualifier, CompareOperator op, byte[] value)
      Constructor for binary compare of the value of a single column. If the column is found and the condition passes, all columns of the row will be emitted; except for the tested column value. If the column is not found or the condition fails, the row will not be emitted.
      Parameters:
      family - name of column family
      qualifier - name of column qualifier
      op - operator
      value - value to compare column values against
    • SingleColumnValueExcludeFilter

      public SingleColumnValueExcludeFilter(byte[] family, byte[] qualifier, CompareOperator op, ByteArrayComparable comparator)
      Constructor for binary compare of the value of a single column. If the column is found and the condition passes, all columns of the row will be emitted; except for the tested column value. If the condition fails, the row will not be emitted.

      Use the filterIfColumnMissing flag to set whether the rest of the columns in a row will be emitted if the specified column to check is not found in the row.

      Parameters:
      family - name of column family
      qualifier - name of column qualifier
      op - operator
      comparator - Comparator to use.
    • SingleColumnValueExcludeFilter

      protected SingleColumnValueExcludeFilter(byte[] family, byte[] qualifier, CompareOperator op, ByteArrayComparable comparator, boolean filterIfMissing, boolean latestVersionOnly)
      Constructor for protobuf deserialization only.
  • Method Details