public class IndexItem extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<IndexItem>
| Modifier and Type | Class and Description |
|---|---|
static class |
IndexItem.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
comment |
static int |
COMMENT |
List<ColumnDef> |
fields |
static int |
FIELDS |
int |
index_id |
static int |
INDEX_ID |
byte[] |
index_name |
static int |
INDEX_NAME |
IndexParams |
index_params |
static int |
INDEX_PARAMS |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
SchemaID |
schema_id |
static int |
SCHEMA_ID |
byte[] |
schema_name |
static int |
SCHEMA_NAME |
| Constructor and Description |
|---|
IndexItem() |
IndexItem(IndexItem other)
Performs a deep copy on other.
|
IndexItem(int index_id,
byte[] index_name,
SchemaID schema_id,
byte[] schema_name,
List<ColumnDef> fields) |
IndexItem(int index_id,
byte[] index_name,
SchemaID schema_id,
byte[] schema_name,
List<ColumnDef> fields,
byte[] comment,
IndexParams index_params) |
| Modifier and Type | Method and Description |
|---|---|
static IndexItem.Builder |
builder() |
int |
compareTo(IndexItem other) |
IndexItem |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
byte[] |
getComment() |
List<ColumnDef> |
getFields() |
Object |
getFieldValue(int fieldID) |
int |
getIndex_id() |
byte[] |
getIndex_name() |
IndexParams |
getIndex_params() |
SchemaID |
getSchema_id() |
byte[] |
getSchema_name() |
int |
hashCode() |
boolean |
isSetComment() |
boolean |
isSetFields() |
boolean |
isSetIndex_id() |
boolean |
isSetIndex_name() |
boolean |
isSetIndex_params() |
boolean |
isSetSchema_id() |
boolean |
isSetSchema_name() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
IndexItem |
setComment(byte[] comment) |
void |
setCommentIsSet(boolean __value) |
IndexItem |
setFields(List<ColumnDef> fields) |
void |
setFieldsIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
IndexItem |
setIndex_id(int index_id) |
void |
setIndex_idIsSet(boolean __value) |
IndexItem |
setIndex_name(byte[] index_name) |
void |
setIndex_nameIsSet(boolean __value) |
IndexItem |
setIndex_params(IndexParams index_params) |
void |
setIndex_paramsIsSet(boolean __value) |
IndexItem |
setSchema_id(SchemaID schema_id) |
void |
setSchema_idIsSet(boolean __value) |
IndexItem |
setSchema_name(byte[] schema_name) |
void |
setSchema_nameIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetComment() |
void |
unsetFields() |
void |
unsetIndex_id() |
void |
unsetIndex_name() |
void |
unsetIndex_params() |
void |
unsetSchema_id() |
void |
unsetSchema_name() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public int index_id
public byte[] index_name
public SchemaID schema_id
public byte[] schema_name
public byte[] comment
public IndexParams index_params
public static final int INDEX_ID
public static final int INDEX_NAME
public static final int SCHEMA_ID
public static final int SCHEMA_NAME
public static final int FIELDS
public static final int COMMENT
public static final int INDEX_PARAMS
public IndexItem()
public IndexItem(int index_id,
byte[] index_name,
SchemaID schema_id,
byte[] schema_name,
List<ColumnDef> fields)
public IndexItem(int index_id,
byte[] index_name,
SchemaID schema_id,
byte[] schema_name,
List<ColumnDef> fields,
byte[] comment,
IndexParams index_params)
public IndexItem(IndexItem other)
public static IndexItem.Builder builder()
public IndexItem deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic int getIndex_id()
public IndexItem setIndex_id(int index_id)
public void unsetIndex_id()
public boolean isSetIndex_id()
public void setIndex_idIsSet(boolean __value)
public byte[] getIndex_name()
public IndexItem setIndex_name(byte[] index_name)
public void unsetIndex_name()
public boolean isSetIndex_name()
public void setIndex_nameIsSet(boolean __value)
public SchemaID getSchema_id()
public void unsetSchema_id()
public boolean isSetSchema_id()
public void setSchema_idIsSet(boolean __value)
public byte[] getSchema_name()
public IndexItem setSchema_name(byte[] schema_name)
public void unsetSchema_name()
public boolean isSetSchema_name()
public void setSchema_nameIsSet(boolean __value)
public void unsetFields()
public boolean isSetFields()
public void setFieldsIsSet(boolean __value)
public byte[] getComment()
public IndexItem setComment(byte[] comment)
public void unsetComment()
public boolean isSetComment()
public void setCommentIsSet(boolean __value)
public IndexParams getIndex_params()
public IndexItem setIndex_params(IndexParams index_params)
public void unsetIndex_params()
public boolean isSetIndex_params()
public void setIndex_paramsIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(IndexItem other)
compareTo in interface Comparable<IndexItem>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.