public static class Bytes.Thrift extends Object implements Bytes<BytesThrift>
Bytes.Avro, Bytes.AvroBuilder, Bytes.Builder<T>, Bytes.Comparator, Bytes.NativeImpl, Bytes.Protobuf, Bytes.ProtobufBuilder, Bytes.Thrift, Bytes.ThriftBuilder| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
Thrift()
Create a new wrapper.
|
Thrift(BytesThrift wrapped)
Wraps an existing instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
BytesThrift |
get()
Returns underlying object.
|
Supplier<byte[]> |
getBytesField() |
List<Supplier<byte[]>> |
getBytesList() |
SortedMap<String,Supplier<byte[]>> |
getBytesMap() |
int |
hashCode() |
boolean |
isDefaultBytesField() |
boolean |
isDefaultBytesList() |
boolean |
isDefaultBytesMap() |
Bytes.Builder<BytesThrift> |
newBuilder()
Creates a new builder based on this object.
|
String |
toString() |
avro, avro, compareTo, getAvroClass, getAvroSchema, getComparator, getProtobufClass, getProtobufDescriptor, getProtobufProtocolClass, getProtobufProtocolDescriptor, getThriftClass, getThriftMetadataMap, isDefault, nativeImpl, newAvroBuilder, newAvroBuilder, newAvroBuilder, newAvroBuilder, newNativeImplBuilder, newNativeImplBuilder, newProtobufBuilder, newProtobufBuilder, newProtobufBuilder, newThriftBuilder, newThriftBuilder, newThriftBuilder, protobuf, protobuf, thrift, thriftpublic static final long serialVersionUID
public Thrift(BytesThrift wrapped)
public Thrift()
public BytesThrift get()
Bytesget in interface Bytes<BytesThrift>get in interface Supplier<BytesThrift>public Bytes.Builder<BytesThrift> newBuilder()
BytesnewBuilder in interface Bytes<BytesThrift>public Supplier<byte[]> getBytesField()
getBytesField in interface Bytes<BytesThrift>public boolean isDefaultBytesField()
isDefaultBytesField in interface Bytes<BytesThrift>public List<Supplier<byte[]>> getBytesList()
getBytesList in interface Bytes<BytesThrift>public boolean isDefaultBytesList()
isDefaultBytesList in interface Bytes<BytesThrift>public SortedMap<String,Supplier<byte[]>> getBytesMap()
getBytesMap in interface Bytes<BytesThrift>public boolean isDefaultBytesMap()
isDefaultBytesMap in interface Bytes<BytesThrift>Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.