public class CSVSource extends java.lang.Object implements Source
| Constructor and Description |
|---|
CSVSource(java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.util.Map<java.lang.String,java.lang.String> |
getRow() |
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getRows()
If working with JDBC this will instead use the values of sqlStatement
For normal usage with SELECT FROM tableName use getRowsFromTable
Malformed SQL Statements may result in failed ResultSets
|
java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
getRowsFromTable()
If working with CSV this functionally returns the same as getRows
|
CSVSource |
withSeparator(char separator) |
public void close()
public CSVSource withSeparator(char separator)
public java.util.List<java.util.Map<java.lang.String,java.lang.String>> getRowsFromTable()
SourcegetRowsFromTable in interface Sourcepublic java.util.List<java.util.Map<java.lang.String,java.lang.String>> getRows()
Sourcepublic java.util.Map<java.lang.String,java.lang.String> getRow()