|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.cube.metadata.TimePartitionRange
public class TimePartitionRange
Range of time partition. [begin,end). i.e. inclusive begin and exclusive end.
Constructor Summary | |
---|---|
TimePartitionRange(TimePartition begin,
TimePartition end)
|
Method Summary | |
---|---|
boolean |
contains(TimePartition partition)
|
String |
getName()
|
boolean |
isEmpty()
|
Iterator<TimePartition> |
iterator()
returns TimePartition objects starting from begin and upto(excluding) end. |
static TimePartitionRange |
parseFrom(UpdatePeriod updatePeriod,
String from,
String to)
|
long |
size()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TimePartitionRange(TimePartition begin, TimePartition end) throws LensException
LensException
Method Detail |
---|
public String toString()
toString
in class Object
public Iterator<TimePartition> iterator()
iterator
in interface Iterable<TimePartition>
public boolean contains(TimePartition partition)
partition
-
public boolean isEmpty()
public String getName()
getName
in interface Named
public static TimePartitionRange parseFrom(UpdatePeriod updatePeriod, String from, String to) throws LensException
LensException
public long size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |