public static class PartitionManager.Interval extends TimeInterval
TimeInterval.FilterOverlappingIterator<T extends TimeInterval>| Constructor and Description |
|---|
Interval()
Constructs an interval without start or stop (covers all time)
|
Interval(long start,
long stop) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object value,
Partition partition)
Add a partition
|
void |
addHistogram(String columnName,
HistogramInfo histo) |
void |
addTimePartition(Partition partition) |
Partition |
get(Object value) |
HistogramInfo |
getHistogram(String columnName) |
Collection<HistogramInfo> |
getHistograms() |
Map<Object,Partition> |
getPartitions() |
Collection<HistogramInfo> |
removeHistograms() |
String |
toString() |
public Interval(long start,
long stop)
public Interval()
public void addTimePartition(Partition partition)
public void add(Object value, Partition partition)
value - - can be null in case of time based partitioningpublic void addHistogram(String columnName, HistogramInfo histo)
public HistogramInfo getHistogram(String columnName)
public Collection<HistogramInfo> getHistograms()
public String toString()
toString in class TimeIntervalpublic Collection<HistogramInfo> removeHistograms()
Copyright © 2018 Space Applications Services. All rights reserved.