org.apache.hadoop.hbase.codec.prefixtree.encode
Class EncoderFactory

java.lang.Object
  extended by org.apache.hadoop.hbase.codec.prefixtree.encode.EncoderFactory

@InterfaceAudience.Private
public class EncoderFactory
extends Object

Retrieve PrefixTreeEncoders from this factory which handles pooling them and preparing the ones retrieved from the pool for usage.


Constructor Summary
EncoderFactory()
           
 
Method Summary
static void checkIn(PrefixTreeEncoder encoder)
           
static PrefixTreeEncoder checkOut(OutputStream outputStream, boolean includeMvccVersion)
           
protected static PrefixTreeEncoder prepareEncoder(PrefixTreeEncoder encoder, OutputStream outputStream, boolean includeMvccVersion)
          helper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncoderFactory

public EncoderFactory()
Method Detail

checkOut

public static PrefixTreeEncoder checkOut(OutputStream outputStream,
                                         boolean includeMvccVersion)

checkIn

public static void checkIn(PrefixTreeEncoder encoder)

prepareEncoder

protected static PrefixTreeEncoder prepareEncoder(PrefixTreeEncoder encoder,
                                                  OutputStream outputStream,
                                                  boolean includeMvccVersion)
helper



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.