public class CreateFTIndexReq extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<CreateFTIndexReq>
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateFTIndexReq.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
fulltext_index_name |
static int |
FULLTEXT_INDEX_NAME |
FTIndex |
index |
static int |
INDEX |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
CreateFTIndexReq() |
CreateFTIndexReq(byte[] fulltext_index_name,
FTIndex index) |
CreateFTIndexReq(CreateFTIndexReq other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static CreateFTIndexReq.Builder |
builder() |
int |
compareTo(CreateFTIndexReq other) |
CreateFTIndexReq |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
Object |
getFieldValue(int fieldID) |
byte[] |
getFulltext_index_name() |
FTIndex |
getIndex() |
int |
hashCode() |
boolean |
isSetFulltext_index_name() |
boolean |
isSetIndex() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
void |
setFieldValue(int fieldID,
Object __value) |
CreateFTIndexReq |
setFulltext_index_name(byte[] fulltext_index_name) |
void |
setFulltext_index_nameIsSet(boolean __value) |
CreateFTIndexReq |
setIndex(FTIndex index) |
void |
setIndexIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetFulltext_index_name() |
void |
unsetIndex() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public byte[] fulltext_index_name
public FTIndex index
public static final int FULLTEXT_INDEX_NAME
public static final int INDEX
public CreateFTIndexReq()
public CreateFTIndexReq(byte[] fulltext_index_name,
FTIndex index)
public CreateFTIndexReq(CreateFTIndexReq other)
public static CreateFTIndexReq.Builder builder()
public CreateFTIndexReq deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic byte[] getFulltext_index_name()
public CreateFTIndexReq setFulltext_index_name(byte[] fulltext_index_name)
public void unsetFulltext_index_name()
public boolean isSetFulltext_index_name()
public void setFulltext_index_nameIsSet(boolean __value)
public FTIndex getIndex()
public CreateFTIndexReq setIndex(FTIndex index)
public void unsetIndex()
public boolean isSetIndex()
public void setIndexIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(CreateFTIndexReq other)
compareTo in interface Comparable<CreateFTIndexReq>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.