public class UpdateVertexRequest extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateVertexRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
RequestCommon |
common |
static int |
COMMON |
byte[] |
condition |
static int |
CONDITION |
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 |
int |
tag_id |
static int |
TAG_ID |
List<UpdatedProp> |
updated_props |
static int |
UPDATED_PROPS |
Value |
vertex_id |
static int |
VERTEX_ID |
| Constructor and Description |
|---|
UpdateVertexRequest() |
UpdateVertexRequest(int tag_id) |
UpdateVertexRequest(int space_id,
int part_id,
Value vertex_id,
int tag_id,
List<UpdatedProp> updated_props) |
UpdateVertexRequest(int space_id,
int part_id,
Value vertex_id,
int tag_id,
List<UpdatedProp> updated_props,
boolean insertable,
List<byte[]> return_props,
byte[] condition,
RequestCommon common) |
UpdateVertexRequest(UpdateVertexRequest other)
Performs a deep copy on other.
|
public int space_id
public int part_id
public Value vertex_id
public int tag_id
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 VERTEX_ID
public static final int TAG_ID
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 UpdateVertexRequest()
public UpdateVertexRequest(int tag_id)
public UpdateVertexRequest(int space_id,
int part_id,
Value vertex_id,
int tag_id,
List<UpdatedProp> updated_props)
public UpdateVertexRequest(int space_id,
int part_id,
Value vertex_id,
int tag_id,
List<UpdatedProp> updated_props,
boolean insertable,
List<byte[]> return_props,
byte[] condition,
RequestCommon common)
public UpdateVertexRequest(UpdateVertexRequest other)
public static UpdateVertexRequest.Builder builder()
public UpdateVertexRequest 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 UpdateVertexRequest setSpace_id(int space_id)
public void unsetSpace_id()
public boolean isSetSpace_id()
public void setSpace_idIsSet(boolean __value)
public int getPart_id()
public UpdateVertexRequest setPart_id(int part_id)
public void unsetPart_id()
public boolean isSetPart_id()
public void setPart_idIsSet(boolean __value)
public Value getVertex_id()
public UpdateVertexRequest setVertex_id(Value vertex_id)
public void unsetVertex_id()
public boolean isSetVertex_id()
public void setVertex_idIsSet(boolean __value)
public int getTag_id()
public UpdateVertexRequest setTag_id(int tag_id)
public void unsetTag_id()
public boolean isSetTag_id()
public void setTag_idIsSet(boolean __value)
public List<UpdatedProp> getUpdated_props()
public UpdateVertexRequest setUpdated_props(List<UpdatedProp> updated_props)
public void unsetUpdated_props()
public boolean isSetUpdated_props()
public void setUpdated_propsIsSet(boolean __value)
public boolean isInsertable()
public UpdateVertexRequest setInsertable(boolean insertable)
public void unsetInsertable()
public boolean isSetInsertable()
public void setInsertableIsSet(boolean __value)
public List<byte[]> getReturn_props()
public UpdateVertexRequest setReturn_props(List<byte[]> return_props)
public void unsetReturn_props()
public boolean isSetReturn_props()
public void setReturn_propsIsSet(boolean __value)
public byte[] getCondition()
public UpdateVertexRequest setCondition(byte[] condition)
public void unsetCondition()
public boolean isSetCondition()
public void setConditionIsSet(boolean __value)
public RequestCommon getCommon()
public UpdateVertexRequest 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.