public class InternalTxnRequest extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
InternalTxnRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
AddEdgesRequest |
add_edge_req |
static int |
ADD_EDGE_REQ |
Map<Integer,List<Long>> |
edge_ver |
static int |
EDGE_VER |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
Map<Integer,Long> |
term_of_parts |
static int |
TERM_OF_PARTS |
long |
txn_id |
static int |
TXN_ID |
UpdateEdgeRequest |
upd_edge_req |
static int |
UPD_EDGE_REQ |
| Constructor and Description |
|---|
InternalTxnRequest() |
InternalTxnRequest(InternalTxnRequest other)
Performs a deep copy on other.
|
InternalTxnRequest(long txn_id,
Map<Integer,Long> term_of_parts) |
InternalTxnRequest(long txn_id,
Map<Integer,Long> term_of_parts,
AddEdgesRequest add_edge_req,
UpdateEdgeRequest upd_edge_req,
Map<Integer,List<Long>> edge_ver) |
public long txn_id
public AddEdgesRequest add_edge_req
public UpdateEdgeRequest upd_edge_req
public static final int TXN_ID
public static final int TERM_OF_PARTS
public static final int ADD_EDGE_REQ
public static final int UPD_EDGE_REQ
public static final int EDGE_VER
public InternalTxnRequest()
public InternalTxnRequest(long txn_id,
Map<Integer,Long> term_of_parts,
AddEdgesRequest add_edge_req,
UpdateEdgeRequest upd_edge_req,
Map<Integer,List<Long>> edge_ver)
public InternalTxnRequest(InternalTxnRequest other)
public static InternalTxnRequest.Builder builder()
public InternalTxnRequest deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic long getTxn_id()
public InternalTxnRequest setTxn_id(long txn_id)
public void unsetTxn_id()
public boolean isSetTxn_id()
public void setTxn_idIsSet(boolean __value)
public InternalTxnRequest setTerm_of_parts(Map<Integer,Long> term_of_parts)
public void unsetTerm_of_parts()
public boolean isSetTerm_of_parts()
public void setTerm_of_partsIsSet(boolean __value)
public AddEdgesRequest getAdd_edge_req()
public InternalTxnRequest setAdd_edge_req(AddEdgesRequest add_edge_req)
public void unsetAdd_edge_req()
public boolean isSetAdd_edge_req()
public void setAdd_edge_reqIsSet(boolean __value)
public UpdateEdgeRequest getUpd_edge_req()
public InternalTxnRequest setUpd_edge_req(UpdateEdgeRequest upd_edge_req)
public void unsetUpd_edge_req()
public boolean isSetUpd_edge_req()
public void setUpd_edge_reqIsSet(boolean __value)
public InternalTxnRequest setEdge_ver(Map<Integer,List<Long>> edge_ver)
public void unsetEdge_ver()
public boolean isSetEdge_ver()
public void setEdge_verIsSet(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 © 2024. All rights reserved.