Class CSVTabularDataSetCollectionConnector

All Implemented Interfaces:
SecureConnectorExtension, ReadableTabularDataSource, TabularDataCollection, WritableTabularDataSource, VirtualConnectorExtension

public class CSVTabularDataSetCollectionConnector extends CSVTabularDataSetConnector implements TabularDataCollection
CSVTabularDataSetCollectionConnector works with collections of structured CSV files to write/retrieve simple tables of data. These files are all in the same directory (folder). The name of the folder is supplied through the configuration properties. The name of each file is derived from the supplied table name. The initial value may be supplied as a configuration property. However, the caller typically uses the setTableName() method to step from file to file.
  • Constructor Details

    • CSVTabularDataSetCollectionConnector

      public CSVTabularDataSetCollectionConnector()
  • Method Details

    • setTableName

      public void setTableName(String tableName, String tableDescription) throws ConnectorCheckedException
      Set up the canonical table name for this data source. Each word in the name should be capitalized, with spaces between the words to allow translation between different naming conventions.
      Specified by:
      setTableName in interface TabularDataCollection
      Parameters:
      tableName - string
      tableDescription - optional description
      Throws:
      ConnectorCheckedException - there is a problem accessing the data