public static class Nested.Avro extends Object implements Nested<NestedAvro>
Nested.Avro, Nested.AvroBuilder, Nested.Builder<T>, Nested.Comparator, Nested.NativeImpl, Nested.Protobuf, Nested.ProtobufBuilder, Nested.Thrift, Nested.ThriftBuilder| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
Avro(byte[] binaryEncoding)
Constructs a new Avro instance based on a message's binary encoding.
|
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 Avro(byte[] binaryEncoding)
public NestedAvro get()
Nestedget in interface Nested<NestedAvro>get in interface Supplier<NestedAvro>public Nested.Builder<NestedAvro> newBuilder()
NestednewBuilder in interface Nested<NestedAvro>public byte[] toByteArray()
public ByteBuffer toByteBuffer()
public Enum<?> getEnumField()
getEnumField in interface Nested<NestedAvro>public boolean isDefaultEnumField()
isDefaultEnumField in interface Nested<NestedAvro>public Bytes<?> getStructField()
getStructField in interface Nested<NestedAvro>public boolean isDefaultStructField()
isDefaultStructField in interface Nested<NestedAvro>public List<Enum<?>> getEnumListField()
getEnumListField in interface Nested<NestedAvro>public boolean isDefaultEnumListField()
isDefaultEnumListField in interface Nested<NestedAvro>public List<Bytes<?>> getStructListField()
getStructListField in interface Nested<NestedAvro>public boolean isDefaultStructListField()
isDefaultStructListField in interface Nested<NestedAvro>public SortedSet<Enum<?>> getEnumSetField()
getEnumSetField in interface Nested<NestedAvro>public boolean isDefaultEnumSetField()
isDefaultEnumSetField in interface Nested<NestedAvro>public SortedSet<Bytes<?>> getStructSetField()
getStructSetField in interface Nested<NestedAvro>public boolean isDefaultStructSetField()
isDefaultStructSetField in interface Nested<NestedAvro>public SortedMap<String,Enum<?>> getEnumMapField()
getEnumMapField in interface Nested<NestedAvro>public boolean isDefaultEnumMapField()
isDefaultEnumMapField in interface Nested<NestedAvro>public SortedMap<String,Bytes<?>> getStructMapField()
getStructMapField in interface Nested<NestedAvro>public boolean isDefaultStructMapField()
isDefaultStructMapField in interface Nested<NestedAvro>@Deprecated public List<Float> getFloatListField()
getFloatListField in interface Nested<NestedAvro>@Deprecated public boolean isDefaultFloatListField()
isDefaultFloatListField in interface Nested<NestedAvro>@Deprecated public SortedMap<String,Float> getFloatMapField()
getFloatMapField in interface Nested<NestedAvro>@Deprecated public boolean isDefaultFloatMapField()
isDefaultFloatMapField in interface Nested<NestedAvro>public Variant<?> getVariant()
getVariant in interface Nested<NestedAvro>public boolean isDefaultVariant()
isDefaultVariant in interface Nested<NestedAvro>public Nested.Avro encoded()
public static Nested<NestedAvro> from(byte[] binaryEncoding) throws IOException
IOExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.