public interface Nested<T> extends Supplier<T>, Comparable<Nested<?>>, Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
Nested.Avro |
static class |
Nested.AvroBuilder |
static interface |
Nested.Builder<T> |
static class |
Nested.Comparator |
static class |
Nested.NativeImpl |
static class |
Nested.Protobuf |
static class |
Nested.ProtobufBuilder |
static class |
Nested.Thrift |
static class |
Nested.ThriftBuilder |
| Modifier and Type | Method and Description |
|---|---|
static Nested.Avro |
avro(Nested<?> instance)
Returns a wrapped Avro record based on an instance of Nested.
|
static Nested.Avro |
avro(NestedAvro wrapped)
Wraps an existing Avro record.
|
default int |
compareTo(Nested<?> other) |
T |
get()
Returns underlying object.
|
static Class<NestedAvro> |
getAvroClass()
Returns Avro record class.
|
static Schema |
getAvroSchema()
Returns Avro record schema.
|
static Comparator<Nested<?>> |
getComparator()
Returns comparator instance for Nested objects.
|
Enum<?> |
getEnumField() |
List<Enum<?>> |
getEnumListField() |
SortedMap<String,Enum<?>> |
getEnumMapField() |
SortedSet<Enum<?>> |
getEnumSetField() |
List<Float> |
getFloatListField()
Deprecated.
|
SortedMap<String,Float> |
getFloatMapField()
Deprecated.
|
static Class<NestedProtobuf.Nested> |
getProtobufClass()
Returns Protobuf class for this struct.
|
static com.google.protobuf.Descriptors.Descriptor |
getProtobufDescriptor()
Returns Protobuf descriptor for this struct.
|
static Class<NestedProtobuf> |
getProtobufProtocolClass()
Returns Protobuf protocol class for this struct.
|
static com.google.protobuf.Descriptors.FileDescriptor |
getProtobufProtocolDescriptor()
Returns Protobuf protocol descriptor for this struct.
|
Bytes<?> |
getStructField() |
List<Bytes<?>> |
getStructListField() |
SortedMap<String,Bytes<?>> |
getStructMapField() |
SortedSet<Bytes<?>> |
getStructSetField() |
static Class<NestedThrift> |
getThriftClass()
Returns Thrift class for this struct.
|
static Map<NestedThrift._Fields,FieldMetaData> |
getThriftMetadataMap()
Returns Thrift metadata map for this struct.
|
Variant<?> |
getVariant() |
default boolean |
isDefault()
True if all fields are set to default values.
|
boolean |
isDefaultEnumField() |
boolean |
isDefaultEnumListField() |
boolean |
isDefaultEnumMapField() |
boolean |
isDefaultEnumSetField() |
boolean |
isDefaultFloatListField() |
boolean |
isDefaultFloatMapField() |
boolean |
isDefaultStructField() |
boolean |
isDefaultStructListField() |
boolean |
isDefaultStructMapField() |
boolean |
isDefaultStructSetField() |
boolean |
isDefaultVariant() |
static Nested.NativeImpl |
nativeImpl(Nested<?> instance)
Returns a POJO based on an instance of Nested.
|
static Nested.Builder<NestedAvro> |
newAvroBuilder()
Returns new Avro builder instance with default values.
|
static Nested.Builder<NestedAvro> |
newAvroBuilder(Nested<?> other)
Returns new Avro builder instance based on existing prototype Nested.
|
static Nested.Builder<NestedAvro> |
newAvroBuilder(NestedAvro.Builder other)
Returns new Avro builder instance based on existing prototype builder.
|
static Nested.Builder<NestedAvro> |
newAvroBuilder(NestedAvro other)
Returns new Avro builder instance based on existing prototype.
|
Nested.Builder<T> |
newBuilder()
Creates a new builder based on this object.
|
static Nested.Builder<Nested.NativeImpl> |
newNativeImplBuilder()
Returns a POJO builder instance with default values.
|
static Nested.Builder<Nested.NativeImpl> |
newNativeImplBuilder(Nested<?> other)
Returns a POJO builder instance based on existing prototype Nested.
|
static Nested.Builder<NestedProtobuf.Nested> |
newProtobufBuilder()
Returns new Protobuf builder instance with default values.
|
static Nested.Builder<NestedProtobuf.Nested> |
newProtobufBuilder(Nested<?> other)
Returns new Protobuf builder instance based on existing prototype Nested.
|
static Nested.Builder<NestedProtobuf.Nested> |
newProtobufBuilder(NestedProtobuf.Nested other)
Returns new Protobuf builder instance based on existing prototype.
|
static Nested.Builder<NestedThrift> |
newThriftBuilder()
Returns new Thrift builder instance with default values.
|
static Nested.Builder<NestedThrift> |
newThriftBuilder(Nested<?> other)
Returns new Thrift builder instance based on existing prototype Nested.
|
static Nested.Builder<NestedThrift> |
newThriftBuilder(NestedThrift other)
Returns new Thrift builder instance based on existing prototype.
|
static Nested.Protobuf |
protobuf(Nested<?> instance)
Returns a wrapped Protobuf message based on an instance of Nested.
|
static Nested.Protobuf |
protobuf(NestedProtobuf.Nested wrapped)
Wraps an existing Protobuf message.
|
static Nested.Thrift |
thrift(Nested<?> instance)
Returns a wrapped Thrift struct based on an instance of Nested.
|
static Nested.Thrift |
thrift(NestedThrift instance)
Creates a new wrapped Thrift struct copied from an existing instance.
|
default boolean isDefault()
Nested.Builder<T> newBuilder()
Enum<?> getEnumField()
boolean isDefaultEnumField()
Bytes<?> getStructField()
boolean isDefaultStructField()
boolean isDefaultEnumListField()
boolean isDefaultStructListField()
boolean isDefaultEnumSetField()
boolean isDefaultStructSetField()
boolean isDefaultEnumMapField()
boolean isDefaultStructMapField()
@Deprecated List<Float> getFloatListField()
boolean isDefaultFloatListField()
@Deprecated SortedMap<String,Float> getFloatMapField()
boolean isDefaultFloatMapField()
Variant<?> getVariant()
boolean isDefaultVariant()
static Comparator<Nested<?>> getComparator()
default int compareTo(Nested<?> other)
compareTo in interface Comparable<Nested<?>>static Nested.Builder<Nested.NativeImpl> newNativeImplBuilder()
static Nested.Builder<Nested.NativeImpl> newNativeImplBuilder(Nested<?> other)
static Nested.NativeImpl nativeImpl(Nested<?> instance)
static Nested.Builder<NestedAvro> newAvroBuilder()
static Nested.Builder<NestedAvro> newAvroBuilder(NestedAvro other)
static Nested.Builder<NestedAvro> newAvroBuilder(NestedAvro.Builder other)
static Nested.Builder<NestedAvro> newAvroBuilder(Nested<?> other)
static Nested.Avro avro(Nested<?> instance)
static Nested.Avro avro(NestedAvro wrapped)
static Class<NestedAvro> getAvroClass()
static Schema getAvroSchema()
static Nested.Builder<NestedProtobuf.Nested> newProtobufBuilder()
static Nested.Builder<NestedProtobuf.Nested> newProtobufBuilder(NestedProtobuf.Nested other)
static Nested.Builder<NestedProtobuf.Nested> newProtobufBuilder(Nested<?> other)
static Nested.Protobuf protobuf(Nested<?> instance)
static Nested.Protobuf protobuf(NestedProtobuf.Nested wrapped)
static Class<NestedProtobuf.Nested> getProtobufClass()
static Class<NestedProtobuf> getProtobufProtocolClass()
static com.google.protobuf.Descriptors.Descriptor getProtobufDescriptor()
static com.google.protobuf.Descriptors.FileDescriptor getProtobufProtocolDescriptor()
static Nested.Builder<NestedThrift> newThriftBuilder()
static Nested.Builder<NestedThrift> newThriftBuilder(NestedThrift other)
static Nested.Builder<NestedThrift> newThriftBuilder(Nested<?> other)
static Nested.Thrift thrift(Nested<?> instance)
static Nested.Thrift thrift(NestedThrift instance)
static Class<NestedThrift> getThriftClass()
static Map<NestedThrift._Fields,FieldMetaData> getThriftMetadataMap()
Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.