Class TestBlockEvictionFromClient.CustomScanner

java.lang.Object
org.apache.hadoop.hbase.client.TestBlockEvictionFromClient.CustomScanner
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.hbase.regionserver.InternalScanner, org.apache.hadoop.hbase.regionserver.RegionScanner
Enclosing class:
TestBlockEvictionFromClient

private static class TestBlockEvictionFromClient.CustomScanner extends Object implements org.apache.hadoop.hbase.regionserver.RegionScanner
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private org.apache.hadoop.hbase.regionserver.RegionScanner
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomScanner(org.apache.hadoop.hbase.regionserver.RegionScanner delegate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    int
     
    long
     
    long
     
    org.apache.hadoop.hbase.client.RegionInfo
     
    boolean
     
    boolean
    next(List<org.apache.hadoop.hbase.Cell> results)
     
    boolean
    next(List<org.apache.hadoop.hbase.Cell> result, org.apache.hadoop.hbase.regionserver.ScannerContext scannerContext)
     
    boolean
    nextRaw(List<org.apache.hadoop.hbase.Cell> result)
     
    boolean
    nextRaw(List<org.apache.hadoop.hbase.Cell> result, org.apache.hadoop.hbase.regionserver.ScannerContext context)
     
    boolean
    reseek(byte[] row)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.hadoop.hbase.regionserver.RegionScanner

    getOperationId
  • Field Details

    • delegate

      private org.apache.hadoop.hbase.regionserver.RegionScanner delegate
  • Constructor Details

    • CustomScanner

      public CustomScanner(org.apache.hadoop.hbase.regionserver.RegionScanner delegate)
  • Method Details

    • next

      public boolean next(List<org.apache.hadoop.hbase.Cell> results) throws IOException
      Specified by:
      next in interface org.apache.hadoop.hbase.regionserver.InternalScanner
      Throws:
      IOException
    • next

      public boolean next(List<org.apache.hadoop.hbase.Cell> result, org.apache.hadoop.hbase.regionserver.ScannerContext scannerContext) throws IOException
      Specified by:
      next in interface org.apache.hadoop.hbase.regionserver.InternalScanner
      Throws:
      IOException
    • nextRaw

      public boolean nextRaw(List<org.apache.hadoop.hbase.Cell> result) throws IOException
      Specified by:
      nextRaw in interface org.apache.hadoop.hbase.regionserver.RegionScanner
      Throws:
      IOException
    • nextRaw

      public boolean nextRaw(List<org.apache.hadoop.hbase.Cell> result, org.apache.hadoop.hbase.regionserver.ScannerContext context) throws IOException
      Specified by:
      nextRaw in interface org.apache.hadoop.hbase.regionserver.RegionScanner
      Throws:
      IOException
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.apache.hadoop.hbase.regionserver.InternalScanner
      Throws:
      IOException
    • getRegionInfo

      public org.apache.hadoop.hbase.client.RegionInfo getRegionInfo()
      Specified by:
      getRegionInfo in interface org.apache.hadoop.hbase.regionserver.RegionScanner
    • isFilterDone

      public boolean isFilterDone() throws IOException
      Specified by:
      isFilterDone in interface org.apache.hadoop.hbase.regionserver.RegionScanner
      Throws:
      IOException
    • reseek

      public boolean reseek(byte[] row) throws IOException
      Specified by:
      reseek in interface org.apache.hadoop.hbase.regionserver.RegionScanner
      Throws:
      IOException
    • getMaxResultSize

      public long getMaxResultSize()
      Specified by:
      getMaxResultSize in interface org.apache.hadoop.hbase.regionserver.RegionScanner
    • getMvccReadPoint

      public long getMvccReadPoint()
      Specified by:
      getMvccReadPoint in interface org.apache.hadoop.hbase.regionserver.RegionScanner
    • getBatch

      public int getBatch()
      Specified by:
      getBatch in interface org.apache.hadoop.hbase.regionserver.RegionScanner