FilterAdapterHelper (Cloud Bigtable HBase Client for Java 1.12.0 API)

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

Class FilterAdapterHelper

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


  • public class FilterAdapterHelper
    extends Object
    Helpers for filter adapters.
    Version:
    $Id: $Id
    Author:
    sduskis
    • Field Detail

      • ACCEPT_ALL_FILTER

        public static final com.google.bigtable.v2.RowFilter ACCEPT_ALL_FILTER
        A RowFilter that will match all cells.
    • Constructor Detail

      • FilterAdapterHelper

        public FilterAdapterHelper()
    • Method Detail

      • getSingleFamilyName

        public static String getSingleFamilyName(FilterAdapterContext context)
        Extract a single family name from a FilterAdapterContext. Throws if there is not exactly 1 family present in the scan.
        Parameters:
        context - a FilterAdapterContext object.
        Returns:
        a String object.