Class BaseLayer
java.lang.Object
com.illumon.iris.db.v2.select.analyzers.SelectAndViewAnalyzer
com.illumon.iris.db.v2.select.analyzers.BaseLayer
- All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable
-
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 TypeMethodDescriptioncom.fishlib.base.log.LogOutputappend(com.fishlib.base.log.LogOutput logOutput) voidapplyUpdate(ShiftAwareListener.Update upstream, ReadOnlyIndex toClear, SelectAndViewAnalyzer.UpdateHelper helper, SelectAndViewAnalyzer.JobScheduler jobScheduler, SelectAndViewAnalyzer.SelectLayerCompletionHandler onCompletion) Apply this update to this SelectAndViewAnalyzer.getInner()voidsetAllNewColumns(BitSet bitset) Set the bits in bitset that represent all of the new columns, this is used to identify when the select or update operaiton is completevoidvoidupdateColumnDefinitionsFromTopLayer(Map<String, com.illumon.dataobjects.ColumnDefinition> columnDefinitions) Methods inherited from class com.illumon.iris.db.v2.select.analyzers.SelectAndViewAnalyzer
calcEffects, create, futureCompletionHandler, getAllColumnSources, getNewColumnSources, getPublishedColumnSources, toString
-
Method Details
-
setAllNewColumns
Description copied from class:SelectAndViewAnalyzerSet the bits in bitset that represent all of the new columns, this is used to identify when the select or update operaiton is complete- Overrides:
setAllNewColumnsin classSelectAndViewAnalyzer- Parameters:
bitset- the bitset to manipulate.
-
updateColumnDefinitionsFromTopLayer
public void updateColumnDefinitionsFromTopLayer(Map<String, com.illumon.dataobjects.ColumnDefinition> columnDefinitions) - Specified by:
updateColumnDefinitionsFromTopLayerin classSelectAndViewAnalyzer
-
applyUpdate
public void applyUpdate(ShiftAwareListener.Update upstream, ReadOnlyIndex toClear, SelectAndViewAnalyzer.UpdateHelper helper, SelectAndViewAnalyzer.JobScheduler jobScheduler, SelectAndViewAnalyzer.SelectLayerCompletionHandler onCompletion) Description copied from class:SelectAndViewAnalyzerApply this update to this SelectAndViewAnalyzer.- Specified by:
applyUpdatein 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
-
getInner
- Specified by:
getInnerin classSelectAndViewAnalyzer
-
startTrackingPrev
public void startTrackingPrev()- Specified by:
startTrackingPrevin classSelectAndViewAnalyzer
-
append
public com.fishlib.base.log.LogOutput append(com.fishlib.base.log.LogOutput logOutput)
-