congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
FastDiffDeltaEncoder.afterDecodingKeyValue
Code IndexAdd Tabnine to your IDE (free)

How to use
afterDecodingKeyValue
method
in
org.apache.hadoop.hbase.io.encoding.FastDiffDeltaEncoder

Best Java code snippets using org.apache.hadoop.hbase.io.encoding.FastDiffDeltaEncoder.afterDecodingKeyValue (Showing top 5 results out of 315)

origin: apache/hbase

@Override
protected ByteBuffer internalDecodeKeyValues(DataInputStream source, int allocateHeaderLength,
  int skipLastBytes, HFileBlockDefaultDecodingContext decodingCtx) throws IOException {
 int decompressedSize = source.readInt();
 ByteBuffer buffer = ByteBuffer.allocate(decompressedSize +
   allocateHeaderLength);
 buffer.position(allocateHeaderLength);
 FastDiffCompressionState state = new FastDiffCompressionState();
 while (source.available() > skipLastBytes) {
  uncompressSingleKeyValue(source, buffer, state);
  afterDecodingKeyValue(source, buffer, decodingCtx);
 }
 if (source.available() != skipLastBytes) {
  throw new IllegalStateException("Read too much bytes.");
 }
 return buffer;
}
origin: org.apache.hbase/hbase-common

@Override
protected ByteBuffer internalDecodeKeyValues(DataInputStream source, int allocateHeaderLength,
  int skipLastBytes, HFileBlockDefaultDecodingContext decodingCtx) throws IOException {
 int decompressedSize = source.readInt();
 ByteBuffer buffer = ByteBuffer.allocate(decompressedSize +
   allocateHeaderLength);
 buffer.position(allocateHeaderLength);
 FastDiffCompressionState state = new FastDiffCompressionState();
 while (source.available() > skipLastBytes) {
  uncompressSingleKeyValue(source, buffer, state);
  afterDecodingKeyValue(source, buffer, decodingCtx);
 }
 if (source.available() != skipLastBytes) {
  throw new IllegalStateException("Read too much bytes.");
 }
 return buffer;
}
origin: harbby/presto-connectors

@Override
protected ByteBuffer internalDecodeKeyValues(DataInputStream source, int allocateHeaderLength,
  int skipLastBytes, HFileBlockDefaultDecodingContext decodingCtx) throws IOException {
 int decompressedSize = source.readInt();
 ByteBuffer buffer = ByteBuffer.allocate(decompressedSize +
   allocateHeaderLength);
 buffer.position(allocateHeaderLength);
 FastDiffCompressionState state = new FastDiffCompressionState();
 while (source.available() > skipLastBytes) {
  uncompressSingleKeyValue(source, buffer, state);
  afterDecodingKeyValue(source, buffer, decodingCtx);
 }
 if (source.available() != skipLastBytes) {
  throw new IllegalStateException("Read too much bytes.");
 }
 return buffer;
}
origin: co.cask.hbase/hbase

@Override
public ByteBuffer uncompressKeyValues(DataInputStream source,
  int allocHeaderLength, int skipLastBytes, boolean includesMemstoreTS)
    throws IOException {
 int decompressedSize = source.readInt();
 ByteBuffer buffer = ByteBuffer.allocate(decompressedSize +
   allocHeaderLength);
 buffer.position(allocHeaderLength);
 FastDiffCompressionState state = new FastDiffCompressionState();
 while (source.available() > skipLastBytes) {
  uncompressSingleKeyValue(source, buffer, state);
  afterDecodingKeyValue(source, buffer, includesMemstoreTS);
 }
 if (source.available() != skipLastBytes) {
  throw new IllegalStateException("Read too much bytes.");
 }
 return buffer;
}
origin: com.aliyun.hbase/alihbase-common

@Override
protected ByteBuffer internalDecodeKeyValues(DataInputStream source, int allocateHeaderLength,
  int skipLastBytes, HFileBlockDefaultDecodingContext decodingCtx) throws IOException {
 int decompressedSize = source.readInt();
 ByteBuffer buffer = ByteBuffer.allocate(decompressedSize +
   allocateHeaderLength);
 buffer.position(allocateHeaderLength);
 FastDiffCompressionState state = new FastDiffCompressionState();
 while (source.available() > skipLastBytes) {
  uncompressSingleKeyValue(source, buffer, state);
  afterDecodingKeyValue(source, buffer, decodingCtx);
 }
 if (source.available() != skipLastBytes) {
  throw new IllegalStateException("Read too much bytes.");
 }
 return buffer;
}
org.apache.hadoop.hbase.io.encodingFastDiffDeltaEncoderafterDecodingKeyValue

Popular methods of FastDiffDeltaEncoder

  • afterEncodingKeyValue
  • compressSingleKeyValue
  • findCommonTimestampPrefix
  • uncompressSingleKeyValue
  • ensureSpace
  • createFirstKeyCell

Popular in Java

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • findViewById (Activity)
  • requestLocationUpdates (LocationManager)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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