Class TestFilter.OldTestFilter

java.lang.Object
org.apache.hadoop.hbase.filter.Filter
org.apache.hadoop.hbase.filter.FilterBase
org.apache.hadoop.hbase.filter.TestFilter.OldTestFilter
Enclosing class:
TestFilter

static class TestFilter.OldTestFilter extends org.apache.hadoop.hbase.filter.FilterBase
The following filter simulates a pre-0.96 filter where filterRow() is defined while hasFilterRow() returns false
  • 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 inherited from class org.apache.hadoop.hbase.filter.Filter

    reversed
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.filter.Filter.ReturnCode
    filterCell(org.apache.hadoop.hbase.Cell ignored)
     
    boolean
     
    boolean
     
    byte[]
     

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

    areSerializedFieldsEqual, createFilterFromArguments, filterAllRemaining, filterRowCells, filterRowKey, getNextCellHint, isFamilyEssential, reset, toString, transformCell

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

    isReversed, parseFrom, setReversed

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • toByteArray

      public byte[] toByteArray()
      Overrides:
      toByteArray in class org.apache.hadoop.hbase.filter.FilterBase
    • hasFilterRow

      public boolean hasFilterRow()
      Overrides:
      hasFilterRow in class org.apache.hadoop.hbase.filter.FilterBase
    • filterRow

      public boolean filterRow()
      Overrides:
      filterRow in class org.apache.hadoop.hbase.filter.FilterBase
    • filterCell

      public org.apache.hadoop.hbase.filter.Filter.ReturnCode filterCell(org.apache.hadoop.hbase.Cell ignored) throws IOException
      Overrides:
      filterCell in class org.apache.hadoop.hbase.filter.Filter
      Throws:
      IOException