public class AggregateIndexHandler extends CompactIndexHandler
| Constructor and Description |
|---|
AggregateIndexHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
analyzeIndexDefinition(Table baseTable,
Index index,
Table indexTable)
Requests that the handler validate an index definition and fill in
additional information about its stored representation.
|
protected Task<?> |
getIndexBuilderMapRedTask(Set<ReadEntity> inputs,
Set<WriteEntity> outputs,
Index index,
boolean partitioned,
PartitionDesc indexTblPartDesc,
String indexTableName,
PartitionDesc baseTablePartDesc,
String baseTableName,
String dbName) |
checkQuerySize, generateIndexQuery, getIndexBuilderMapRedTask, usesIndexTablegenerateIndexBuildTaskList, getConf, getPartKVPairStringArray, setConf, setStatsDirgenerateIndexQuery, getColumnNamespublic void analyzeIndexDefinition(Table baseTable, Index index, Table indexTable) throws HiveException
HiveIndexHandleranalyzeIndexDefinition in interface HiveIndexHandleranalyzeIndexDefinition in class CompactIndexHandlerbaseTable - the definition of the table being indexedindex - the definition of the index being createdindexTable - a partial definition of the index table to be used for storing the
index representation, or null if usesIndexTable() returns false;
the handler can augment the index's storage descriptor (e.g. with
information about input/output format) and/or the index table's
definition (typically with additional columns containing the index
representation, e.g. pointers into HDFS).HiveException - if the index definition is invalid with respect to
either the base table or the supplied index table definitionprotected Task<?> getIndexBuilderMapRedTask(Set<ReadEntity> inputs, Set<WriteEntity> outputs, Index index, boolean partitioned, PartitionDesc indexTblPartDesc, String indexTableName, PartitionDesc baseTablePartDesc, String baseTableName, String dbName)
getIndexBuilderMapRedTask in class TableBasedIndexHandlerCopyright © 2017 The Apache Software Foundation. All rights reserved.