Tabnine Logo
ThriftServerRunner$HBaseHandler.removeScanner
Code IndexAdd Tabnine to your IDE (free)

How to use
removeScanner
method
in
org.apache.hadoop.hbase.thrift.ThriftServerRunner$HBaseHandler

Best Java code snippets using org.apache.hadoop.hbase.thrift.ThriftServerRunner$HBaseHandler.removeScanner (Showing top 3 results out of 315)

origin: co.cask.hbase/hbase

public void scannerClose(int id) throws IOError, IllegalArgument {
 LOG.debug("scannerClose: id=" + id);
 ResultScanner scanner = getScanner(id);
 if (scanner == null) {
  String message = "scanner ID is invalid";
  LOG.warn(message);
  throw new IllegalArgument("scanner ID is invalid");
 }
 scanner.close();
 removeScanner(id);
}
origin: org.apache.hbase/hbase-thrift

@Override
public void scannerClose(int id) throws IOError, IllegalArgument {
 LOG.debug("scannerClose: id={}", id);
 ResultScannerWrapper resultScannerWrapper = getScanner(id);
 if (resultScannerWrapper == null) {
  LOG.warn("scanner ID is invalid");
  throw new IllegalArgument("scanner ID is invalid");
 }
 resultScannerWrapper.getScanner().close();
 removeScanner(id);
}
origin: com.aliyun.hbase/alihbase-thrift

@Override
public void scannerClose(int id) throws IOError, IllegalArgument {
 LOG.debug("scannerClose: id=" + id);
 ResultScannerWrapper resultScannerWrapper = getScanner(id);
 if (resultScannerWrapper == null) {
  String message = "scanner ID is invalid";
  LOG.warn(message);
  throw new IllegalArgument("scanner ID is invalid");
 }
 resultScannerWrapper.getScanner().close();
 removeScanner(id);
}
org.apache.hadoop.hbase.thriftThriftServerRunner$HBaseHandlerremoveScanner

Javadoc

Removes the scanner associated with the specified ID from the internal id->scanner hash-map.

Popular methods of ThriftServerRunner$HBaseHandler

  • <init>
  • deleteAllRowTs
  • deleteAllTs
  • get
    Note: this internal interface is slightly different from public APIs in regard to handling of the qu
  • getRowWithColumnsTs
  • getVerTs
    Note: this internal interface is slightly different from public APIs in regard to handling of the qu
  • increment
  • mutateRowTs
  • mutateRowsTs
  • addScanner
    Assigns a unique ID to the scanner and adds the mapping to an internal hash-map.
  • atomicIncrement
  • getRowsWithColumnsTs
  • atomicIncrement,
  • getRowsWithColumnsTs,
  • getScanner,
  • getTable,
  • getVer,
  • scannerGetList,
  • append,
  • checkAndPut,
  • closeTable

Popular in Java

  • Running tasks concurrently on multiple threads
  • requestLocationUpdates (LocationManager)
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • JFileChooser (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now