| Modifier and Type | Field and Description |
|---|---|
| private String[] | |
| private final Map | |
| private String[] | |
| private Locale |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | Returns: A string array containing the column names.ResultSet rs)Overrides com. Implements com. Returns the column names from the result set. |
| public String[] | Returns: String array containing all the column values.The ResultSet containing the values. rs)Overrides com. Implements com. Get all the column values from the result set. |
| public String[] | Returns: String array containing all the column values.The ResultSet containing the values. rs, boolean Values should have white spaces trimmed. trim)Overrides com. Implements com. Get all the column values from the result set. |
| public String[] | Returns: String array containing all the column values.The ResultSet containing the values. rs, boolean Values should have white spaces trimmed. trim, String Format string for dates. dateFormatString, String Format string for timestamps. timeFormatString)Overrides com. Implements com. Get all the column values from the result set. |
| private String[] | |
| private boolean | |
| private void | |
| public void | setColumnNames(String[]
The JDBC column names to export, in the desired order columnNames, String[] The column headers of the CSV file, in the desired order columnHeaders)Set the JDBC column names to use, and the header text for the CSV file |
| public void | setErrorLocale(Locale
Locale for error messages. If null, the default locale
is used. errorLocale)Sets the locale for error messages. |
| columnHeaders | back to summary |
|---|---|
| private String[] columnHeaders | |
| columnNamePositionMap | back to summary |
|---|---|
| private final Map<String, Integer> columnNamePositionMap | |
| columnNames | back to summary |
|---|---|
| private String[] columnNames | |
| errorLocale | back to summary |
|---|---|
| private Locale errorLocale | |
| ResultSetColumnNameHelperService | back to summary |
|---|---|
| public ResultSetColumnNameHelperService() Nullary constructor. | |
| getColumnNames | back to summary |
|---|---|
| public String[] getColumnNames(ResultSet rs) throws SQLException Overrides com. Implements com. Returns the column names from the result set.
| |
| getColumnValues | back to summary |
|---|---|
| public String[] getColumnValues(ResultSet rs) throws SQLException, IOException Overrides com. Implements com. Get all the column values from the result set.
| |
| getColumnValues | back to summary |
|---|---|
| public String[] getColumnValues(ResultSet rs, boolean trim) throws SQLException, IOException Overrides com. Implements com. Get all the column values from the result set.
| |
| getColumnValues | back to summary |
|---|---|
| public String[] getColumnValues(ResultSet rs, boolean trim, String dateFormatString, String timeFormatString) throws SQLException, IOException Overrides com. Implements com. Get all the column values from the result set.
| |
| getColumnValueSubset | back to summary |
|---|---|
| private String[] getColumnValueSubset(String[] realColumnValues) | |
| hasInvalidValue | back to summary |
|---|---|
| private boolean hasInvalidValue(String[] strings) | |
| populateColumnData | back to summary |
|---|---|
| private void populateColumnData(ResultSet rs) throws SQLException | |
| setColumnNames | back to summary |
|---|---|
| public void setColumnNames(String[] columnNames, String[] columnHeaders) Set the JDBC column names to use, and the header text for the CSV file
| |
| setErrorLocale | back to summary |
|---|---|
| public void setErrorLocale(Locale errorLocale) Sets the locale for error messages.
| |