Package ai.heavy.thrift.server
Class TTableDetails
- java.lang.Object
-
- ai.heavy.thrift.server.TTableDetails
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TTableDetails>,org.apache.thrift.TBase<TTableDetails,TTableDetails._Fields>,org.apache.thrift.TSerializable
public class TTableDetails extends Object implements org.apache.thrift.TBase<TTableDetails,TTableDetails._Fields>, Serializable, Cloneable, Comparable<TTableDetails>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTTableDetails._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description longfragment_sizebooleanis_temporaryStringkey_metainfolongmax_rowsstatic Map<TTableDetails._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongpage_sizeTPartitionDetailpartition_detailTTableRefreshInforefresh_infoList<TColumnType>row_desclongshard_countTTableTypetable_typeStringview_sql
-
Constructor Summary
Constructors Constructor Description TTableDetails()TTableDetails(TTableDetails other)Performs a deep copy on other.TTableDetails(List<TColumnType> row_desc, long fragment_size, long page_size, long max_rows, String view_sql, long shard_count, String key_metainfo, boolean is_temporary, TPartitionDetail partition_detail, TTableType table_type, TTableRefreshInfo refresh_info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToRow_desc(TColumnType elem)voidclear()intcompareTo(TTableDetails other)TTableDetailsdeepCopy()booleanequals(TTableDetails that)booleanequals(Object that)TTableDetails._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TTableDetails._Fields field)longgetFragment_size()StringgetKey_metainfo()longgetMax_rows()longgetPage_size()TPartitionDetailgetPartition_detail()TTableRefreshInfogetRefresh_info()List<TColumnType>getRow_desc()Iterator<TColumnType>getRow_descIterator()intgetRow_descSize()longgetShard_count()TTableTypegetTable_type()StringgetView_sql()inthashCode()booleanisIs_temporary()booleanisSet(TTableDetails._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetFragment_size()Returns true if field fragment_size is set (has been assigned a value) and false otherwisebooleanisSetIs_temporary()Returns true if field is_temporary is set (has been assigned a value) and false otherwisebooleanisSetKey_metainfo()Returns true if field key_metainfo is set (has been assigned a value) and false otherwisebooleanisSetMax_rows()Returns true if field max_rows is set (has been assigned a value) and false otherwisebooleanisSetPage_size()Returns true if field page_size is set (has been assigned a value) and false otherwisebooleanisSetPartition_detail()Returns true if field partition_detail is set (has been assigned a value) and false otherwisebooleanisSetRefresh_info()Returns true if field refresh_info is set (has been assigned a value) and false otherwisebooleanisSetRow_desc()Returns true if field row_desc is set (has been assigned a value) and false otherwisebooleanisSetShard_count()Returns true if field shard_count is set (has been assigned a value) and false otherwisebooleanisSetTable_type()Returns true if field table_type is set (has been assigned a value) and false otherwisebooleanisSetView_sql()Returns true if field view_sql is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TTableDetails._Fields field, Object value)TTableDetailssetFragment_size(long fragment_size)voidsetFragment_sizeIsSet(boolean value)TTableDetailssetIs_temporary(boolean is_temporary)voidsetIs_temporaryIsSet(boolean value)TTableDetailssetKey_metainfo(String key_metainfo)voidsetKey_metainfoIsSet(boolean value)TTableDetailssetMax_rows(long max_rows)voidsetMax_rowsIsSet(boolean value)TTableDetailssetPage_size(long page_size)voidsetPage_sizeIsSet(boolean value)TTableDetailssetPartition_detail(TPartitionDetail partition_detail)voidsetPartition_detailIsSet(boolean value)TTableDetailssetRefresh_info(TTableRefreshInfo refresh_info)voidsetRefresh_infoIsSet(boolean value)TTableDetailssetRow_desc(List<TColumnType> row_desc)voidsetRow_descIsSet(boolean value)TTableDetailssetShard_count(long shard_count)voidsetShard_countIsSet(boolean value)TTableDetailssetTable_type(TTableType table_type)voidsetTable_typeIsSet(boolean value)TTableDetailssetView_sql(String view_sql)voidsetView_sqlIsSet(boolean value)StringtoString()voidunsetFragment_size()voidunsetIs_temporary()voidunsetKey_metainfo()voidunsetMax_rows()voidunsetPage_size()voidunsetPartition_detail()voidunsetRefresh_info()voidunsetRow_desc()voidunsetShard_count()voidunsetTable_type()voidunsetView_sql()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
row_desc
public List<TColumnType> row_desc
-
fragment_size
public long fragment_size
-
page_size
public long page_size
-
max_rows
public long max_rows
-
view_sql
public String view_sql
-
shard_count
public long shard_count
-
key_metainfo
public String key_metainfo
-
is_temporary
public boolean is_temporary
-
partition_detail
public TPartitionDetail partition_detail
- See Also:
TPartitionDetail
-
table_type
public TTableType table_type
- See Also:
TTableType
-
refresh_info
public TTableRefreshInfo refresh_info
-
metaDataMap
public static final Map<TTableDetails._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TTableDetails
public TTableDetails()
-
TTableDetails
public TTableDetails(List<TColumnType> row_desc, long fragment_size, long page_size, long max_rows, String view_sql, long shard_count, String key_metainfo, boolean is_temporary, TPartitionDetail partition_detail, TTableType table_type, TTableRefreshInfo refresh_info)
-
TTableDetails
public TTableDetails(TTableDetails other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TTableDetails deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TTableDetails,TTableDetails._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TTableDetails,TTableDetails._Fields>
-
getRow_descSize
public int getRow_descSize()
-
getRow_descIterator
public Iterator<TColumnType> getRow_descIterator()
-
addToRow_desc
public void addToRow_desc(TColumnType elem)
-
getRow_desc
public List<TColumnType> getRow_desc()
-
setRow_desc
public TTableDetails setRow_desc(List<TColumnType> row_desc)
-
unsetRow_desc
public void unsetRow_desc()
-
isSetRow_desc
public boolean isSetRow_desc()
Returns true if field row_desc is set (has been assigned a value) and false otherwise
-
setRow_descIsSet
public void setRow_descIsSet(boolean value)
-
getFragment_size
public long getFragment_size()
-
setFragment_size
public TTableDetails setFragment_size(long fragment_size)
-
unsetFragment_size
public void unsetFragment_size()
-
isSetFragment_size
public boolean isSetFragment_size()
Returns true if field fragment_size is set (has been assigned a value) and false otherwise
-
setFragment_sizeIsSet
public void setFragment_sizeIsSet(boolean value)
-
getPage_size
public long getPage_size()
-
setPage_size
public TTableDetails setPage_size(long page_size)
-
unsetPage_size
public void unsetPage_size()
-
isSetPage_size
public boolean isSetPage_size()
Returns true if field page_size is set (has been assigned a value) and false otherwise
-
setPage_sizeIsSet
public void setPage_sizeIsSet(boolean value)
-
getMax_rows
public long getMax_rows()
-
setMax_rows
public TTableDetails setMax_rows(long max_rows)
-
unsetMax_rows
public void unsetMax_rows()
-
isSetMax_rows
public boolean isSetMax_rows()
Returns true if field max_rows is set (has been assigned a value) and false otherwise
-
setMax_rowsIsSet
public void setMax_rowsIsSet(boolean value)
-
getView_sql
public String getView_sql()
-
setView_sql
public TTableDetails setView_sql(String view_sql)
-
unsetView_sql
public void unsetView_sql()
-
isSetView_sql
public boolean isSetView_sql()
Returns true if field view_sql is set (has been assigned a value) and false otherwise
-
setView_sqlIsSet
public void setView_sqlIsSet(boolean value)
-
getShard_count
public long getShard_count()
-
setShard_count
public TTableDetails setShard_count(long shard_count)
-
unsetShard_count
public void unsetShard_count()
-
isSetShard_count
public boolean isSetShard_count()
Returns true if field shard_count is set (has been assigned a value) and false otherwise
-
setShard_countIsSet
public void setShard_countIsSet(boolean value)
-
getKey_metainfo
public String getKey_metainfo()
-
setKey_metainfo
public TTableDetails setKey_metainfo(String key_metainfo)
-
unsetKey_metainfo
public void unsetKey_metainfo()
-
isSetKey_metainfo
public boolean isSetKey_metainfo()
Returns true if field key_metainfo is set (has been assigned a value) and false otherwise
-
setKey_metainfoIsSet
public void setKey_metainfoIsSet(boolean value)
-
isIs_temporary
public boolean isIs_temporary()
-
setIs_temporary
public TTableDetails setIs_temporary(boolean is_temporary)
-
unsetIs_temporary
public void unsetIs_temporary()
-
isSetIs_temporary
public boolean isSetIs_temporary()
Returns true if field is_temporary is set (has been assigned a value) and false otherwise
-
setIs_temporaryIsSet
public void setIs_temporaryIsSet(boolean value)
-
getPartition_detail
public TPartitionDetail getPartition_detail()
- See Also:
TPartitionDetail
-
setPartition_detail
public TTableDetails setPartition_detail(TPartitionDetail partition_detail)
- See Also:
TPartitionDetail
-
unsetPartition_detail
public void unsetPartition_detail()
-
isSetPartition_detail
public boolean isSetPartition_detail()
Returns true if field partition_detail is set (has been assigned a value) and false otherwise
-
setPartition_detailIsSet
public void setPartition_detailIsSet(boolean value)
-
getTable_type
public TTableType getTable_type()
- See Also:
TTableType
-
setTable_type
public TTableDetails setTable_type(TTableType table_type)
- See Also:
TTableType
-
unsetTable_type
public void unsetTable_type()
-
isSetTable_type
public boolean isSetTable_type()
Returns true if field table_type is set (has been assigned a value) and false otherwise
-
setTable_typeIsSet
public void setTable_typeIsSet(boolean value)
-
getRefresh_info
public TTableRefreshInfo getRefresh_info()
-
setRefresh_info
public TTableDetails setRefresh_info(TTableRefreshInfo refresh_info)
-
unsetRefresh_info
public void unsetRefresh_info()
-
isSetRefresh_info
public boolean isSetRefresh_info()
Returns true if field refresh_info is set (has been assigned a value) and false otherwise
-
setRefresh_infoIsSet
public void setRefresh_infoIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TTableDetails._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TTableDetails,TTableDetails._Fields>
-
getFieldValue
public Object getFieldValue(TTableDetails._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TTableDetails,TTableDetails._Fields>
-
isSet
public boolean isSet(TTableDetails._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TTableDetails,TTableDetails._Fields>
-
equals
public boolean equals(TTableDetails that)
-
compareTo
public int compareTo(TTableDetails other)
- Specified by:
compareToin interfaceComparable<TTableDetails>
-
fieldForId
public TTableDetails._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TTableDetails,TTableDetails._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-