public final class TTupleProtocol extends TCompactProtocol
Modifier and Type | Class and Description |
---|---|
static class |
TTupleProtocol.Factory |
Constructor and Description |
---|
TTupleProtocol(TTransport transport) |
Modifier and Type | Method and Description |
---|---|
static java.util.BitSet |
fromByteArray(byte[] bytes)
Returns a bitset containing the values in bytes.
|
java.lang.Class<? extends IScheme> |
getScheme()
Scheme accessor
|
java.util.BitSet |
readBitSet(int i) |
static byte[] |
toByteArray(java.util.BitSet bits,
int vectorWidth)
Returns a byte array of at least length 1.
|
void |
writeBitSet(java.util.BitSet bs,
int vectorWidth) |
readBinary, readBool, readByte, readDouble, readFieldBegin, readFieldEnd, readI16, readI32, readI64, readListBegin, readListEnd, readMapBegin, readMapEnd, readMessageBegin, readMessageEnd, readSetBegin, readSetEnd, readString, readStructBegin, readStructEnd, reset, writeBinary, writeBool, writeByte, writeCollectionBegin, writeDouble, writeFieldBegin, writeFieldEnd, writeFieldStop, writeI16, writeI32, writeI64, writeListBegin, writeListEnd, writeMapBegin, writeMapEnd, writeMessageBegin, writeMessageEnd, writeSetBegin, writeSetEnd, writeString, writeStructBegin, writeStructEnd
getTransport
public TTupleProtocol(TTransport transport)
public java.lang.Class<? extends IScheme> getScheme()
TProtocol
public void writeBitSet(java.util.BitSet bs, int vectorWidth) throws TException
TException
public java.util.BitSet readBitSet(int i) throws TException
TException
public static java.util.BitSet fromByteArray(byte[] bytes)
public static byte[] toByteArray(java.util.BitSet bits, int vectorWidth)
bits
- vectorWidth
-