public class TimePartition extends Object implements Comparable<TimePartition>, Named
| Modifier and Type | Method and Description | 
|---|---|
| boolean | after(TimePartition when) | 
| boolean | before(TimePartition when) | 
| int | compareTo(TimePartition o) | 
| TimePartitionRange | emptyRange() | 
| String | getName() | 
| TimePartition | next() | 
| static TimePartition | of(UpdatePeriod updatePeriod,
  Date date) | 
| static TimePartition | of(UpdatePeriod updatePeriod,
  String dateString) | 
| TimePartition | partitionAtDiff(int increment) | 
| TimePartition | previous() | 
| TimePartitionRange | rangeFrom(TimePartition from) | 
| TimePartitionRange | rangeUpto(TimePartition to) | 
| TimePartitionRange | singletonRange() | 
| String | toString() | 
| TimePartition | withUpdatePeriod(UpdatePeriod period) | 
public static TimePartition of(UpdatePeriod updatePeriod, Date date) throws LensException
LensExceptionpublic static TimePartition of(UpdatePeriod updatePeriod, String dateString) throws LensException
LensExceptionpublic TimePartition withUpdatePeriod(UpdatePeriod period) throws LensException
LensExceptionpublic int compareTo(TimePartition o)
compareTo in interface Comparable<TimePartition>public TimePartition partitionAtDiff(int increment)
public TimePartition previous()
public TimePartition next()
public boolean before(TimePartition when)
public boolean after(TimePartition when)
public TimePartitionRange rangeUpto(TimePartition to) throws LensException
LensExceptionpublic TimePartitionRange rangeFrom(TimePartition from) throws LensException
LensExceptionpublic TimePartitionRange singletonRange() throws LensException
LensExceptionpublic TimePartitionRange emptyRange() throws LensException
LensExceptionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.