public class LookupAndTraverseRequest extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
LookupAndTraverseRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
RequestCommon |
common |
static int |
COMMON |
IndexSpec |
indices |
static int |
INDICES |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<Integer> |
parts |
static int |
PARTS |
int |
space_id |
static int |
SPACE_ID |
TraverseSpec |
traverse_spec |
static int |
TRAVERSE_SPEC |
| Constructor and Description |
|---|
LookupAndTraverseRequest() |
LookupAndTraverseRequest(int space_id,
List<Integer> parts) |
LookupAndTraverseRequest(int space_id,
List<Integer> parts,
IndexSpec indices,
TraverseSpec traverse_spec) |
LookupAndTraverseRequest(int space_id,
List<Integer> parts,
IndexSpec indices,
TraverseSpec traverse_spec,
RequestCommon common) |
LookupAndTraverseRequest(LookupAndTraverseRequest other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static LookupAndTraverseRequest.Builder |
builder() |
LookupAndTraverseRequest |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
RequestCommon |
getCommon() |
Object |
getFieldValue(int fieldID) |
IndexSpec |
getIndices() |
List<Integer> |
getParts() |
int |
getSpace_id() |
TraverseSpec |
getTraverse_spec() |
int |
hashCode() |
boolean |
isSetCommon() |
boolean |
isSetIndices() |
boolean |
isSetParts() |
boolean |
isSetSpace_id() |
boolean |
isSetTraverse_spec() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
LookupAndTraverseRequest |
setCommon(RequestCommon common) |
void |
setCommonIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
LookupAndTraverseRequest |
setIndices(IndexSpec indices) |
void |
setIndicesIsSet(boolean __value) |
LookupAndTraverseRequest |
setParts(List<Integer> parts) |
void |
setPartsIsSet(boolean __value) |
LookupAndTraverseRequest |
setSpace_id(int space_id) |
void |
setSpace_idIsSet(boolean __value) |
LookupAndTraverseRequest |
setTraverse_spec(TraverseSpec traverse_spec) |
void |
setTraverse_specIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetCommon() |
void |
unsetIndices() |
void |
unsetParts() |
void |
unsetSpace_id() |
void |
unsetTraverse_spec() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public int space_id
public IndexSpec indices
public TraverseSpec traverse_spec
public RequestCommon common
public static final int SPACE_ID
public static final int PARTS
public static final int INDICES
public static final int TRAVERSE_SPEC
public static final int COMMON
public LookupAndTraverseRequest()
public LookupAndTraverseRequest(int space_id,
List<Integer> parts,
IndexSpec indices,
TraverseSpec traverse_spec)
public LookupAndTraverseRequest(int space_id,
List<Integer> parts,
IndexSpec indices,
TraverseSpec traverse_spec,
RequestCommon common)
public LookupAndTraverseRequest(LookupAndTraverseRequest other)
public static LookupAndTraverseRequest.Builder builder()
public LookupAndTraverseRequest 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 LookupAndTraverseRequest setSpace_id(int space_id)
public void unsetSpace_id()
public boolean isSetSpace_id()
public void setSpace_idIsSet(boolean __value)
public LookupAndTraverseRequest setParts(List<Integer> parts)
public void unsetParts()
public boolean isSetParts()
public void setPartsIsSet(boolean __value)
public IndexSpec getIndices()
public LookupAndTraverseRequest setIndices(IndexSpec indices)
public void unsetIndices()
public boolean isSetIndices()
public void setIndicesIsSet(boolean __value)
public TraverseSpec getTraverse_spec()
public LookupAndTraverseRequest setTraverse_spec(TraverseSpec traverse_spec)
public void unsetTraverse_spec()
public boolean isSetTraverse_spec()
public void setTraverse_specIsSet(boolean __value)
public RequestCommon getCommon()
public LookupAndTraverseRequest 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.