public class FixedWidthDataContext extends QueryPostprocessDataContext
INFORMATION_SCHEMA_NAME| Constructor and Description |
|---|
FixedWidthDataContext(File file,
FixedWidthConfiguration configuration) |
FixedWidthDataContext(Resource resource,
FixedWidthConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
FixedWidthConfiguration |
getConfiguration()
Gets the Fixed width value configuration used.
|
protected Schema |
getMainSchema() |
protected String |
getMainSchemaName() |
Resource |
getResource()
Gets the resource being read
|
DataSet |
materializeMainSchemaTable(Table table,
Column[] columns,
int maxRows)
Executes a simple one-table query against a table in the main schema of
the subclasses of this class.
|
addConverter, executeCountQuery, executePrimaryKeyLookupQuery, executeQuery, getDefaultSchemaName, getSchemaByNameInternal, getSchemaNamesInternal, isMainSchemaTable, isScalarFunctionMaterialized, materializeFromItem, materializeMainSchemaTable, materializeMainSchemaTable, materializeMainSchemaTable, materializeTablecompileQuery, executeQuery, executeQuery, getColumnByQualifiedLabel, getDefaultSchema, getSchemaByName, getSchemaNames, getSchemas, getTableByQualifiedLabel, isQualifiedPathDelim, onSchemaCacheRefreshed, parseQuery, query, refreshSchemaspublic FixedWidthDataContext(File file, FixedWidthConfiguration configuration)
public FixedWidthDataContext(Resource resource, FixedWidthConfiguration configuration)
public FixedWidthConfiguration getConfiguration()
protected Schema getMainSchema() throws MetaModelException
getMainSchema in class QueryPostprocessDataContextMetaModelExceptionprotected String getMainSchemaName() throws MetaModelException
getMainSchemaName in class QueryPostprocessDataContextMetaModelExceptionpublic DataSet materializeMainSchemaTable(Table table, Column[] columns, int maxRows)
QueryPostprocessDataContextmaterializeMainSchemaTable in class QueryPostprocessDataContexttable - the table to querycolumns - the columns of the table to querymaxRows - the maximum amount of rows needed or -1 if all rows are
wanted.Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.