B C D E G I M N O T
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- buildLine(String[]) - Method in class org.apache.metamodel.csv.CsvWriter
-
Builds a line for the CSV file output
C
- create(DataContextProperties, ResourceFactoryRegistry) - Method in class org.apache.metamodel.csv.CsvDataContextFactory
- createCsvReader(int) - Method in class org.apache.metamodel.csv.CsvDataContext
- createCsvReader(BufferedReader) - Method in class org.apache.metamodel.csv.CsvDataContext
- CsvConfiguration - Class in org.apache.metamodel.csv
-
Represents the configuration for reading/parsing CSV files.
- CsvConfiguration() - Constructor for class org.apache.metamodel.csv.CsvConfiguration
- CsvConfiguration(int) - Constructor for class org.apache.metamodel.csv.CsvConfiguration
- CsvConfiguration(int, boolean, boolean) - Constructor for class org.apache.metamodel.csv.CsvConfiguration
- CsvConfiguration(int, String, char, char, char) - Constructor for class org.apache.metamodel.csv.CsvConfiguration
- CsvConfiguration(int, String, char, char, char, boolean) - Constructor for class org.apache.metamodel.csv.CsvConfiguration
- CsvConfiguration(int, String, char, char, char, boolean, boolean) - Constructor for class org.apache.metamodel.csv.CsvConfiguration
- CsvConfiguration(int, ColumnNamingStrategy, String, char, char, char, boolean, boolean) - Constructor for class org.apache.metamodel.csv.CsvConfiguration
- CsvDataContext - Class in org.apache.metamodel.csv
-
DataContext implementation for reading CSV files.
- CsvDataContext(File) - Constructor for class org.apache.metamodel.csv.CsvDataContext
-
Constructs a CSV DataContext based on a file
- CsvDataContext(File, CsvConfiguration) - Constructor for class org.apache.metamodel.csv.CsvDataContext
-
Constructs a CSV DataContext based on a file The file provided can be either existing or non-existing.
- CsvDataContext(InputStream, CsvConfiguration) - Constructor for class org.apache.metamodel.csv.CsvDataContext
-
Constructs a CSV DataContext based on an
InputStream - CsvDataContext(URL, CsvConfiguration) - Constructor for class org.apache.metamodel.csv.CsvDataContext
-
Constructs a CSV DataContext based on a
URL - CsvDataContext(Resource, CsvConfiguration) - Constructor for class org.apache.metamodel.csv.CsvDataContext
- CsvDataContextFactory - Class in org.apache.metamodel.csv
- CsvDataContextFactory() - Constructor for class org.apache.metamodel.csv.CsvDataContextFactory
- CsvWriter - Class in org.apache.metamodel.csv
-
This class is an adaptation of the CSVWriter class of OpenCSV.
- CsvWriter(CsvConfiguration) - Constructor for class org.apache.metamodel.csv.CsvWriter
D
- decorateIdentity(List<Object>) - Method in class org.apache.metamodel.csv.CsvConfiguration
- DEFAULT_COLUMN_NAME_LINE - Static variable in class org.apache.metamodel.csv.CsvConfiguration
- DEFAULT_ESCAPE_CHAR - Static variable in class org.apache.metamodel.csv.CsvConfiguration
- DEFAULT_QUOTE_CHAR - Static variable in class org.apache.metamodel.csv.CsvConfiguration
- DEFAULT_SEPARATOR_CHAR - Static variable in class org.apache.metamodel.csv.CsvConfiguration
E
- executeCountQuery(Table, List<FilterItem>, boolean) - Method in class org.apache.metamodel.csv.CsvDataContext
- executeUpdate(UpdateScript) - Method in class org.apache.metamodel.csv.CsvDataContext
G
- getColumnNameLineNumber() - Method in class org.apache.metamodel.csv.CsvConfiguration
-
The line number (1 based) from which to get the names of the columns.
- getColumnNamingStrategy() - Method in class org.apache.metamodel.csv.CsvConfiguration
-
Gets a
ColumnNamingStrategyto use if needed. - getColumnsInLine() - Method in exception org.apache.metamodel.csv.InconsistentRowLengthException
-
Gets the amount of columns in the parsed line.
- getColumnsInTable() - Method in exception org.apache.metamodel.csv.InconsistentRowLengthException
-
Gets the expected amounts of columns, as defined by the table metadata.
- getConfiguration() - Method in class org.apache.metamodel.csv.CsvDataContext
-
Gets the CSV configuration used
- getEncoding() - Method in class org.apache.metamodel.csv.CsvConfiguration
-
Gets the file encoding to use for reading the file.
- getEscapeChar() - Method in class org.apache.metamodel.csv.CsvConfiguration
-
Gets the escape char, used for escaping eg.
- getMainSchema() - Method in class org.apache.metamodel.csv.CsvDataContext
- getMainSchemaName() - Method in class org.apache.metamodel.csv.CsvDataContext
- getMessage() - Method in exception org.apache.metamodel.csv.InconsistentRowLengthException
- getQuoteChar() - Method in class org.apache.metamodel.csv.CsvConfiguration
-
Gets the quote char, used for encapsulating values.
- getResource() - Method in class org.apache.metamodel.csv.CsvDataContext
-
Gets the resource that is being read from.
- getSeparatorChar() - Method in class org.apache.metamodel.csv.CsvConfiguration
-
Gets the separator char (typically comma or semicolon) for separating values.
- getSourceLine() - Method in exception org.apache.metamodel.csv.InconsistentRowLengthException
-
Gets the source line, as parsed by the CSV parser (regardless of table metadata).
- getType() - Method in class org.apache.metamodel.csv.CsvDataContextFactory
I
- InconsistentRowLengthException - Exception in org.apache.metamodel.csv
-
Exception thrown when a line in a CSV file has an inconsistent amount of columns compared to the previous lines (and headers).
- InconsistentRowLengthException(int, Row, String[], int) - Constructor for exception org.apache.metamodel.csv.InconsistentRowLengthException
- INITIAL_STRING_SIZE - Static variable in class org.apache.metamodel.csv.CsvWriter
- isFailOnInconsistentRowLength() - Method in class org.apache.metamodel.csv.CsvConfiguration
-
Determines whether to fail (by throwing an
InconsistentRowLengthException) if a line in the CSV file has inconsistent amounts of columns. - isMultilineValues() - Method in class org.apache.metamodel.csv.CsvConfiguration
-
Determines whether the CSV files read using this configuration should be allowed to have multiline values in them.
- isWritable() - Method in class org.apache.metamodel.csv.CsvDataContext
M
- materializeMainSchemaTable(Table, List<Column>, int) - Method in class org.apache.metamodel.csv.CsvDataContext
N
- NO_COLUMN_NAME_LINE - Static variable in class org.apache.metamodel.csv.CsvConfiguration
- NOT_A_CHAR - Static variable in class org.apache.metamodel.csv.CsvConfiguration
-
The value is '\\uFFFF', the "not a character" value which should not occur in any valid Unicode string.
O
- org.apache.metamodel.csv - package org.apache.metamodel.csv
-
Module package for Comma Separated Values (CSV) files
T
- toString() - Method in class org.apache.metamodel.csv.CsvConfiguration
All Classes All Packages