This project has retired. For details please refer to its
Attic page .
AbridgedTimeRangeWriter (Lens 2.0.1-beta-incubating API)
org.apache.lens.cube.parse
Class AbridgedTimeRangeWriter
java.lang.Object
org.apache.lens.cube.parse.AbridgedTimeRangeWriter
public class AbridgedTimeRangeWriter extends Object
Collapses the time range filters using IN operators
AbridgedTimeRangeWriter
public AbridgedTimeRangeWriter ()
getTimeRangeWhereClause
public String getTimeRangeWhereClause (CubeQueryContext cubeQueryContext,
String tableName,
Set <org.apache.lens.cube.parse.FactPartition> parts)
throws org.apache.hadoop.hive.ql.parse.SemanticException
Return IN clause for the partitions selected in the cube query
Parameters: cubeQueryContext
- tableName
- parts
-
Returns:
Throws:
org.apache.hadoop.hive.ql.parse.SemanticException
Copyright © 2014–2015 Apache Software Foundation . All rights reserved.