public class EdgeItem extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<EdgeItem>
| Modifier and Type | Class and Description |
|---|---|
static class |
EdgeItem.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
edge_name |
static int |
EDGE_NAME |
int |
edge_type |
static int |
EDGE_TYPE |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
Schema |
schema |
static int |
SCHEMA |
long |
version |
static int |
VERSION |
| Constructor and Description |
|---|
EdgeItem() |
EdgeItem(EdgeItem other)
Performs a deep copy on other.
|
EdgeItem(int edge_type,
byte[] edge_name,
long version,
Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
static EdgeItem.Builder |
builder() |
int |
compareTo(EdgeItem other) |
EdgeItem |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
byte[] |
getEdge_name() |
int |
getEdge_type() |
Object |
getFieldValue(int fieldID) |
Schema |
getSchema() |
long |
getVersion() |
int |
hashCode() |
boolean |
isSetEdge_name() |
boolean |
isSetEdge_type() |
boolean |
isSetSchema() |
boolean |
isSetVersion() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
EdgeItem |
setEdge_name(byte[] edge_name) |
void |
setEdge_nameIsSet(boolean __value) |
EdgeItem |
setEdge_type(int edge_type) |
void |
setEdge_typeIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
EdgeItem |
setSchema(Schema schema) |
void |
setSchemaIsSet(boolean __value) |
EdgeItem |
setVersion(long version) |
void |
setVersionIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetEdge_name() |
void |
unsetEdge_type() |
void |
unsetSchema() |
void |
unsetVersion() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public int edge_type
public byte[] edge_name
public long version
public Schema schema
public static final int EDGE_TYPE
public static final int EDGE_NAME
public static final int VERSION
public static final int SCHEMA
public EdgeItem()
public EdgeItem(int edge_type,
byte[] edge_name,
long version,
Schema schema)
public EdgeItem(EdgeItem other)
public static EdgeItem.Builder builder()
public EdgeItem deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic int getEdge_type()
public EdgeItem setEdge_type(int edge_type)
public void unsetEdge_type()
public boolean isSetEdge_type()
public void setEdge_typeIsSet(boolean __value)
public byte[] getEdge_name()
public EdgeItem setEdge_name(byte[] edge_name)
public void unsetEdge_name()
public boolean isSetEdge_name()
public void setEdge_nameIsSet(boolean __value)
public long getVersion()
public EdgeItem setVersion(long version)
public void unsetVersion()
public boolean isSetVersion()
public void setVersionIsSet(boolean __value)
public Schema getSchema()
public void unsetSchema()
public boolean isSetSchema()
public void setSchemaIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(EdgeItem other)
compareTo in interface Comparable<EdgeItem>public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseiprot - Input protocolcom.facebook.thrift.TExceptionpublic void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBasewrite in interface com.facebook.thrift.TBaseoprot - Output protocolcom.facebook.thrift.TExceptionpublic String toString(int indent, boolean prettyPrint)
com.facebook.thrift.TBasetoString in interface com.facebook.thrift.TBaseindent - The level of indentation desiredprettyPrint - Set pretty printing on/offpublic void validate()
throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionCopyright © 2022. All rights reserved.