This project has retired. For details please refer to its Attic page.
ORTimeRangeWriter (Lens 2.1.0-beta-incubating API)

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.