org.apache.hadoop.hive.ql.index
Class AbstractIndexHandler
java.lang.Object
org.apache.hadoop.hive.ql.index.AbstractIndexHandler
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, HiveIndexHandler
- Direct Known Subclasses:
- TableBasedIndexHandler
public abstract class AbstractIndexHandler
- extends Object
- implements HiveIndexHandler
Abstract base class for index handlers. This is provided as insulation
so that as HiveIndexHandler evolves, default implementations of new
methods can be added here in order to avoid breaking existing
plugin implementations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hadoop.conf.Configurable |
getConf, setConf |
AbstractIndexHandler
public AbstractIndexHandler()
getColumnNames
public static String getColumnNames(List<FieldSchema> fieldSchemas)
generateIndexQuery
public void generateIndexQuery(Index index,
ExprNodeDesc predicate,
ParseContext pctx,
HiveIndexQueryContext queryContext)
checkQuerySize
public boolean checkQuerySize(long inputSize,
HiveConf conf)
- Description copied from interface:
HiveIndexHandler
- Check the size of an input query to make sure it fits within the bounds
- Specified by:
checkQuerySize
in interface HiveIndexHandler
- Parameters:
inputSize
- size (in bytes) of the query in question
- Returns:
- true if query is within the bounds
Copyright © 2013 The Apache Software Foundation