public static class Segment.Thrift extends Object implements Segment<SegmentThrift>
Segment.Avro, Segment.AvroBuilder, Segment.Builder<T>, Segment.Comparator, Segment.NativeImpl, Segment.Protobuf, Segment.ProtobufBuilder, Segment.Thrift, Segment.ThriftBuilder| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
Thrift()
Create a new wrapper.
|
Thrift(SegmentThrift wrapped)
Wraps an existing instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
SegmentThrift |
get()
Returns underlying object.
|
String |
getId()
ID of a data provider’s segment applicable to the user.
|
String |
getName()
Name of a data provider’s segment applicable to the user.
|
String |
getValue()
String representing the value of the segment.
|
int |
hashCode() |
boolean |
isDefaultId() |
boolean |
isDefaultName() |
boolean |
isDefaultValue() |
Segment.Builder<SegmentThrift> |
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(SegmentThrift wrapped)
public Thrift()
public SegmentThrift get()
Segmentget in interface Supplier<SegmentThrift>get in interface Segment<SegmentThrift>public Segment.Builder<SegmentThrift> newBuilder()
SegmentnewBuilder in interface Segment<SegmentThrift>public String getId()
SegmentgetId in interface Segment<SegmentThrift>public boolean isDefaultId()
isDefaultId in interface Segment<SegmentThrift>public String getName()
SegmentgetName in interface Segment<SegmentThrift>public boolean isDefaultName()
isDefaultName in interface Segment<SegmentThrift>public String getValue()
SegmentgetValue in interface Segment<SegmentThrift>public boolean isDefaultValue()
isDefaultValue in interface Segment<SegmentThrift>Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.