|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avro.io.Encoder
org.apache.avro.io.BinaryEncoder
org.apache.gora.hbase.util.HBaseByteInterface.BinaryEncoderWithStream
public static final class HBaseByteInterface.BinaryEncoderWithStream
A BinaryEncoder that exposes the outputstream so that it can be reset every time. (This is a workaround to reuse BinaryEncoder and the buffers, normally provided be EncoderFactory, but this class does not exist yet in the current Avro version).
| Field Summary |
|---|
| Fields inherited from class org.apache.avro.io.BinaryEncoder |
|---|
out |
| Constructor Summary | |
|---|---|
HBaseByteInterface.BinaryEncoderWithStream(OutputStream out)
|
|
| Method Summary | |
|---|---|
protected OutputStream |
getOut()
|
| Methods inherited from class org.apache.avro.io.BinaryEncoder |
|---|
encodeDouble, encodeDouble, encodeFloat, encodeFloat, encodeLong, encodeLong, flush, init, setItemCount, startItem, writeArrayEnd, writeArrayStart, writeBoolean, writeBytes, writeBytes, writeDouble, writeEnum, writeFixed, writeFloat, writeIndex, writeInt, writeLong, writeMapEnd, writeMapStart, writeNull, writeString |
| Methods inherited from class org.apache.avro.io.Encoder |
|---|
writeBytes, writeFixed, writeString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HBaseByteInterface.BinaryEncoderWithStream(OutputStream out)
| Method Detail |
|---|
protected OutputStream getOut()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||