public class FTIndex extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<FTIndex>
| Modifier and Type | Class and Description |
|---|---|
static class |
FTIndex.Builder |
| Modifier and Type | Field and Description |
|---|---|
SchemaID |
depend_schema |
static int |
DEPEND_SCHEMA |
List<byte[]> |
fields |
static int |
FIELDS |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
space_id |
static int |
SPACE_ID |
| Constructor and Description |
|---|
FTIndex() |
FTIndex(FTIndex other)
Performs a deep copy on other.
|
FTIndex(int space_id,
SchemaID depend_schema,
List<byte[]> fields) |
| Modifier and Type | Method and Description |
|---|---|
static FTIndex.Builder |
builder() |
int |
compareTo(FTIndex other) |
FTIndex |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
SchemaID |
getDepend_schema() |
List<byte[]> |
getFields() |
Object |
getFieldValue(int fieldID) |
int |
getSpace_id() |
int |
hashCode() |
boolean |
isSetDepend_schema() |
boolean |
isSetFields() |
boolean |
isSetSpace_id() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
FTIndex |
setDepend_schema(SchemaID depend_schema) |
void |
setDepend_schemaIsSet(boolean __value) |
FTIndex |
setFields(List<byte[]> fields) |
void |
setFieldsIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
FTIndex |
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 |
unsetDepend_schema() |
void |
unsetFields() |
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 SchemaID depend_schema
public List<byte[]> fields
public static final int SPACE_ID
public static final int DEPEND_SCHEMA
public static final int FIELDS
public FTIndex()
public FTIndex(FTIndex other)
public static FTIndex.Builder builder()
public FTIndex 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 FTIndex setSpace_id(int space_id)
public void unsetSpace_id()
public boolean isSetSpace_id()
public void setSpace_idIsSet(boolean __value)
public SchemaID getDepend_schema()
public void unsetDepend_schema()
public boolean isSetDepend_schema()
public void setDepend_schemaIsSet(boolean __value)
public List<byte[]> getFields()
public void unsetFields()
public boolean isSetFields()
public void setFieldsIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(FTIndex other)
compareTo in interface Comparable<FTIndex>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.