Class TestTableScan.CustomFilter

java.lang.Object
org.apache.hadoop.hbase.filter.Filter
org.apache.hadoop.hbase.filter.FilterBase
org.apache.hadoop.hbase.filter.PrefixFilter
org.apache.hadoop.hbase.rest.TestTableScan.CustomFilter
All Implemented Interfaces:
org.apache.hadoop.hbase.filter.HintingFilter
Enclosing class:
TestTableScan

public static class TestTableScan.CustomFilter extends org.apache.hadoop.hbase.filter.PrefixFilter
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.hadoop.hbase.filter.Filter

    org.apache.hadoop.hbase.filter.Filter.ReturnCode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private byte[]
     

    Fields inherited from class org.apache.hadoop.hbase.filter.PrefixFilter

    filterRow, forwardNextCellHint, passedPrefix, prefix, provideHint, reversedNextCellHint

    Fields inherited from class org.apache.hadoop.hbase.filter.Filter

    reversed
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomFilter(byte[] key)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.hadoop.hbase.filter.Filter
    createFilterFromArguments(ArrayList<byte[]> filterArguments)
     
    boolean
    filterRowKey(org.apache.hadoop.hbase.Cell cell)
     

    Methods inherited from class org.apache.hadoop.hbase.filter.PrefixFilter

    equals, filterAllRemaining, filterCell, filterRow, getNextCellHint, getPrefix, hashCode, parseFrom, reset, toByteArray, toString

    Methods inherited from class org.apache.hadoop.hbase.filter.FilterBase

    filterRowCells, hasFilterRow, isFamilyEssential, transformCell

    Methods inherited from class org.apache.hadoop.hbase.filter.Filter

    isReversed, setReversed

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • key

      private byte[] key
  • Constructor Details

  • Method Details

    • filterRowKey

      public boolean filterRowKey(org.apache.hadoop.hbase.Cell cell)
      Overrides:
      filterRowKey in class org.apache.hadoop.hbase.filter.PrefixFilter
    • createFilterFromArguments

      public static org.apache.hadoop.hbase.filter.Filter createFilterFromArguments(ArrayList<byte[]> filterArguments)