public class SchemaID extends com.facebook.thrift.TUnion<SchemaID> implements Comparable<SchemaID>
| Modifier and Type | Field and Description |
|---|---|
static int |
EDGE_TYPE |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
static int |
TAG_ID |
| Constructor and Description |
|---|
SchemaID() |
SchemaID(int setField,
Object __value) |
SchemaID(SchemaID other) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkType(short setField,
Object __value)
Generic implementation using reflection, codegen can override this in a more efficient way.
|
int |
compareTo(SchemaID other) |
SchemaID |
deepCopy()
Returns a copy of `this`.
|
static SchemaID |
edge_type(int __value) |
boolean |
equals(Object other) |
boolean |
equals(SchemaID other) |
int |
getEdge_type() |
protected com.facebook.thrift.protocol.TField |
getFieldDesc(int setField) |
protected Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
getMetaDataMap() |
protected com.facebook.thrift.protocol.TStruct |
getStructDesc() |
int |
getTag_id() |
int |
hashCode() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
protected Object |
readValue(com.facebook.thrift.protocol.TProtocol iprot,
com.facebook.thrift.protocol.TField __field)
Implementation should be generated to read the right stuff from the wire based on the field
header.
|
void |
setEdge_type(int __value) |
void |
setTag_id(int __value) |
static SchemaID |
tag_id(int __value) |
protected void |
writeValue(com.facebook.thrift.protocol.TProtocol oprot,
short setField,
Object __value) |
public static final int TAG_ID
public static final int EDGE_TYPE
public SchemaID()
public SchemaID(int setField,
Object __value)
public SchemaID(SchemaID other)
public SchemaID deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasedeepCopy in class com.facebook.thrift.TUnion<SchemaID>public static SchemaID tag_id(int __value)
public static SchemaID edge_type(int __value)
protected void checkType(short setField,
Object __value)
throws ClassCastException
com.facebook.thrift.TUnioncheckType in class com.facebook.thrift.TUnion<SchemaID>ClassCastExceptionpublic void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseread in class com.facebook.thrift.TUnion<SchemaID>iprot - Input protocolcom.facebook.thrift.TExceptionprotected Object readValue(com.facebook.thrift.protocol.TProtocol iprot, com.facebook.thrift.protocol.TField __field) throws com.facebook.thrift.TException
com.facebook.thrift.TUnionreadValue in class com.facebook.thrift.TUnion<SchemaID>com.facebook.thrift.TExceptionprotected void writeValue(com.facebook.thrift.protocol.TProtocol oprot,
short setField,
Object __value)
throws com.facebook.thrift.TException
writeValue in class com.facebook.thrift.TUnion<SchemaID>com.facebook.thrift.TExceptionprotected com.facebook.thrift.protocol.TField getFieldDesc(int setField)
getFieldDesc in class com.facebook.thrift.TUnion<SchemaID>protected com.facebook.thrift.protocol.TStruct getStructDesc()
getStructDesc in class com.facebook.thrift.TUnion<SchemaID>protected Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> getMetaDataMap()
getMetaDataMap in class com.facebook.thrift.TUnion<SchemaID>public int getTag_id()
public void setTag_id(int __value)
public int getEdge_type()
public void setEdge_type(int __value)
public boolean equals(SchemaID other)
public int compareTo(SchemaID other)
compareTo in interface Comparable<SchemaID>Copyright © 2022. All rights reserved.