FilterSupportStatus (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.hbase.adapters.filters

Class FilterSupportStatus

  • java.lang.Object
    • com.google.cloud.bigtable.hbase.adapters.filters.FilterSupportStatus


  • public class FilterSupportStatus
    extends Object
    FilterSupportStatus is a result type indicating whether a filter has a supported adaptation to bigtable reader expressions.

    The isSupported method indicates whether the Filter is supported and if isSupport() is false a reason may be provided by the adapter.

    Version:
    $Id: $Id
    Author:
    sduskis
    • Field Detail

      • SUPPORTED

        public static final FilterSupportStatus SUPPORTED
        A static instance for all supported Filter adaptations.
      • NOT_SUPPORTED_WRONG_TYPE

        public static final FilterSupportStatus NOT_SUPPORTED_WRONG_TYPE
        Used to indicate an internal error where an adapter for a single Filter type is passed an instance of an incompatible Filter type.
    • Method Detail

      • newUnknownFilterType

        public static FilterSupportStatus newUnknownFilterType(Filter unknownFilterType)
        Static helper to construct not support adaptations due to no adapter being available for the given Filter type.
        Parameters:
        unknownFilterType - The unknown filter instance.
        Returns:
        A new FilterSupportStatus.
      • isSupported

        public boolean isSupported()
        True if the adaptation is supported, false otherwise.
        Returns:
        a boolean.