public abstract class AbstractIndexHandler extends Object implements HiveIndexHandler
Constructor and Description |
---|
AbstractIndexHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkQuerySize(long inputSize,
HiveConf conf)
Check the size of an input query to make sure it fits within the bounds
|
void |
generateIndexQuery(Index index,
ExprNodeDesc predicate,
ParseContext pctx,
HiveIndexQueryContext queryContext) |
static String |
getColumnNames(List<FieldSchema> fieldSchemas) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
analyzeIndexDefinition, generateIndexBuildTaskList, generateIndexQuery, usesIndexTable
public static String getColumnNames(List<FieldSchema> fieldSchemas)
public void generateIndexQuery(Index index, ExprNodeDesc predicate, ParseContext pctx, HiveIndexQueryContext queryContext)
public boolean checkQuerySize(long inputSize, HiveConf conf)
HiveIndexHandler
checkQuerySize
in interface HiveIndexHandler
inputSize
- size (in bytes) of the query in questionCopyright © 2017 The Apache Software Foundation. All rights reserved.