org.apache.lens.cube.parse
Class AbridgedTimeRangeWriter
java.lang.Object
org.apache.lens.cube.parse.AbridgedTimeRangeWriter
- All Implemented Interfaces:
- TimeRangeWriter
public class AbridgedTimeRangeWriter
- extends Object
- implements TimeRangeWriter
Collapses the time range filters using IN operators
AbridgedTimeRangeWriter
public AbridgedTimeRangeWriter()
getTimeRangeWhereClause
public String getTimeRangeWhereClause(CubeQueryContext cubeQueryContext,
String tableName,
Set<FactPartition> parts)
throws org.apache.hadoop.hive.ql.parse.SemanticException
- Return IN clause for the partitions selected in the cube query
- Specified by:
getTimeRangeWhereClause
in interface TimeRangeWriter
- Parameters:
cubeQueryContext
- tableName
- parts
-
- Returns:
-
- Throws:
org.apache.hadoop.hive.ql.parse.SemanticException
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.