public class LookupIndexRequest extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
LookupIndexRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
RequestCommon |
common |
static int |
COMMON |
IndexSpec |
indices |
static int |
INDICES |
long |
limit |
static int |
LIMIT |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<OrderBy> |
order_by |
static int |
ORDER_BY |
List<Integer> |
parts |
static int |
PARTS |
List<byte[]> |
return_columns |
static int |
RETURN_COLUMNS |
int |
space_id |
static int |
SPACE_ID |
| Constructor and Description |
|---|
LookupIndexRequest() |
LookupIndexRequest(int space_id,
List<Integer> parts) |
LookupIndexRequest(int space_id,
List<Integer> parts,
IndexSpec indices) |
LookupIndexRequest(int space_id,
List<Integer> parts,
IndexSpec indices,
List<byte[]> return_columns,
RequestCommon common,
long limit,
List<OrderBy> order_by) |
LookupIndexRequest(LookupIndexRequest other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static LookupIndexRequest.Builder |
builder() |
LookupIndexRequest |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
RequestCommon |
getCommon() |
Object |
getFieldValue(int fieldID) |
IndexSpec |
getIndices() |
long |
getLimit() |
List<OrderBy> |
getOrder_by() |
List<Integer> |
getParts() |
List<byte[]> |
getReturn_columns() |
int |
getSpace_id() |
int |
hashCode() |
boolean |
isSetCommon() |
boolean |
isSetIndices() |
boolean |
isSetLimit() |
boolean |
isSetOrder_by() |
boolean |
isSetParts() |
boolean |
isSetReturn_columns() |
boolean |
isSetSpace_id() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
LookupIndexRequest |
setCommon(RequestCommon common) |
void |
setCommonIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
LookupIndexRequest |
setIndices(IndexSpec indices) |
void |
setIndicesIsSet(boolean __value) |
LookupIndexRequest |
setLimit(long limit) |
void |
setLimitIsSet(boolean __value) |
LookupIndexRequest |
setOrder_by(List<OrderBy> order_by) |
void |
setOrder_byIsSet(boolean __value) |
LookupIndexRequest |
setParts(List<Integer> parts) |
void |
setPartsIsSet(boolean __value) |
LookupIndexRequest |
setReturn_columns(List<byte[]> return_columns) |
void |
setReturn_columnsIsSet(boolean __value) |
LookupIndexRequest |
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 |
unsetIndices() |
void |
unsetLimit() |
void |
unsetOrder_by() |
void |
unsetParts() |
void |
unsetReturn_columns() |
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 IndexSpec indices
public List<byte[]> return_columns
public RequestCommon common
public long limit
public static final int SPACE_ID
public static final int PARTS
public static final int INDICES
public static final int RETURN_COLUMNS
public static final int COMMON
public static final int LIMIT
public static final int ORDER_BY
public LookupIndexRequest()
public LookupIndexRequest(int space_id,
List<Integer> parts,
IndexSpec indices,
List<byte[]> return_columns,
RequestCommon common,
long limit,
List<OrderBy> order_by)
public LookupIndexRequest(LookupIndexRequest other)
public static LookupIndexRequest.Builder builder()
public LookupIndexRequest 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 LookupIndexRequest setSpace_id(int space_id)
public void unsetSpace_id()
public boolean isSetSpace_id()
public void setSpace_idIsSet(boolean __value)
public LookupIndexRequest setParts(List<Integer> parts)
public void unsetParts()
public boolean isSetParts()
public void setPartsIsSet(boolean __value)
public IndexSpec getIndices()
public LookupIndexRequest setIndices(IndexSpec indices)
public void unsetIndices()
public boolean isSetIndices()
public void setIndicesIsSet(boolean __value)
public List<byte[]> getReturn_columns()
public LookupIndexRequest setReturn_columns(List<byte[]> return_columns)
public void unsetReturn_columns()
public boolean isSetReturn_columns()
public void setReturn_columnsIsSet(boolean __value)
public RequestCommon getCommon()
public LookupIndexRequest setCommon(RequestCommon common)
public void unsetCommon()
public boolean isSetCommon()
public void setCommonIsSet(boolean __value)
public long getLimit()
public LookupIndexRequest setLimit(long limit)
public void unsetLimit()
public boolean isSetLimit()
public void setLimitIsSet(boolean __value)
public LookupIndexRequest setOrder_by(List<OrderBy> order_by)
public void unsetOrder_by()
public boolean isSetOrder_by()
public void setOrder_byIsSet(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.