Package com.illumon.iris.db.v2.sources
Class UnionSourceManager
java.lang.Object
com.illumon.iris.db.v2.sources.UnionSourceManager
- 
Constructor SummaryConstructorsConstructorDescriptionUnionSourceManager(com.fishlib.io.logger.Logger log, TableDefinition tableDefinition, NotificationQueue.Dependency parentDependency) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a table to the managed constituents.booleanDetermine whether column sources that use this manager should allow reinterpret.booleanDetermine whether using the component tables directly in a subsequent merge will affect the correctness of the merge.voidNote that this UnionSourceManager might have tables added dynamically throughout its lifetime.voidSpecify that columns sources using this manager should not allow reinterpret.voidEnsure that this UnionSourceManager will be refreshing.
- 
Constructor Details- 
UnionSourceManagerpublic UnionSourceManager(com.fishlib.io.logger.Logger log, TableDefinition tableDefinition, @Nullable NotificationQueue.Dependency parentDependency) 
 
- 
- 
Method Details- 
setRefreshingpublic void setRefreshing()Ensure that this UnionSourceManager will be refreshing. Should be called proactively if it is expected that refreshing DynamicTables may be added *after* the initial set, in order to ensure that children of the result table are correctly setup to listen and refresh.
- 
setDisallowReinterpretpublic void setDisallowReinterpret()Specify that columns sources using this manager should not allow reinterpret.
- 
allowsReinterpretpublic boolean allowsReinterpret()Determine whether column sources that use this manager should allow reinterpret.- Returns:
- If ColumnSource.reinterpret(Class)is allowed
 
- 
noteUsingComponentsIsUnsafepublic void noteUsingComponentsIsUnsafe()Note that this UnionSourceManager might have tables added dynamically throughout its lifetime.
- 
isUsingComponentsSafepublic boolean isUsingComponentsSafe()Determine whether using the component tables directly in a subsequent merge will affect the correctness of the merge.- Returns:
- If using the component tables is allowed.
 
- 
addTableAdds a table to the managed constituents.- Parameters:
- table- the new table
- onNewTableMapKey- whether this table is being added after the initial setup
 
- 
getColumnSources
- 
getComponentTables
- 
getResult
 
-