public interface CSVFileStore extends BasicFileStore
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getColumnNames()
Return the list of column names associated with this structured file.
|
String |
getFileName()
Return the name of the file to read.
|
Date |
getLastUpdateDate()
Return the last update data for the file.
|
long |
getRecordCount()
Return the number of records in the file.
|
List<String> |
readRecord(int rowNumber)
Return the requested data record.
|
getFileString getFileName() throws FileException, FileReadException
FileException - there is a problem accessing the fileFileReadException - - the file name is null, the file does not exist, or is a directory or
is not readable.Date getLastUpdateDate() throws FileException, FileReadException
FileException - there is a problem accessing the fileFileReadException - - the file name is null, the file does not exist, or is a directory or
is not readable.long getRecordCount()
throws FileException,
FileReadException
FileException - there is a problem accessing the fileFileReadException - unable to find, open or scan the file.List<String> getColumnNames() throws FileException, FileReadException
FileException - there is a problem accessing the fileFileReadException - unable to retrieve the column namesList<String> readRecord(int rowNumber) throws FileException, FileReadException
rowNumber - longFileException - there is a problem accessing the fileFileReadException - unable to find, open or read the file, or the file does not include the requested record.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.