Class PreserveColumnLayer
java.lang.Object
com.illumon.iris.db.v2.select.analyzers.SelectAndViewAnalyzer
com.illumon.iris.db.v2.select.analyzers.DependencyLayerBase
com.illumon.iris.db.v2.select.analyzers.PreserveColumnLayer
- All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable
public final class PreserveColumnLayer extends DependencyLayerBase
A layer that copies a column from our input to our output.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.iris.db.v2.select.analyzers.SelectAndViewAnalyzer
SelectAndViewAnalyzer.ImmediateJobScheduler, SelectAndViewAnalyzer.JobScheduler, SelectAndViewAnalyzer.LiveTableMonitorJobScheduler, SelectAndViewAnalyzer.Mode, SelectAndViewAnalyzer.SelectLayerCompletionHandler, SelectAndViewAnalyzer.TableMapTransformJobScheduler, SelectAndViewAnalyzer.UpdateHelper
-
Method Summary
Modifier and Type Method Description com.fishlib.base.log.LogOutput
append(com.fishlib.base.log.LogOutput logOutput)
void
applyUpdate(ShiftAwareListener.Update upstream, ReadOnlyIndex toClear, SelectAndViewAnalyzer.UpdateHelper helper, SelectAndViewAnalyzer.JobScheduler jobScheduler, SelectAndViewAnalyzer.SelectLayerCompletionHandler onCompletion)
Apply this update to this SelectAndViewAnalyzer.void
startTrackingPrev()
Methods inherited from class com.illumon.iris.db.v2.select.analyzers.DependencyLayerBase
getInner, updateColumnDefinitionsFromTopLayer
Methods inherited from class com.illumon.iris.db.v2.select.analyzers.SelectAndViewAnalyzer
calcEffects, create, futureCompletionHandler, getAllColumnSources, getNewColumnSources, getPublishedColumnSources, setAllNewColumns, toString
-
Method Details
-
applyUpdate
public void applyUpdate(ShiftAwareListener.Update upstream, ReadOnlyIndex toClear, SelectAndViewAnalyzer.UpdateHelper helper, SelectAndViewAnalyzer.JobScheduler jobScheduler, SelectAndViewAnalyzer.SelectLayerCompletionHandler onCompletion)Description copied from class:SelectAndViewAnalyzer
Apply this update to this SelectAndViewAnalyzer.- Specified by:
applyUpdate
in classSelectAndViewAnalyzer
- Parameters:
upstream
- the upstream updatetoClear
- rows that used to exist and no longer existhelper
- convenience class that memoizes reusable calculations for this updateonCompletion
- called when an inner column is complete, the outer layer should pass the completion on to other layers and if it all of it's dependencies have been satisfied schedule execution of that column update
-
startTrackingPrev
public void startTrackingPrev()- Specified by:
startTrackingPrev
in classSelectAndViewAnalyzer
-
append
public com.fishlib.base.log.LogOutput append(com.fishlib.base.log.LogOutput logOutput)
-