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

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

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

origin: org.apache.hbase/hbase-thrift

@Override
public List<TCell> getVer(ByteBuffer tableName, ByteBuffer row, ByteBuffer column,
  int numVersions, Map<ByteBuffer, ByteBuffer> attributes) throws IOError {
 byte [][] famAndQf = CellUtil.parseColumn(getBytes(column));
 if(famAndQf.length == 1) {
  return getVer(tableName, row, famAndQf[0], null, numVersions, attributes);
 }
 if (famAndQf.length == 2) {
  return getVer(tableName, row, famAndQf[0], famAndQf[1], numVersions, attributes);
 }
 throw new IllegalArgumentException("Invalid familyAndQualifier provided.");
}
origin: com.aliyun.hbase/alihbase-thrift

@Override
public List<TCell> getVer(ByteBuffer tableName, ByteBuffer row, ByteBuffer column,
  int numVersions, Map<ByteBuffer, ByteBuffer> attributes) throws IOError {
 byte [][] famAndQf = CellUtil.parseColumn(getBytes(column));
 if(famAndQf.length == 1) {
  return getVer(tableName, row, famAndQf[0], null, numVersions, attributes);
 }
 if (famAndQf.length == 2) {
  return getVer(tableName, row, famAndQf[0], famAndQf[1], numVersions, attributes);
 }
 throw new IllegalArgumentException("Invalid familyAndQualifier provided.");
}
origin: co.cask.hbase/hbase

@Deprecated
@Override
public List<TCell> getVer(ByteBuffer tableName, ByteBuffer row,
  ByteBuffer column, int numVersions,
  Map<ByteBuffer, ByteBuffer> attributes) throws IOError {
 byte [][] famAndQf = KeyValue.parseColumn(getBytes(column));
 if(famAndQf.length == 1) {
  return getVer(tableName, row, famAndQf[0],
    new byte[0], numVersions, attributes);
 }
 return getVer(tableName, row,
   famAndQf[0], famAndQf[1], numVersions, attributes);
}
org.apache.hadoop.hbase.thriftThriftServerRunner$HBaseHandlergetVer

Javadoc

Note: this public interface is slightly different from public Java APIs in regard to handling of the qualifier. Here we differ from the public Java API in that null != byte[0]. Rather, we respect qual == null as a request for the entire column family. If you want to access the entire column family, use #getVer(ByteBuffer,ByteBuffer,ByteBuffer,int,Map) with a column value that lacks a ':'.

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,
  • 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