Package com.illumon.iris.db.v2
Interface ColumnSourceManager
- All Known Implementing Classes:
- RegionedColumnSourceManager
public interface ColumnSourceManager
Manager for ColumnSources in a Table.
- 
Method SummaryModifier and Type Method Description voidaddLocation(TableLocation tableLocation)Add a table location to the list to be checked in refresh().Collection<TableLocation>allLocations()Get the added locations, first the ones that have been "included" (found to exist with non-zero size) in order of inclusion, then the remainder in order of discovery.voiddisableGrouping()Turn off column grouping, and clear the groupings on all GROUPING column sources.Map<String,? extends ColumnSource<?>>getColumnSources()Get a map of name toColumnSourcefor the column sources maintained by this manager.DataIndexProvidergetDataIndexProvider()Get theDataIndexProviderto retrieve Data Indexes for this table.Collection<TableLocation>includedLocations()Get the added locations that have been found to exist and have non-zero size.booleanisEmpty()Report whether this ColumnSourceManager has no locations that have been "included" (i.e.Indexrefresh()Observe size changes in the previously added table locations, and update the managed column sources accordingly.
- 
Method Details- 
getColumnSourcesMap<String,? extends ColumnSource<?>> getColumnSources()Get a map of name toColumnSourcefor the column sources maintained by this manager.- Returns:
- An unmodifiable view of the column source map maintained by this manager.
 
- 
disableGroupingvoid disableGrouping()Turn off column grouping, and clear the groupings on all GROUPING column sources. Note that this does *not* affect PARTITIONING columns.
- 
addLocationAdd a table location to the list to be checked in refresh().- Parameters:
- tableLocation- The table location to be added
 
- 
refreshIndex refresh()Observe size changes in the previously added table locations, and update the managed column sources accordingly.- Returns:
- The index of added keys
 
- 
allLocationsCollection<TableLocation> allLocations()Get the added locations, first the ones that have been "included" (found to exist with non-zero size) in order of inclusion, then the remainder in order of discovery.- Returns:
- All known locations, ordered as described
 
- 
includedLocationsCollection<TableLocation> includedLocations()Get the added locations that have been found to exist and have non-zero size.- Returns:
- The added locations that have been found to exist and have non-zero size
 
- 
isEmptyboolean isEmpty()Report whether this ColumnSourceManager has no locations that have been "included" (i.e. found to exist with non-zero size).- Returns:
- True if there are no included locations
 
- 
getDataIndexProviderGet theDataIndexProviderto retrieve Data Indexes for this table.- Returns:
- the data index provider, or null if none has been created.
 
 
-