Package | Description |
---|---|
org.apache.lens.cube.metadata | |
org.apache.lens.cube.metadata.timeline | |
org.apache.lens.cube.parse |
Modifier and Type | Method and Description |
---|---|
TimePartition |
TimePartitionRange.getBegin() |
TimePartition |
TimePartitionRange.getEnd() |
TimePartition |
FactPartition.getTimePartition() |
static TimePartition |
TimePartition.max(TimePartition p1,
TimePartition p2) |
static TimePartition |
TimePartition.min(TimePartition p1,
TimePartition p2) |
TimePartition |
TimePartition.next() |
static TimePartition |
TimePartition.of(UpdatePeriod updatePeriod,
Date date) |
static TimePartition |
TimePartition.of(UpdatePeriod updatePeriod,
String dateString) |
TimePartition |
TimePartition.partitionAtDiff(int increment) |
TimePartition |
TimePartition.previous() |
TimePartition |
TimePartition.withUpdatePeriod(UpdatePeriod period) |
Modifier and Type | Method and Description |
---|---|
Iterator<TimePartition> |
TimePartitionRange.iterator()
returns TimePartition objects starting from begin and upto(excluding) end.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TimePartition.after(TimePartition when) |
boolean |
TimePartition.before(TimePartition when) |
int |
TimePartition.compareTo(TimePartition o) |
boolean |
TimePartitionRange.contains(TimePartition partition) |
static TimePartition |
TimePartition.max(TimePartition p1,
TimePartition p2) |
static TimePartition |
TimePartition.min(TimePartition p1,
TimePartition p2) |
TimePartitionRange |
TimePartition.rangeFrom(TimePartition from) |
TimePartitionRange |
TimePartition.rangeUpto(TimePartition to) |
void |
TimePartitionRange.setBegin(TimePartition begin) |
void |
TimePartitionRange.setEnd(TimePartition end) |
Constructor and Description |
---|
FactPartition(String partCol,
TimePartition timePartition) |
FactPartition(String partCol,
TimePartition timePartition,
FactPartition containingPart,
Set<String> storageTables) |
TimePartitionRange(TimePartition begin,
TimePartition end) |
Modifier and Type | Method and Description |
---|---|
TimePartition |
EndsAndHolesPartitionTimeline.getFirst() |
TimePartition |
EndsAndHolesPartitionTimeline.getLatest() |
TimePartition |
StoreAllPartitionTimeline.latest() |
TimePartition |
RangesPartitionTimeline.latest() |
abstract TimePartition |
PartitionTimeline.latest()
latest partition.
|
TimePartition |
EndsAndHolesPartitionTimeline.latest() |
Modifier and Type | Method and Description |
---|---|
TreeSet<TimePartition> |
PartitionTimeline.getAll() |
TreeSet<TimePartition> |
StoreAllPartitionTimeline.getAllPartitions() |
TreeSet<TimePartition> |
EndsAndHolesPartitionTimeline.getHoles() |
Iterator<TimePartition> |
StoreAllPartitionTimeline.iterator() |
Iterator<TimePartition> |
RangesPartitionTimeline.iterator() |
Iterator<TimePartition> |
EndsAndHolesPartitionTimeline.iterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
StoreAllPartitionTimeline.add(TimePartition partition) |
boolean |
RangesPartitionTimeline.add(TimePartition partition) |
abstract boolean |
PartitionTimeline.add(TimePartition partition)
Add partition to timeline
|
boolean |
EndsAndHolesPartitionTimeline.add(TimePartition partition) |
void |
PartitionTimeline.addForBatchAddition(TimePartition partition)
Add partition to local memory to be sent for batch addition.
|
boolean |
StoreAllPartitionTimeline.drop(TimePartition toDrop) |
boolean |
RangesPartitionTimeline.drop(TimePartition toDrop) |
abstract boolean |
PartitionTimeline.drop(TimePartition toDrop)
drop partition.
|
boolean |
EndsAndHolesPartitionTimeline.drop(TimePartition toDrop) |
boolean |
StoreAllPartitionTimeline.exists(TimePartition partition) |
boolean |
RangesPartitionTimeline.exists(TimePartition toCheck) |
abstract boolean |
PartitionTimeline.exists(TimePartition partition)
Checks partition existance
|
boolean |
EndsAndHolesPartitionTimeline.exists(TimePartition toCheck) |
void |
EndsAndHolesPartitionTimeline.setFirst(TimePartition first) |
void |
EndsAndHolesPartitionTimeline.setLatest(TimePartition latest) |
Modifier and Type | Method and Description |
---|---|
boolean |
StoreAllPartitionTimeline.add(Collection<TimePartition> partitions) |
boolean |
PartitionTimeline.add(Collection<TimePartition> partitions)
Add multiple partitions to timeline
|
void |
PartitionTimeline.setAll(TreeSet<TimePartition> all) |
void |
StoreAllPartitionTimeline.setAllPartitions(TreeSet<TimePartition> allPartitions) |
void |
EndsAndHolesPartitionTimeline.setHoles(TreeSet<TimePartition> holes) |
Modifier and Type | Method and Description |
---|---|
void |
PartitionRangesForPartitionColumns.add(String partCol,
TimePartition partition) |
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.