org.apache.lens.cube.parse
Class ORTimeRangeWriter
java.lang.Object
org.apache.lens.cube.parse.ORTimeRangeWriter
- All Implemented Interfaces:
- TimeRangeWriter
public class ORTimeRangeWriter
- extends Object
- implements TimeRangeWriter
Writes timerange partitions as an OR expression.
ORTimeRangeWriter
public ORTimeRangeWriter()
getTimeRangeWhereClause
public String getTimeRangeWhereClause(CubeQueryContext cubeQueryContext,
String tableName,
Set<FactPartition> rangeParts)
- Specified by:
getTimeRangeWhereClause
in interface TimeRangeWriter
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.