@Generated(value="Autogenerated by Thrift Compiler (0.12.0)", date="2024-01-03") public class Table extends Object implements org.apache.thrift.TBase<Table,Table._Fields>, Serializable, Cloneable, Comparable<Table>
| Modifier and Type | Class and Description |
|---|---|
static class |
Table._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
long |
createTime |
String |
databaseName |
String |
location |
static Map<Table._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
owner |
Map<String,String> |
parameters |
List<FieldSchema> |
partitionKeys |
String |
tableName |
String |
tableType |
| Constructor and Description |
|---|
Table() |
Table(String tableName,
String databaseName,
String owner,
long createTime,
String location,
String tableType,
List<FieldSchema> partitionKeys,
Map<String,String> parameters) |
Table(Table other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToPartitionKeys(FieldSchema elem) |
void |
clear() |
int |
compareTo(Table other) |
Table |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(Table that) |
Table._Fields |
fieldForId(int fieldId) |
long |
getCreateTime() |
String |
getDatabaseName() |
Object |
getFieldValue(Table._Fields field) |
String |
getLocation() |
String |
getOwner() |
Map<String,String> |
getParameters() |
int |
getParametersSize() |
List<FieldSchema> |
getPartitionKeys() |
Iterator<FieldSchema> |
getPartitionKeysIterator() |
int |
getPartitionKeysSize() |
String |
getTableName() |
String |
getTableType() |
int |
hashCode() |
boolean |
isSet(Table._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 |
isSetDatabaseName()
Returns true if field databaseName is set (has been assigned a value) and false otherwise
|
boolean |
isSetLocation()
Returns true if field location is set (has been assigned a value) and false otherwise
|
boolean |
isSetOwner()
Returns true if field owner 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 |
isSetPartitionKeys()
Returns true if field partitionKeys is set (has been assigned a value) and false otherwise
|
boolean |
isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwise
|
boolean |
isSetTableType()
Returns true if field tableType is set (has been assigned a value) and false otherwise
|
void |
putToParameters(String key,
String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Table |
setCreateTime(long createTime) |
void |
setCreateTimeIsSet(boolean value) |
Table |
setDatabaseName(String databaseName) |
void |
setDatabaseNameIsSet(boolean value) |
void |
setFieldValue(Table._Fields field,
Object value) |
Table |
setLocation(String location) |
void |
setLocationIsSet(boolean value) |
Table |
setOwner(String owner) |
void |
setOwnerIsSet(boolean value) |
Table |
setParameters(Map<String,String> parameters) |
void |
setParametersIsSet(boolean value) |
Table |
setPartitionKeys(List<FieldSchema> partitionKeys) |
void |
setPartitionKeysIsSet(boolean value) |
Table |
setTableName(String tableName) |
void |
setTableNameIsSet(boolean value) |
Table |
setTableType(String tableType) |
void |
setTableTypeIsSet(boolean value) |
String |
toString() |
void |
unsetCreateTime() |
void |
unsetDatabaseName() |
void |
unsetLocation() |
void |
unsetOwner() |
void |
unsetParameters() |
void |
unsetPartitionKeys() |
void |
unsetTableName() |
void |
unsetTableType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public String tableName
public String databaseName
public String owner
public long createTime
public String location
public String tableType
public List<FieldSchema> partitionKeys
public static final Map<Table._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Table()
public Table(String tableName, String databaseName, String owner, long createTime, String location, String tableType, List<FieldSchema> partitionKeys, Map<String,String> parameters)
public Table(Table other)
public Table deepCopy()
deepCopy in interface org.apache.thrift.TBase<Table,Table._Fields>public void clear()
clear in interface org.apache.thrift.TBase<Table,Table._Fields>public String getTableName()
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public String getDatabaseName()
public void unsetDatabaseName()
public boolean isSetDatabaseName()
public void setDatabaseNameIsSet(boolean value)
public String getOwner()
public void unsetOwner()
public boolean isSetOwner()
public void setOwnerIsSet(boolean value)
public long getCreateTime()
public Table setCreateTime(long createTime)
public void unsetCreateTime()
public boolean isSetCreateTime()
public void setCreateTimeIsSet(boolean value)
public String getLocation()
public void unsetLocation()
public boolean isSetLocation()
public void setLocationIsSet(boolean value)
public String getTableType()
public void unsetTableType()
public boolean isSetTableType()
public void setTableTypeIsSet(boolean value)
public int getPartitionKeysSize()
public Iterator<FieldSchema> getPartitionKeysIterator()
public void addToPartitionKeys(FieldSchema elem)
public List<FieldSchema> getPartitionKeys()
public Table setPartitionKeys(List<FieldSchema> partitionKeys)
public void unsetPartitionKeys()
public boolean isSetPartitionKeys()
public void setPartitionKeysIsSet(boolean value)
public int getParametersSize()
public void unsetParameters()
public boolean isSetParameters()
public void setParametersIsSet(boolean value)
public void setFieldValue(Table._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<Table,Table._Fields>public Object getFieldValue(Table._Fields field)
getFieldValue in interface org.apache.thrift.TBase<Table,Table._Fields>public boolean isSet(Table._Fields field)
isSet in interface org.apache.thrift.TBase<Table,Table._Fields>public boolean equals(Table that)
public int compareTo(Table other)
compareTo in interface Comparable<Table>public Table._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<Table,Table._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.