Package | Description |
---|---|
org.apache.lens.cube.metadata | |
org.apache.lens.cube.parse |
Modifier and Type | Method and Description |
---|---|
TimeRange |
TimeRange.TimeRangeBuilder.build() |
TimeRange |
TimeRange.truncate(Date candidateStartTime,
Date candidateEndTime) |
TimeRange |
TimeRange.truncate(UpdatePeriod updatePeriod)
Truncate time range using the update period.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CubeColumn.isColumnAvailableInTimeRange(TimeRange range) |
Modifier and Type | Method and Description |
---|---|
static TimeRange |
StorageUtil.getFallbackRange(TimeRange range,
String factName,
CubeQueryContext cubeql)
Get fallback range
|
Modifier and Type | Method and Description |
---|---|
List<TimeRange> |
CandidateTablePruneCause.getInvalidRanges() |
Map<TimeRange,String> |
StorageCandidate.getRangeToExtraWhereFallBack() |
Map<TimeRange,Set<FactPartition>> |
StorageCandidate.getRangeToPartitions() |
List<TimeRange> |
CubeQueryContext.getTimeRanges() |
Modifier and Type | Method and Description |
---|---|
boolean |
UnionCandidate.evaluateCompleteness(TimeRange timeRange,
TimeRange parentTimeRange,
boolean failOnPartialData) |
boolean |
StorageCandidate.evaluateCompleteness(TimeRange timeRange,
TimeRange queriedTimeRange,
boolean failOnPartialData) |
boolean |
SegmentationCandidate.evaluateCompleteness(TimeRange timeRange,
TimeRange queriedTimeRange,
boolean failOnPartialData) |
boolean |
JoinCandidate.evaluateCompleteness(TimeRange timeRange,
TimeRange parentTimeRange,
boolean failOnPartialData) |
boolean |
Candidate.evaluateCompleteness(TimeRange timeRange,
TimeRange queriedTimeRange,
boolean failOnPartialData)
Calculates if this candidate can answer the query for given time range based on actual data registered with
the underlying candidate storages.
|
static TimeRange |
StorageUtil.getFallbackRange(TimeRange range,
String factName,
CubeQueryContext cubeql)
Get fallback range
|
default boolean |
Candidate.isPartiallyValidForTimeRange(TimeRange timeRange)
Utility method for checking whether this candidate is partially valid for the given time range
|
boolean |
UnionCandidate.isTimeRangeCoverable(TimeRange timeRange) |
boolean |
StorageCandidate.isTimeRangeCoverable(TimeRange timeRange)
Is time range coverable based on valid update periods of this storage candidate
|
boolean |
SegmentationCandidate.isTimeRangeCoverable(TimeRange timeRange) |
boolean |
JoinCandidate.isTimeRangeCoverable(TimeRange timeRange) |
boolean |
Candidate.isTimeRangeCoverable(TimeRange timeRange)
Is time range coverable based on start and end times configured in schema for the composing storage candidates
and valid update periods.
|
Modifier and Type | Method and Description |
---|---|
default boolean |
Candidate.isCompletelyValidForTimeRanges(List<TimeRange> timeRanges)
Returns true if the Candidate is valid for all the timeranges based on its start and end times.
|
default boolean |
Candidate.isPartiallyValidForTimeRanges(List<TimeRange> timeRanges)
Utility method to check whether this candidate is partially valid for any of the given time ranges
|
void |
CandidateTablePruneCause.setInvalidRanges(List<TimeRange> invalidRanges) |
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.