org.apache.lens.cube.parse
Class BetweenTimeRangeWriter
java.lang.Object
org.apache.lens.cube.parse.BetweenTimeRangeWriter
- All Implemented Interfaces:
- TimeRangeWriter
public class BetweenTimeRangeWriter
- extends Object
- implements TimeRangeWriter
Writes partitions queried in timerange as between clause.
BetweenTimeRangeWriter
public BetweenTimeRangeWriter()
getTimeRangeWhereClause
public String getTimeRangeWhereClause(CubeQueryContext cubeQueryContext,
String tableName,
Set<FactPartition> rangeParts)
throws org.apache.hadoop.hive.ql.parse.SemanticException
- Specified by:
getTimeRangeWhereClause
in interface TimeRangeWriter
- Throws:
org.apache.hadoop.hive.ql.parse.SemanticException
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.