public class DefaultingVolatileIntervalsService extends Object implements VolatileIntervalsService
| Constructor and Description |
|---|
DefaultingVolatileIntervalsService()
Use the no op interval function with no customized functions.
|
DefaultingVolatileIntervalsService(DefaultingDictionary<PhysicalTable,VolatileIntervalsFunction> intervalsFunctions)
Deprecated.
Simply use maps and default values
|
DefaultingVolatileIntervalsService(VolatileIntervalsFunction defaultIntervalsFunction)
Use a single default function for all physical tables.
|
DefaultingVolatileIntervalsService(VolatileIntervalsFunction defaultIntervalsFunction,
Map<PhysicalTable,VolatileIntervalsFunction> intervalsFunctions)
Use a default function with overrides for particular tables.
|
| Modifier and Type | Method and Description |
|---|---|
SimplifiedIntervalList |
getVolatileIntervals(Granularity granularity,
List<org.joda.time.Interval> intervals,
PhysicalTable factSource)
Retrieve a simplified sublist of the given intervals aligned to the specified time buckets and that are
partially or fully volatile.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVolatileIntervalspublic DefaultingVolatileIntervalsService()
public DefaultingVolatileIntervalsService(VolatileIntervalsFunction defaultIntervalsFunction)
defaultIntervalsFunction - The volatile intervals function to apply to all physical tables.@Deprecated public DefaultingVolatileIntervalsService(DefaultingDictionary<PhysicalTable,VolatileIntervalsFunction> intervalsFunctions)
intervalsFunctions - the map of specific functions for physical tablespublic DefaultingVolatileIntervalsService(VolatileIntervalsFunction defaultIntervalsFunction, Map<PhysicalTable,VolatileIntervalsFunction> intervalsFunctions)
defaultIntervalsFunction - The volatile intervals function to apply to physical tablesintervalsFunctions - A map of functions to provide volatile intervals for physical tablespublic SimplifiedIntervalList getVolatileIntervals(Granularity granularity, List<org.joda.time.Interval> intervals, PhysicalTable factSource)
VolatileIntervalsServicegetVolatileIntervals in interface VolatileIntervalsServicegranularity - The granularity at which to check for volatilityintervals - The intervals that may contain a volatile sublistfactSource - The fact source table whose intervals are being retrievedCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.