public class Index extends Object implements org.apache.thrift.TBase<Index,Index._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Index._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<Index._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
Index() |
Index(Index other)
Performs a deep copy on other.
|
Index(String indexName,
String indexHandlerClass,
String dbName,
String origTableName,
int createTime,
int lastAccessTime,
String indexTableName,
StorageDescriptor sd,
Map<String,String> parameters,
boolean deferredRebuild) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(Index other) |
Index |
deepCopy() |
boolean |
equals(Index that) |
boolean |
equals(Object that) |
Index._Fields |
fieldForId(int fieldId) |
int |
getCreateTime() |
String |
getDbName() |
Object |
getFieldValue(Index._Fields field) |
String |
getIndexHandlerClass() |
String |
getIndexName() |
String |
getIndexTableName() |
int |
getLastAccessTime() |
String |
getOrigTableName() |
Map<String,String> |
getParameters() |
int |
getParametersSize() |
StorageDescriptor |
getSd() |
int |
hashCode() |
boolean |
isDeferredRebuild() |
boolean |
isSet(Index._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCreateTime()
Returns true if field createTime is set (has been assigned a value) and false otherwise
|
boolean |
isSetDbName()
Returns true if field dbName is set (has been assigned a value) and false otherwise
|
boolean |
isSetDeferredRebuild()
Returns true if field deferredRebuild is set (has been assigned a value) and false otherwise
|
boolean |
isSetIndexHandlerClass()
Returns true if field indexHandlerClass is set (has been assigned a value) and false otherwise
|
boolean |
isSetIndexName()
Returns true if field indexName is set (has been assigned a value) and false otherwise
|
boolean |
isSetIndexTableName()
Returns true if field indexTableName is set (has been assigned a value) and false otherwise
|
boolean |
isSetLastAccessTime()
Returns true if field lastAccessTime is set (has been assigned a value) and false otherwise
|
boolean |
isSetOrigTableName()
Returns true if field origTableName is set (has been assigned a value) and false otherwise
|
boolean |
isSetParameters()
Returns true if field parameters is set (has been assigned a value) and false otherwise
|
boolean |
isSetSd()
Returns true if field sd is set (has been assigned a value) and false otherwise
|
void |
putToParameters(String key,
String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCreateTime(int createTime) |
void |
setCreateTimeIsSet(boolean value) |
void |
setDbName(String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setDeferredRebuild(boolean deferredRebuild) |
void |
setDeferredRebuildIsSet(boolean value) |
void |
setFieldValue(Index._Fields field,
Object value) |
void |
setIndexHandlerClass(String indexHandlerClass) |
void |
setIndexHandlerClassIsSet(boolean value) |
void |
setIndexName(String indexName) |
void |
setIndexNameIsSet(boolean value) |
void |
setIndexTableName(String indexTableName) |
void |
setIndexTableNameIsSet(boolean value) |
void |
setLastAccessTime(int lastAccessTime) |
void |
setLastAccessTimeIsSet(boolean value) |
void |
setOrigTableName(String origTableName) |
void |
setOrigTableNameIsSet(boolean value) |
void |
setParameters(Map<String,String> parameters) |
void |
setParametersIsSet(boolean value) |
void |
setSd(StorageDescriptor sd) |
void |
setSdIsSet(boolean value) |
String |
toString() |
void |
unsetCreateTime() |
void |
unsetDbName() |
void |
unsetDeferredRebuild() |
void |
unsetIndexHandlerClass() |
void |
unsetIndexName() |
void |
unsetIndexTableName() |
void |
unsetLastAccessTime() |
void |
unsetOrigTableName() |
void |
unsetParameters() |
void |
unsetSd() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<Index._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Index()
public Index(String indexName, String indexHandlerClass, String dbName, String origTableName, int createTime, int lastAccessTime, String indexTableName, StorageDescriptor sd, Map<String,String> parameters, boolean deferredRebuild)
public Index(Index other)
public Index deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Index,Index._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Index,Index._Fields>
public String getIndexName()
public void setIndexName(String indexName)
public void unsetIndexName()
public boolean isSetIndexName()
public void setIndexNameIsSet(boolean value)
public String getIndexHandlerClass()
public void setIndexHandlerClass(String indexHandlerClass)
public void unsetIndexHandlerClass()
public boolean isSetIndexHandlerClass()
public void setIndexHandlerClassIsSet(boolean value)
public String getDbName()
public void setDbName(String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public String getOrigTableName()
public void setOrigTableName(String origTableName)
public void unsetOrigTableName()
public boolean isSetOrigTableName()
public void setOrigTableNameIsSet(boolean value)
public int getCreateTime()
public void setCreateTime(int createTime)
public void unsetCreateTime()
public boolean isSetCreateTime()
public void setCreateTimeIsSet(boolean value)
public int getLastAccessTime()
public void setLastAccessTime(int lastAccessTime)
public void unsetLastAccessTime()
public boolean isSetLastAccessTime()
public void setLastAccessTimeIsSet(boolean value)
public String getIndexTableName()
public void setIndexTableName(String indexTableName)
public void unsetIndexTableName()
public boolean isSetIndexTableName()
public void setIndexTableNameIsSet(boolean value)
public StorageDescriptor getSd()
public void setSd(StorageDescriptor sd)
public void unsetSd()
public boolean isSetSd()
public void setSdIsSet(boolean value)
public int getParametersSize()
public void unsetParameters()
public boolean isSetParameters()
public void setParametersIsSet(boolean value)
public boolean isDeferredRebuild()
public void setDeferredRebuild(boolean deferredRebuild)
public void unsetDeferredRebuild()
public boolean isSetDeferredRebuild()
public void setDeferredRebuildIsSet(boolean value)
public void setFieldValue(Index._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Index,Index._Fields>
public Object getFieldValue(Index._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Index,Index._Fields>
public boolean isSet(Index._Fields field)
isSet
in interface org.apache.thrift.TBase<Index,Index._Fields>
public boolean equals(Index that)
public int compareTo(Index other)
compareTo
in interface Comparable<Index>
public Index._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Index,Index._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Index,Index._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<Index,Index._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.