Class TableSource

All Implemented Interfaces:
Serializable, ActualOperator, ElementaryOperator, Operator
Direct Known Subclasses:
JdbcTableSource

public class TableSource extends UnarySource<Record>
UnarySource that provides the tuples from a database table.
See Also:
  • Constructor Details

    • TableSource

      public TableSource(String tableName, String... columnNames)
      Creates a new instance.
      Parameters:
      tableName - name of the table to be read
      columnNames - names of the columns in the tables; can be omitted but allows to inject schema information into Wayang, so as to allow specific optimizations
    • TableSource

      public TableSource(String tableName, DataSetType<Record> type)
    • TableSource

      public TableSource(TableSource that)
      Copies an instance (exclusive of broadcasts).
      Parameters:
      that - that should be copied
  • Method Details

    • getTableName

      public String getTableName()