Package org.apache.drill.exec.store.hive
Class HivePartition
java.lang.Object
org.apache.hadoop.hive.metastore.api.Partition
org.apache.drill.exec.store.hive.HivePartition
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<org.apache.hadoop.hive.metastore.api.Partition>
,org.apache.thrift.TBase<org.apache.hadoop.hive.metastore.api.Partition,
org.apache.hadoop.hive.metastore.api.Partition._Fields>
public class HivePartition
extends org.apache.hadoop.hive.metastore.api.Partition
This class is wrapper of
Partition
class and used for
storage of such additional information as index of list in column lists cache.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hive.metastore.api.Partition
org.apache.hadoop.hive.metastore.api.Partition._Fields
-
Field Summary
Fields inherited from class org.apache.hadoop.hive.metastore.api.Partition
metaDataMap
-
Constructor Summary
ConstructorDescriptionHivePartition
(List<String> values, String dbName, String tableName, int createTime, int lastAccessTime, org.apache.hadoop.hive.metastore.api.StorageDescriptor sd, Map<String, String> parameters, int columnListIndex) HivePartition
(org.apache.hadoop.hive.metastore.api.Partition other, int columnListIndex) -
Method Summary
Modifier and TypeMethodDescriptionint
To reduce physical plan for Hive tables, in partitions does not stored list of columns but stored index of that list in the table's column list cache.Methods inherited from class org.apache.hadoop.hive.metastore.api.Partition
addToValues, clear, compareTo, deepCopy, equals, equals, fieldForId, getCatName, getCreateTime, getDbName, getFieldValue, getLastAccessTime, getParameters, getParametersSize, getPrivileges, getSd, getTableName, getValues, getValuesIterator, getValuesSize, hashCode, isSet, isSetCatName, isSetCreateTime, isSetDbName, isSetLastAccessTime, isSetParameters, isSetPrivileges, isSetSd, isSetTableName, isSetValues, putToParameters, read, setCatName, setCatNameIsSet, setCreateTime, setCreateTimeIsSet, setDbName, setDbNameIsSet, setFieldValue, setLastAccessTime, setLastAccessTimeIsSet, setParameters, setParametersIsSet, setPrivileges, setPrivilegesIsSet, setSd, setSdIsSet, setTableName, setTableNameIsSet, setValues, setValuesIsSet, toString, unsetCatName, unsetCreateTime, unsetDbName, unsetLastAccessTime, unsetParameters, unsetPrivileges, unsetSd, unsetTableName, unsetValues, validate, write
-
Constructor Details
-
HivePartition
-
HivePartition
public HivePartition(org.apache.hadoop.hive.metastore.api.Partition other, int columnListIndex)
-
-
Method Details
-
getColumnListIndex
public int getColumnListIndex()To reduce physical plan for Hive tables, in partitions does not stored list of columns but stored index of that list in the table's column list cache.- Returns:
- index of partition column list in the table's column list cache
-