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
public class BaseLayer extends SelectAndViewAnalyzer
-
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.SelectAndViewAnalyzer
getInner()
void
setAllNewColumns(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 completevoid
startTrackingPrev()
void
updateColumnDefinitionsFromTopLayer(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:SelectAndViewAnalyzer
Set 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:
setAllNewColumns
in classSelectAndViewAnalyzer
- Parameters:
bitset
- the bitset to manipulate.
-
updateColumnDefinitionsFromTopLayer
public void updateColumnDefinitionsFromTopLayer(Map<String,com.illumon.dataobjects.ColumnDefinition> columnDefinitions)- Specified by:
updateColumnDefinitionsFromTopLayer
in classSelectAndViewAnalyzer
-
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
-
getInner
- Specified by:
getInner
in classSelectAndViewAnalyzer
-
startTrackingPrev
public void startTrackingPrev()- Specified by:
startTrackingPrev
in classSelectAndViewAnalyzer
-
append
public com.fishlib.base.log.LogOutput append(com.fishlib.base.log.LogOutput logOutput)
-