extract a single family name from a filteradaptercontext . throws if there is not exactly 1 family present in the scan . concode_field_sep RowFilter ACCEPT_ALL_FILTER concode_field_sep String extractRegexPattern
String function ( FilterAdapterContext arg0 ) { Preconditions . checkState ( arg0 . getScan ( ) . numFamilies ( ) == 1 , "srini_string" ) ; return Bytes . toString ( arg0 . getScan ( ) . getFamilies ( ) [ 0 ] ) ; }