public class AddVerticesRequest extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
AddVerticesRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
RequestCommon |
common |
static int |
COMMON |
boolean |
if_not_exists |
static int |
IF_NOT_EXISTS |
boolean |
ignore_existed_index |
static int |
IGNORE_EXISTED_INDEX |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
Map<Integer,List<NewVertex>> |
parts |
static int |
PARTS |
Map<Integer,List<byte[]>> |
prop_names |
static int |
PROP_NAMES |
int |
space_id |
static int |
SPACE_ID |
| Constructor and Description |
|---|
AddVerticesRequest() |
AddVerticesRequest(AddVerticesRequest other)
Performs a deep copy on other.
|
AddVerticesRequest(int space_id,
Map<Integer,List<NewVertex>> parts,
Map<Integer,List<byte[]>> prop_names,
boolean if_not_exists,
boolean ignore_existed_index) |
AddVerticesRequest(int space_id,
Map<Integer,List<NewVertex>> parts,
Map<Integer,List<byte[]>> prop_names,
boolean if_not_exists,
boolean ignore_existed_index,
RequestCommon common) |
| Modifier and Type | Method and Description |
|---|---|
static AddVerticesRequest.Builder |
builder() |
AddVerticesRequest |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
RequestCommon |
getCommon() |
Object |
getFieldValue(int fieldID) |
Map<Integer,List<NewVertex>> |
getParts() |
Map<Integer,List<byte[]>> |
getProp_names() |
int |
getSpace_id() |
int |
hashCode() |
boolean |
isIf_not_exists() |
boolean |
isIgnore_existed_index() |
boolean |
isSetCommon() |
boolean |
isSetIf_not_exists() |
boolean |
isSetIgnore_existed_index() |
boolean |
isSetParts() |
boolean |
isSetProp_names() |
boolean |
isSetSpace_id() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
AddVerticesRequest |
setCommon(RequestCommon common) |
void |
setCommonIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
AddVerticesRequest |
setIf_not_exists(boolean if_not_exists) |
void |
setIf_not_existsIsSet(boolean __value) |
AddVerticesRequest |
setIgnore_existed_index(boolean ignore_existed_index) |
void |
setIgnore_existed_indexIsSet(boolean __value) |
AddVerticesRequest |
setParts(Map<Integer,List<NewVertex>> parts) |
void |
setPartsIsSet(boolean __value) |
AddVerticesRequest |
setProp_names(Map<Integer,List<byte[]>> prop_names) |
void |
setProp_namesIsSet(boolean __value) |
AddVerticesRequest |
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 |
unsetCommon() |
void |
unsetIf_not_exists() |
void |
unsetIgnore_existed_index() |
void |
unsetParts() |
void |
unsetProp_names() |
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 boolean if_not_exists
public boolean ignore_existed_index
public RequestCommon common
public static final int SPACE_ID
public static final int PARTS
public static final int PROP_NAMES
public static final int IF_NOT_EXISTS
public static final int IGNORE_EXISTED_INDEX
public static final int COMMON
public AddVerticesRequest()
public AddVerticesRequest(int space_id,
Map<Integer,List<NewVertex>> parts,
Map<Integer,List<byte[]>> prop_names,
boolean if_not_exists,
boolean ignore_existed_index)
public AddVerticesRequest(int space_id,
Map<Integer,List<NewVertex>> parts,
Map<Integer,List<byte[]>> prop_names,
boolean if_not_exists,
boolean ignore_existed_index,
RequestCommon common)
public AddVerticesRequest(AddVerticesRequest other)
public static AddVerticesRequest.Builder builder()
public AddVerticesRequest 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 AddVerticesRequest setSpace_id(int space_id)
public void unsetSpace_id()
public boolean isSetSpace_id()
public void setSpace_idIsSet(boolean __value)
public AddVerticesRequest setParts(Map<Integer,List<NewVertex>> parts)
public void unsetParts()
public boolean isSetParts()
public void setPartsIsSet(boolean __value)
public AddVerticesRequest setProp_names(Map<Integer,List<byte[]>> prop_names)
public void unsetProp_names()
public boolean isSetProp_names()
public void setProp_namesIsSet(boolean __value)
public boolean isIf_not_exists()
public AddVerticesRequest 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 boolean isIgnore_existed_index()
public AddVerticesRequest setIgnore_existed_index(boolean ignore_existed_index)
public void unsetIgnore_existed_index()
public boolean isSetIgnore_existed_index()
public void setIgnore_existed_indexIsSet(boolean __value)
public RequestCommon getCommon()
public AddVerticesRequest 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.