org.apache.lens.cube.parse
Class BetweenTimeRangeWriter

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

public class BetweenTimeRangeWriter
extends Object
implements TimeRangeWriter

Writes partitions queried in timerange as between clause.


Constructor Summary
BetweenTimeRangeWriter()
           
 
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

BetweenTimeRangeWriter

public BetweenTimeRangeWriter()
Method Detail

getTimeRangeWhereClause

public String getTimeRangeWhereClause(CubeQueryContext cubeQueryContext,
                                      String tableName,
                                      Set<FactPartition> rangeParts)
                               throws org.apache.hadoop.hive.ql.parse.SemanticException
Specified by:
getTimeRangeWhereClause in interface TimeRangeWriter
Throws:
org.apache.hadoop.hive.ql.parse.SemanticException


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.