- All Superinterfaces:
- All Known Implementing Classes:
public interface CSVFileStore extends BasicFileStore
CSVFileStore defines the specific connector api for working with CSV files. A CSV file is one where each row represents a record that is divided into attributes that are separated by a special character (usually a space). Each row has the same list of attributes and so the file is effectively a table of data.
Method SummaryModifier and TypeMethodDescriptionReturn the list of column names associated with this structured file.Return the name of the file to read.Return the last update data for the file.
longReturn the number of records in the file.
(int rowNumber)Return the requested data record.
getFileNameReturn the name of the file to read.
getLastUpdateDateReturn the last update data for the file.
getRecordCountReturn the number of records in the file. This is achieved by scanning the file and counting the records - not recommended for very large files.
getColumnNamesReturn the list of column names associated with this structured file. This may be embedded in the first line of the file or encoded in the connection object used to create a connector instance.
readRecordReturn the requested data record. The first record is record 0. If the first line of the file is the column names then record 0 is the line following the column names.