public abstract class AbstractIndexHandler extends java.lang.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 java.lang.String |
getColumnNames(java.util.List<FieldSchema> fieldSchemas) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
analyzeIndexDefinition, generateIndexBuildTaskList, generateIndexQuery, usesIndexTable
public static java.lang.String getColumnNames(java.util.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 © 2012 The Apache Software Foundation