Class SimpleSourceTable

All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable, NotificationQueue.Dependency, Deflatable<Table>, Table, LivenessManager, LivenessNode, LivenessReferent, LongSizedDataStructure, DynamicNode, DynamicTable, NotificationStepReceiver, NotificationStepSource, SystemicObject, Serializable
Direct Known Subclasses:
SplayedDiskBackedTable

public class SimpleSourceTable extends SourceTable
Simple source table with no partitioning support.
See Also:
  • Constructor Details

    • SimpleSourceTable

      public SimpleSourceTable(TableDefinition tableDefinition, String description, SourceTableComponentFactory componentFactory, TableLocationProvider locationProvider, LiveTableRegistrar liveTableRegistrar)
      Parameters:
      tableDefinition - A TableDefinition
      description - A human-readable description for this table
      componentFactory - A component factory for creating column source managers
      locationProvider - A TableLocationProvider, for use in discovering the locations that compose this table
      liveTableRegistrar - Callback for registering live tables for refreshes, null if this table is not live
  • Method Details

    • newInstance

      protected SimpleSourceTable newInstance(TableDefinition tableDefinition, String description, SourceTableComponentFactory componentFactory, TableLocationProvider locationProvider, LiveTableRegistrar liveTableRegistrar)
    • redefine

      protected final SourceTable redefine(TableDefinition newDefinition)
      Description copied from class: RedefinableTable
      Redefine this table with a subset of its current columns.
      Specified by:
      redefine in class RedefinableTable
      Parameters:
      newDefinition - A TableDefinition with a subset of this RedefinableTable's ColumnDefinitions.
      Returns:
    • redefine

      protected final Table redefine(TableDefinition newDefinitionExternal, TableDefinition newDefinitionInternal, SelectColumn[] viewColumns, Map<String,Set<String>> columnDependency)
      Description copied from class: RedefinableTable
      Redefine this table with a subset of its current columns, with a potentially-differing definition to present to external interfaces and one or more select columns to apply.
      Specified by:
      redefine in class RedefinableTable
      Parameters:
      newDefinitionExternal - A TableDefinition that represents the results of redefine(newDefinitionInternal).view(viewColumns).
      newDefinitionInternal - A TableDefinition with a subset of this RedefinableTable's ColumnDefinitions.
      viewColumns - A set of SelectColumns to apply in order to transform a table with newDefinitionInternal to a table with newDefinitionExternal.
      Returns: