public class DataContextPropertiesImpl extends Object implements DataContextProperties
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_CATALOG_NAME |
static String |
PROPERTY_COLUMN_NAME_LINE_NUMBER |
static String |
PROPERTY_DATA_CONTEXT_TYPE |
static String |
PROPERTY_DATA_SOURCE |
static String |
PROPERTY_DATABASE |
static String |
PROPERTY_DRIVER_CLASS |
static String |
PROPERTY_ENCODING |
static String |
PROPERTY_ESCAPE_CHAR |
static String |
PROPERTY_HOSTNAME |
static String |
PROPERTY_IS_FAIL_ON_INCONSISTENT_ROW_LENGTH |
static String |
PROPERTY_IS_MULTILINE_VALUES_ENABLED |
static String |
PROPERTY_PASSWORD |
static String |
PROPERTY_PORT |
static String |
PROPERTY_QUOTE_CHAR |
static String |
PROPERTY_RESOURCE_PROPERTIES |
static String |
PROPERTY_SEPARATOR_CHAR |
static String |
PROPERTY_SKIP_EMPTY_COLUMNS |
static String |
PROPERTY_SKIP_EMPTY_LINES |
static String |
PROPERTY_TABLE_DEFS |
static String |
PROPERTY_TABLE_TYPES |
static String |
PROPERTY_URL |
static String |
PROPERTY_USERNAME |
| Constructor and Description |
|---|
DataContextPropertiesImpl() |
DataContextPropertiesImpl(Map<String,Object> map) |
DataContextPropertiesImpl(Properties properties) |
public static final String PROPERTY_USERNAME
public static final String PROPERTY_PASSWORD
public static final String PROPERTY_DRIVER_CLASS
public static final String PROPERTY_HOSTNAME
public static final String PROPERTY_PORT
public static final String PROPERTY_DATABASE
public static final String PROPERTY_URL
public static final String PROPERTY_CATALOG_NAME
public static final String PROPERTY_RESOURCE_PROPERTIES
public static final String PROPERTY_IS_MULTILINE_VALUES_ENABLED
public static final String PROPERTY_IS_FAIL_ON_INCONSISTENT_ROW_LENGTH
public static final String PROPERTY_ESCAPE_CHAR
public static final String PROPERTY_QUOTE_CHAR
public static final String PROPERTY_SEPARATOR_CHAR
public static final String PROPERTY_ENCODING
public static final String PROPERTY_SKIP_EMPTY_COLUMNS
public static final String PROPERTY_SKIP_EMPTY_LINES
public static final String PROPERTY_COLUMN_NAME_LINE_NUMBER
public static final String PROPERTY_DATA_CONTEXT_TYPE
public static final String PROPERTY_TABLE_TYPES
public static final String PROPERTY_DATA_SOURCE
public static final String PROPERTY_TABLE_DEFS
public DataContextPropertiesImpl()
public DataContextPropertiesImpl(Properties properties)
public String getDataContextType()
DataContextPropertiesDataContext, such as "csv" or "jdbc".getDataContextType in interface DataContextPropertiespublic void setDataContextType(String type)
public Map<String,Object> toMap()
DataContextPropertiesMap. Note that any
unstandardized properties may also be exposed via this map.toMap in interface DataContextPropertiespublic ResourceProperties getResourceProperties()
getResourceProperties in interface DataContextPropertiespublic Integer getColumnNameLineNumber()
getColumnNameLineNumber in interface DataContextPropertiespublic Boolean isSkipEmptyLines()
isSkipEmptyLines in interface DataContextPropertiespublic Boolean isSkipEmptyColumns()
isSkipEmptyColumns in interface DataContextPropertiespublic String getEncoding()
getEncoding in interface DataContextPropertiespublic Character getSeparatorChar()
getSeparatorChar in interface DataContextPropertiespublic Character getQuoteChar()
getQuoteChar in interface DataContextPropertiespublic Character getEscapeChar()
getEscapeChar in interface DataContextPropertiespublic Boolean isFailOnInconsistentRowLength()
isFailOnInconsistentRowLength in interface DataContextPropertiespublic Boolean isMultilineValuesEnabled()
isMultilineValuesEnabled in interface DataContextPropertiespublic TableType[] getTableTypes()
getTableTypes in interface DataContextPropertiespublic String getCatalogName()
getCatalogName in interface DataContextPropertiespublic String getUrl()
getUrl in interface DataContextPropertiespublic DataSource getDataSource()
getDataSource in interface DataContextPropertiespublic String getUsername()
getUsername in interface DataContextPropertiespublic String getPassword()
getPassword in interface DataContextPropertiespublic String getDriverClassName()
getDriverClassName in interface DataContextPropertiespublic String getHostname()
getHostname in interface DataContextPropertiespublic Integer getPort()
getPort in interface DataContextPropertiespublic String getDatabaseName()
getDatabaseName in interface DataContextPropertiespublic SimpleTableDef[] getTableDefs()
getTableDefs in interface DataContextPropertiesCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.