Class InternalScan

All Implemented Interfaces:
Attributes

@LimitedPrivate("Coprocesssor") public class InternalScan extends Scan
Special scanner, currently used for increment operations to allow additional server-side arguments for Scan operations.

Rather than adding new options/parameters to the public Scan API, this new class has been created.

Supports adding an option to only read from the MemStore with checkOnlyMemStore() or to only read from StoreFiles with checkOnlyStoreFiles().

  • Field Details

  • Constructor Details

  • Method Details

    • checkOnlyMemStore

      public void checkOnlyMemStore()
      StoreFiles will not be scanned. Only MemStore will be scanned.
    • checkOnlyStoreFiles

      public void checkOnlyStoreFiles()
      MemStore will not be scanned. Only StoreFiles will be scanned.
    • isCheckOnlyMemStore

      public boolean isCheckOnlyMemStore()
      Returns true if only the MemStore should be checked. False if not.
      Returns:
      true to only check MemStore
    • isCheckOnlyStoreFiles

      public boolean isCheckOnlyStoreFiles()
      Returns true if only StoreFiles should be checked. False if not.
      Returns:
      true if only check StoreFiles