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

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

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

origin: co.cask.hbase/hbase

@Deprecated
@Override
public long atomicIncrement(
  ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long amount)
    throws IOError, IllegalArgument, TException {
 byte [][] famAndQf = KeyValue.parseColumn(getBytes(column));
 if(famAndQf.length == 1) {
  return atomicIncrement(tableName, row, famAndQf[0], new byte[0],
    amount);
 }
 return atomicIncrement(tableName, row, famAndQf[0], famAndQf[1], amount);
}
origin: com.aliyun.hbase/alihbase-thrift

@Override
public long atomicIncrement(
  ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long amount)
    throws IOError, IllegalArgument, TException {
 byte [][] famAndQf = CellUtil.parseColumn(getBytes(column));
 if(famAndQf.length == 1) {
  return atomicIncrement(tableName, row, famAndQf[0], HConstants.EMPTY_BYTE_ARRAY, amount);
 }
 return atomicIncrement(tableName, row, famAndQf[0], famAndQf[1], amount);
}
origin: org.apache.hbase/hbase-thrift

@Override
public long atomicIncrement(
  ByteBuffer tableName, ByteBuffer row, ByteBuffer column, long amount)
    throws IOError, IllegalArgument, TException {
 byte [][] famAndQf = CellUtil.parseColumn(getBytes(column));
 if(famAndQf.length == 1) {
  return atomicIncrement(tableName, row, famAndQf[0], HConstants.EMPTY_BYTE_ARRAY, amount);
 }
 return atomicIncrement(tableName, row, famAndQf[0], famAndQf[1], amount);
}
org.apache.hadoop.hbase.thriftThriftServerRunner$HBaseHandleratomicIncrement

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.
  • getRowsWithColumnsTs
  • getScanner
    Returns the scanner associated with the specified ID.
  • getRowsWithColumnsTs,
  • getScanner,
  • getTable,
  • getVer,
  • removeScanner,
  • scannerGetList,
  • append,
  • checkAndPut,
  • closeTable

Popular in Java

  • Making http post requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setRequestProperty (URLConnection)
  • runOnUiThread (Activity)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Path (java.nio.file)
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • CodeWhisperer alternatives
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