Class HiveTableWithColumnCache

java.lang.Object
org.apache.hadoop.hive.metastore.api.Table
org.apache.drill.exec.store.hive.HiveTableWithColumnCache
All Implemented Interfaces:
Serializable, Cloneable, Comparable<org.apache.hadoop.hive.metastore.api.Table>, org.apache.thrift.TBase<org.apache.hadoop.hive.metastore.api.Table,org.apache.hadoop.hive.metastore.api.Table._Fields>

public class HiveTableWithColumnCache extends org.apache.hadoop.hive.metastore.api.Table
This class is wrapper of Table class and used for storage of such additional information as column lists cache.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.hadoop.hive.metastore.api.Table

    org.apache.hadoop.hive.metastore.api.Table._Fields
  • Field Summary

    Fields inherited from class org.apache.hadoop.hive.metastore.api.Table

    metaDataMap
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    HiveTableWithColumnCache(String tableName, String dbName, String owner, int createTime, int lastAccessTime, int retention, org.apache.hadoop.hive.metastore.api.StorageDescriptor sd, List<org.apache.hadoop.hive.metastore.api.FieldSchema> partitionKeys, Map<String,String> parameters, String viewOriginalText, String viewExpandedText, String tableType, ColumnListsCache columnListsCache)
     
     
    HiveTableWithColumnCache(org.apache.hadoop.hive.metastore.api.Table other, ColumnListsCache columnListsCache)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    To reduce physical plan for Hive tables, unique partition lists of columns stored in the table's column lists cache.

    Methods inherited from class org.apache.hadoop.hive.metastore.api.Table

    addToPartitionKeys, clear, compareTo, deepCopy, equals, equals, fieldForId, getCatName, getCreateTime, getCreationMetadata, getDbName, getFieldValue, getLastAccessTime, getOwner, getOwnerType, getParameters, getParametersSize, getPartitionKeys, getPartitionKeysIterator, getPartitionKeysSize, getPrivileges, getRetention, getSd, getTableName, getTableType, getViewExpandedText, getViewOriginalText, hashCode, isRewriteEnabled, isSet, isSetCatName, isSetCreateTime, isSetCreationMetadata, isSetDbName, isSetLastAccessTime, isSetOwner, isSetOwnerType, isSetParameters, isSetPartitionKeys, isSetPrivileges, isSetRetention, isSetRewriteEnabled, isSetSd, isSetTableName, isSetTableType, isSetTemporary, isSetViewExpandedText, isSetViewOriginalText, isTemporary, putToParameters, read, setCatName, setCatNameIsSet, setCreateTime, setCreateTimeIsSet, setCreationMetadata, setCreationMetadataIsSet, setDbName, setDbNameIsSet, setFieldValue, setLastAccessTime, setLastAccessTimeIsSet, setOwner, setOwnerIsSet, setOwnerType, setOwnerTypeIsSet, setParameters, setParametersIsSet, setPartitionKeys, setPartitionKeysIsSet, setPrivileges, setPrivilegesIsSet, setRetention, setRetentionIsSet, setRewriteEnabled, setRewriteEnabledIsSet, setSd, setSdIsSet, setTableName, setTableNameIsSet, setTableType, setTableTypeIsSet, setTemporary, setTemporaryIsSet, setViewExpandedText, setViewExpandedTextIsSet, setViewOriginalText, setViewOriginalTextIsSet, toString, unsetCatName, unsetCreateTime, unsetCreationMetadata, unsetDbName, unsetLastAccessTime, unsetOwner, unsetOwnerType, unsetParameters, unsetPartitionKeys, unsetPrivileges, unsetRetention, unsetRewriteEnabled, unsetSd, unsetTableName, unsetTableType, unsetTemporary, unsetViewExpandedText, unsetViewOriginalText, validate, write

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • HiveTableWithColumnCache

      public HiveTableWithColumnCache()
    • HiveTableWithColumnCache

      public HiveTableWithColumnCache(String tableName, String dbName, String owner, int createTime, int lastAccessTime, int retention, org.apache.hadoop.hive.metastore.api.StorageDescriptor sd, List<org.apache.hadoop.hive.metastore.api.FieldSchema> partitionKeys, Map<String,String> parameters, String viewOriginalText, String viewExpandedText, String tableType, ColumnListsCache columnListsCache)
    • HiveTableWithColumnCache

      public HiveTableWithColumnCache(HiveTableWithColumnCache other)
    • HiveTableWithColumnCache

      public HiveTableWithColumnCache(org.apache.hadoop.hive.metastore.api.Table other, ColumnListsCache columnListsCache)
  • Method Details

    • getColumnListsCache

      public ColumnListsCache getColumnListsCache()
      To reduce physical plan for Hive tables, unique partition lists of columns stored in the table's column lists cache.
      Returns:
      table's column lists cache