public class ID extends com.facebook.thrift.TUnion<ID> implements Comparable<ID>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_ID |
static int |
EDGE_TYPE |
static int |
INDEX_ID |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
static int |
SPACE_ID |
static int |
TAG_ID |
| Constructor and Description |
|---|
ID() |
ID(ID other) |
ID(int setField,
Object __value) |
| 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.
|
static ID |
cluster_id(long __value) |
int |
compareTo(ID other) |
ID |
deepCopy()
Returns a copy of `this`.
|
static ID |
edge_type(int __value) |
boolean |
equals(ID other) |
boolean |
equals(Object other) |
long |
getCluster_id() |
int |
getEdge_type() |
protected com.facebook.thrift.protocol.TField |
getFieldDesc(int setField) |
int |
getIndex_id() |
protected Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
getMetaDataMap() |
int |
getSpace_id() |
protected com.facebook.thrift.protocol.TStruct |
getStructDesc() |
int |
getTag_id() |
int |
hashCode() |
static ID |
index_id(int __value) |
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 |
setCluster_id(long __value) |
void |
setEdge_type(int __value) |
void |
setIndex_id(int __value) |
void |
setSpace_id(int __value) |
void |
setTag_id(int __value) |
static ID |
space_id(int __value) |
static ID |
tag_id(int __value) |
protected void |
writeValue(com.facebook.thrift.protocol.TProtocol oprot,
short setField,
Object __value) |
public static final int SPACE_ID
public static final int TAG_ID
public static final int EDGE_TYPE
public static final int INDEX_ID
public static final int CLUSTER_ID
public ID 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<ID>public static ID space_id(int __value)
public static ID tag_id(int __value)
public static ID edge_type(int __value)
public static ID index_id(int __value)
public static ID cluster_id(long __value)
protected void checkType(short setField,
Object __value)
throws ClassCastException
com.facebook.thrift.TUnioncheckType in class com.facebook.thrift.TUnion<ID>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<ID>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<ID>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<ID>com.facebook.thrift.TExceptionprotected com.facebook.thrift.protocol.TField getFieldDesc(int setField)
getFieldDesc in class com.facebook.thrift.TUnion<ID>protected com.facebook.thrift.protocol.TStruct getStructDesc()
getStructDesc in class com.facebook.thrift.TUnion<ID>protected Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> getMetaDataMap()
getMetaDataMap in class com.facebook.thrift.TUnion<ID>public int getSpace_id()
public void setSpace_id(int __value)
public int getTag_id()
public void setTag_id(int __value)
public int getEdge_type()
public void setEdge_type(int __value)
public int getIndex_id()
public void setIndex_id(int __value)
public long getCluster_id()
public void setCluster_id(long __value)
public boolean equals(ID other)
public int compareTo(ID other)
compareTo in interface Comparable<ID>Copyright © 2022. All rights reserved.