org.apache.lens.cube.parse
Class ORTimeRangeWriter

java.lang.Object
  extended by org.apache.lens.cube.parse.ORTimeRangeWriter
All Implemented Interfaces:
TimeRangeWriter

public class ORTimeRangeWriter
extends Object
implements TimeRangeWriter

Writes timerange partitions as an OR expression.


Constructor Summary
ORTimeRangeWriter()
           
 
Method Summary
 String getTimeRangeWhereClause(CubeQueryContext cubeQueryContext, String tableName, Set<FactPartition> rangeParts)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ORTimeRangeWriter

public ORTimeRangeWriter()
Method Detail

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.