@Immutable public class BooleanArrayThriftCodec extends Object implements ThriftCodec<boolean[]>
| Constructor and Description |
|---|
BooleanArrayThriftCodec() |
| Modifier and Type | Method and Description |
|---|---|
ThriftType |
getType()
The Thrift type this codec supports.
|
boolean[] |
read(TProtocolReader protocol)
Reads a value from supplied Thrift protocol reader.
|
void |
write(boolean[] value,
TProtocolWriter protocol)
Writes a value to the supplied Thrift protocol writer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisNullpublic ThriftType getType()
ThriftCodecgetType in interface ThriftCodec<boolean[]>public boolean[] read(TProtocolReader protocol) throws Exception
ThriftCodecread in interface ThriftCodec<boolean[]>protocol - the protocol to read fromException - if any problems occurred when reading or coercing the valuepublic void write(boolean[] value,
TProtocolWriter protocol)
throws Exception
ThriftCodecwrite in interface ThriftCodec<boolean[]>value - the value to write; not nullprotocol - the protocol to write toException - if any problems occurred when writing or coercing the valueCopyright © 2012–2019. All rights reserved.