public class UpdateEdgeRequest extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateEdgeRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
RequestCommon |
common |
static int |
COMMON |
byte[] |
condition |
static int |
CONDITION |
EdgeKey |
edge_key |
static int |
EDGE_KEY |
boolean |
insertable |
static int |
INSERTABLE |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
part_id |
static int |
PART_ID |
List<byte[]> |
return_props |
static int |
RETURN_PROPS |
int |
space_id |
static int |
SPACE_ID |
List<UpdatedProp> |
updated_props |
static int |
UPDATED_PROPS |
| Constructor and Description |
|---|
UpdateEdgeRequest() |
UpdateEdgeRequest(int space_id,
int part_id,
EdgeKey edge_key,
List<UpdatedProp> updated_props) |
UpdateEdgeRequest(int space_id,
int part_id,
EdgeKey edge_key,
List<UpdatedProp> updated_props,
boolean insertable,
List<byte[]> return_props,
byte[] condition,
RequestCommon common) |
UpdateEdgeRequest(UpdateEdgeRequest other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static UpdateEdgeRequest.Builder |
builder() |
UpdateEdgeRequest |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
RequestCommon |
getCommon() |
byte[] |
getCondition() |
EdgeKey |
getEdge_key() |
Object |
getFieldValue(int fieldID) |
int |
getPart_id() |
List<byte[]> |
getReturn_props() |
int |
getSpace_id() |
List<UpdatedProp> |
getUpdated_props() |
int |
hashCode() |
boolean |
isInsertable() |
boolean |
isSetCommon() |
boolean |
isSetCondition() |
boolean |
isSetEdge_key() |
boolean |
isSetInsertable() |
boolean |
isSetPart_id() |
boolean |
isSetReturn_props() |
boolean |
isSetSpace_id() |
boolean |
isSetUpdated_props() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
UpdateEdgeRequest |
setCommon(RequestCommon common) |
void |
setCommonIsSet(boolean __value) |
UpdateEdgeRequest |
setCondition(byte[] condition) |
void |
setConditionIsSet(boolean __value) |
UpdateEdgeRequest |
setEdge_key(EdgeKey edge_key) |
void |
setEdge_keyIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
UpdateEdgeRequest |
setInsertable(boolean insertable) |
void |
setInsertableIsSet(boolean __value) |
UpdateEdgeRequest |
setPart_id(int part_id) |
void |
setPart_idIsSet(boolean __value) |
UpdateEdgeRequest |
setReturn_props(List<byte[]> return_props) |
void |
setReturn_propsIsSet(boolean __value) |
UpdateEdgeRequest |
setSpace_id(int space_id) |
void |
setSpace_idIsSet(boolean __value) |
UpdateEdgeRequest |
setUpdated_props(List<UpdatedProp> updated_props) |
void |
setUpdated_propsIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetCommon() |
void |
unsetCondition() |
void |
unsetEdge_key() |
void |
unsetInsertable() |
void |
unsetPart_id() |
void |
unsetReturn_props() |
void |
unsetSpace_id() |
void |
unsetUpdated_props() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public int space_id
public int part_id
public EdgeKey edge_key
public List<UpdatedProp> updated_props
public boolean insertable
public List<byte[]> return_props
public byte[] condition
public RequestCommon common
public static final int SPACE_ID
public static final int PART_ID
public static final int EDGE_KEY
public static final int UPDATED_PROPS
public static final int INSERTABLE
public static final int RETURN_PROPS
public static final int CONDITION
public static final int COMMON
public UpdateEdgeRequest()
public UpdateEdgeRequest(int space_id,
int part_id,
EdgeKey edge_key,
List<UpdatedProp> updated_props)
public UpdateEdgeRequest(int space_id,
int part_id,
EdgeKey edge_key,
List<UpdatedProp> updated_props,
boolean insertable,
List<byte[]> return_props,
byte[] condition,
RequestCommon common)
public UpdateEdgeRequest(UpdateEdgeRequest other)
public static UpdateEdgeRequest.Builder builder()
public UpdateEdgeRequest 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 UpdateEdgeRequest setSpace_id(int space_id)
public void unsetSpace_id()
public boolean isSetSpace_id()
public void setSpace_idIsSet(boolean __value)
public int getPart_id()
public UpdateEdgeRequest setPart_id(int part_id)
public void unsetPart_id()
public boolean isSetPart_id()
public void setPart_idIsSet(boolean __value)
public EdgeKey getEdge_key()
public UpdateEdgeRequest setEdge_key(EdgeKey edge_key)
public void unsetEdge_key()
public boolean isSetEdge_key()
public void setEdge_keyIsSet(boolean __value)
public List<UpdatedProp> getUpdated_props()
public UpdateEdgeRequest setUpdated_props(List<UpdatedProp> updated_props)
public void unsetUpdated_props()
public boolean isSetUpdated_props()
public void setUpdated_propsIsSet(boolean __value)
public boolean isInsertable()
public UpdateEdgeRequest setInsertable(boolean insertable)
public void unsetInsertable()
public boolean isSetInsertable()
public void setInsertableIsSet(boolean __value)
public List<byte[]> getReturn_props()
public UpdateEdgeRequest setReturn_props(List<byte[]> return_props)
public void unsetReturn_props()
public boolean isSetReturn_props()
public void setReturn_propsIsSet(boolean __value)
public byte[] getCondition()
public UpdateEdgeRequest setCondition(byte[] condition)
public void unsetCondition()
public boolean isSetCondition()
public void setConditionIsSet(boolean __value)
public RequestCommon getCommon()
public UpdateEdgeRequest setCommon(RequestCommon common)
public void unsetCommon()
public boolean isSetCommon()
public void setCommonIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
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.