public class AddEdgesRequest extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
AddEdgesRequest.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<NewEdge>> |
parts |
static int |
PARTS |
List<byte[]> |
prop_names |
static int |
PROP_NAMES |
int |
space_id |
static int |
SPACE_ID |
| Constructor and Description |
|---|
AddEdgesRequest() |
AddEdgesRequest(AddEdgesRequest other)
Performs a deep copy on other.
|
AddEdgesRequest(int space_id,
Map<Integer,List<NewEdge>> parts,
List<byte[]> prop_names,
boolean if_not_exists,
boolean ignore_existed_index) |
AddEdgesRequest(int space_id,
Map<Integer,List<NewEdge>> parts,
List<byte[]> prop_names,
boolean if_not_exists,
boolean ignore_existed_index,
RequestCommon common) |
| Modifier and Type | Method and Description |
|---|---|
static AddEdgesRequest.Builder |
builder() |
AddEdgesRequest |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
RequestCommon |
getCommon() |
Object |
getFieldValue(int fieldID) |
Map<Integer,List<NewEdge>> |
getParts() |
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.
|
AddEdgesRequest |
setCommon(RequestCommon common) |
void |
setCommonIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
AddEdgesRequest |
setIf_not_exists(boolean if_not_exists) |
void |
setIf_not_existsIsSet(boolean __value) |
AddEdgesRequest |
setIgnore_existed_index(boolean ignore_existed_index) |
void |
setIgnore_existed_indexIsSet(boolean __value) |
AddEdgesRequest |
setParts(Map<Integer,List<NewEdge>> parts) |
void |
setPartsIsSet(boolean __value) |
AddEdgesRequest |
setProp_names(List<byte[]> prop_names) |
void |
setProp_namesIsSet(boolean __value) |
AddEdgesRequest |
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 List<byte[]> prop_names
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 AddEdgesRequest()
public AddEdgesRequest(int space_id,
Map<Integer,List<NewEdge>> parts,
List<byte[]> prop_names,
boolean if_not_exists,
boolean ignore_existed_index)
public AddEdgesRequest(int space_id,
Map<Integer,List<NewEdge>> parts,
List<byte[]> prop_names,
boolean if_not_exists,
boolean ignore_existed_index,
RequestCommon common)
public AddEdgesRequest(AddEdgesRequest other)
public static AddEdgesRequest.Builder builder()
public AddEdgesRequest 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 AddEdgesRequest setSpace_id(int space_id)
public void unsetSpace_id()
public boolean isSetSpace_id()
public void setSpace_idIsSet(boolean __value)
public AddEdgesRequest setParts(Map<Integer,List<NewEdge>> parts)
public void unsetParts()
public boolean isSetParts()
public void setPartsIsSet(boolean __value)
public List<byte[]> getProp_names()
public AddEdgesRequest setProp_names(List<byte[]> prop_names)
public void unsetProp_names()
public boolean isSetProp_names()
public void setProp_namesIsSet(boolean __value)
public boolean isIf_not_exists()
public AddEdgesRequest 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 AddEdgesRequest 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 AddEdgesRequest 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.