public class AlterEdgeReq extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<AlterEdgeReq>
| Modifier and Type | Class and Description |
|---|---|
static class |
AlterEdgeReq.Builder |
| Modifier and Type | Field and Description |
|---|---|
List<AlterSchemaItem> |
edge_items |
static int |
EDGE_ITEMS |
byte[] |
edge_name |
static int |
EDGE_NAME |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
SchemaProp |
schema_prop |
static int |
SCHEMA_PROP |
int |
space_id |
static int |
SPACE_ID |
| Constructor and Description |
|---|
AlterEdgeReq() |
AlterEdgeReq(AlterEdgeReq other)
Performs a deep copy on other.
|
AlterEdgeReq(int space_id,
byte[] edge_name,
List<AlterSchemaItem> edge_items,
SchemaProp schema_prop) |
| Modifier and Type | Method and Description |
|---|---|
static AlterEdgeReq.Builder |
builder() |
int |
compareTo(AlterEdgeReq other) |
AlterEdgeReq |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
List<AlterSchemaItem> |
getEdge_items() |
byte[] |
getEdge_name() |
Object |
getFieldValue(int fieldID) |
SchemaProp |
getSchema_prop() |
int |
getSpace_id() |
int |
hashCode() |
boolean |
isSetEdge_items() |
boolean |
isSetEdge_name() |
boolean |
isSetSchema_prop() |
boolean |
isSetSpace_id() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
AlterEdgeReq |
setEdge_items(List<AlterSchemaItem> edge_items) |
void |
setEdge_itemsIsSet(boolean __value) |
AlterEdgeReq |
setEdge_name(byte[] edge_name) |
void |
setEdge_nameIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
AlterEdgeReq |
setSchema_prop(SchemaProp schema_prop) |
void |
setSchema_propIsSet(boolean __value) |
AlterEdgeReq |
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_items() |
void |
unsetEdge_name() |
void |
unsetSchema_prop() |
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 List<AlterSchemaItem> edge_items
public SchemaProp schema_prop
public static final int SPACE_ID
public static final int EDGE_NAME
public static final int EDGE_ITEMS
public static final int SCHEMA_PROP
public AlterEdgeReq()
public AlterEdgeReq(int space_id,
byte[] edge_name,
List<AlterSchemaItem> edge_items,
SchemaProp schema_prop)
public AlterEdgeReq(AlterEdgeReq other)
public static AlterEdgeReq.Builder builder()
public AlterEdgeReq 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 AlterEdgeReq setSpace_id(int space_id)
public void unsetSpace_id()
public boolean isSetSpace_id()
public void setSpace_idIsSet(boolean __value)
public byte[] getEdge_name()
public AlterEdgeReq setEdge_name(byte[] edge_name)
public void unsetEdge_name()
public boolean isSetEdge_name()
public void setEdge_nameIsSet(boolean __value)
public List<AlterSchemaItem> getEdge_items()
public AlterEdgeReq setEdge_items(List<AlterSchemaItem> edge_items)
public void unsetEdge_items()
public boolean isSetEdge_items()
public void setEdge_itemsIsSet(boolean __value)
public SchemaProp getSchema_prop()
public AlterEdgeReq setSchema_prop(SchemaProp schema_prop)
public void unsetSchema_prop()
public boolean isSetSchema_prop()
public void setSchema_propIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(AlterEdgeReq other)
compareTo in interface Comparable<AlterEdgeReq>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.