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

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

Best Java code snippets using org.apache.hadoop.hbase.io.encoding.CopyKeyDataBlockEncoder$1.includesMvcc (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$1includesMvcc

Popular methods of CopyKeyDataBlockEncoder$1

  • decodeNext
  • includesTags

Popular in Java

  • Start an intent from android
  • setScale (BigDecimal)
  • getSharedPreferences (Context)
  • getExternalFilesDir (Context)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JPanel (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • 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