Tabnine Logo
CopyKeyDataBlockEncoder$1.includesTags
Code IndexAdd Tabnine to your IDE (free)

How to use
includesTags
method
in
org.apache.hadoop.hbase.io.encoding.CopyKeyDataBlockEncoder$1

Best Java code snippets using org.apache.hadoop.hbase.io.encoding.CopyKeyDataBlockEncoder$1.includesTags (Showing top 4 results out of 1,395)

origin: harbby/presto-connectors

@Override
protected void decodeNext() {
 current.keyLength = currentBuffer.getInt();
 current.valueLength = currentBuffer.getInt();
 current.ensureSpaceForKey();
 currentBuffer.get(current.keyBuffer, 0, current.keyLength);
 current.valueOffset = currentBuffer.position();
 ByteBufferUtils.skip(currentBuffer, current.valueLength);
 if (includesTags()) {
  // Read short as unsigned, high byte first
  current.tagsLength = ((currentBuffer.get() & 0xff) << 8) ^ (currentBuffer.get() & 0xff);
  ByteBufferUtils.skip(currentBuffer, current.tagsLength);
 }
 if (includesMvcc()) {
  current.memstoreTS = ByteBufferUtils.readVLong(currentBuffer);
 } else {
  current.memstoreTS = 0;
 }
 current.nextKvOffset = currentBuffer.position();
}
origin: org.apache.hbase/hbase-common

@Override
protected void decodeNext() {
 current.keyLength = currentBuffer.getInt();
 current.valueLength = currentBuffer.getInt();
 current.ensureSpaceForKey();
 currentBuffer.get(current.keyBuffer, 0, current.keyLength);
 current.valueOffset = currentBuffer.position();
 currentBuffer.skip(current.valueLength);
 if (includesTags()) {
  // Read short as unsigned, high byte first
  current.tagsLength = ((currentBuffer.get() & 0xff) << 8) ^ (currentBuffer.get() & 0xff);
  currentBuffer.skip(current.tagsLength);
 }
 if (includesMvcc()) {
  current.memstoreTS = ByteBuff.readVLong(currentBuffer);
 } else {
  current.memstoreTS = 0;
 }
 current.nextKvOffset = currentBuffer.position();
}
origin: com.aliyun.hbase/alihbase-common

@Override
protected void decodeNext() {
 current.keyLength = currentBuffer.getInt();
 current.valueLength = currentBuffer.getInt();
 current.ensureSpaceForKey();
 currentBuffer.get(current.keyBuffer, 0, current.keyLength);
 current.valueOffset = currentBuffer.position();
 currentBuffer.skip(current.valueLength);
 if (includesTags()) {
  // Read short as unsigned, high byte first
  current.tagsLength = ((currentBuffer.get() & 0xff) << 8) ^ (currentBuffer.get() & 0xff);
  currentBuffer.skip(current.tagsLength);
 }
 if (includesMvcc()) {
  current.memstoreTS = ByteBuff.readVLong(currentBuffer);
 } else {
  current.memstoreTS = 0;
 }
 current.nextKvOffset = currentBuffer.position();
}
origin: apache/hbase

@Override
protected void decodeNext() {
 current.keyLength = currentBuffer.getInt();
 current.valueLength = currentBuffer.getInt();
 current.ensureSpaceForKey();
 currentBuffer.get(current.keyBuffer, 0, current.keyLength);
 current.valueOffset = currentBuffer.position();
 currentBuffer.skip(current.valueLength);
 if (includesTags()) {
  // Read short as unsigned, high byte first
  current.tagsLength = ((currentBuffer.get() & 0xff) << 8) ^ (currentBuffer.get() & 0xff);
  currentBuffer.skip(current.tagsLength);
 }
 if (includesMvcc()) {
  current.memstoreTS = ByteBuff.readVLong(currentBuffer);
 } else {
  current.memstoreTS = 0;
 }
 current.nextKvOffset = currentBuffer.position();
}
org.apache.hadoop.hbase.io.encodingCopyKeyDataBlockEncoder$1includesTags

Popular methods of CopyKeyDataBlockEncoder$1

  • decodeNext
  • includesMvcc

Popular in Java

  • Start an intent from android
  • startActivity (Activity)
  • addToBackStack (FragmentTransaction)
  • getApplicationContext (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • JLabel (javax.swing)
  • Github Copilot 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