public class CreateEdgeReq extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<CreateEdgeReq>
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateEdgeReq.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
edge_name |
static int |
EDGE_NAME |
boolean |
if_not_exists |
static int |
IF_NOT_EXISTS |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
Schema |
schema |
static int |
SCHEMA |
int |
space_id |
static int |
SPACE_ID |
| Constructor and Description |
|---|
CreateEdgeReq() |
CreateEdgeReq(CreateEdgeReq other)
Performs a deep copy on other.
|
CreateEdgeReq(int space_id,
byte[] edge_name,
Schema schema,
boolean if_not_exists) |
| Modifier and Type | Method and Description |
|---|---|
static CreateEdgeReq.Builder |
builder() |
int |
compareTo(CreateEdgeReq other) |
CreateEdgeReq |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
byte[] |
getEdge_name() |
Object |
getFieldValue(int fieldID) |
Schema |
getSchema() |
int |
getSpace_id() |
int |
hashCode() |
boolean |
isIf_not_exists() |
boolean |
isSetEdge_name() |
boolean |
isSetIf_not_exists() |
boolean |
isSetSchema() |
boolean |
isSetSpace_id() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
CreateEdgeReq |
setEdge_name(byte[] edge_name) |
void |
setEdge_nameIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
CreateEdgeReq |
setIf_not_exists(boolean if_not_exists) |
void |
setIf_not_existsIsSet(boolean __value) |
CreateEdgeReq |
setSchema(Schema schema) |
void |
setSchemaIsSet(boolean __value) |
CreateEdgeReq |
setSpace_id(int space_id) |
void |
setSpace_idIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetEdge_name() |
void |
unsetIf_not_exists() |
void |
unsetSchema() |
void |
unsetSpace_id() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public int space_id
public byte[] edge_name
public Schema schema
public boolean if_not_exists
public static final int SPACE_ID
public static final int EDGE_NAME
public static final int SCHEMA
public static final int IF_NOT_EXISTS
public CreateEdgeReq()
public CreateEdgeReq(int space_id,
byte[] edge_name,
Schema schema,
boolean if_not_exists)
public CreateEdgeReq(CreateEdgeReq other)
public static CreateEdgeReq.Builder builder()
public CreateEdgeReq deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic int getSpace_id()
public CreateEdgeReq setSpace_id(int space_id)
public void unsetSpace_id()
public boolean isSetSpace_id()
public void setSpace_idIsSet(boolean __value)
public byte[] getEdge_name()
public CreateEdgeReq setEdge_name(byte[] edge_name)
public void unsetEdge_name()
public boolean isSetEdge_name()
public void setEdge_nameIsSet(boolean __value)
public Schema getSchema()
public CreateEdgeReq setSchema(Schema schema)
public void unsetSchema()
public boolean isSetSchema()
public void setSchemaIsSet(boolean __value)
public boolean isIf_not_exists()
public CreateEdgeReq setIf_not_exists(boolean if_not_exists)
public void unsetIf_not_exists()
public boolean isSetIf_not_exists()
public void setIf_not_existsIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(CreateEdgeReq other)
compareTo in interface Comparable<CreateEdgeReq>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.