public class OpenOfficeDataContext extends AbstractDataContext
Constructor and Description |
---|
OpenOfficeDataContext(File dbFile) |
Modifier and Type | Method and Description |
---|---|
DataSet |
executeQuery(Query query)
Executes a query against the DataContext.
|
protected void |
finalize() |
Connection |
getConnection() |
protected String |
getDefaultSchemaName()
Gets the name of the default schema.
|
protected Schema |
getSchemaByNameInternal(String name)
Gets a specific schema from the non-abstract implementation.
|
protected String[] |
getSchemaNamesInternal()
Gets schema names from the non-abstract implementation.
|
compileQuery, executeQuery, executeQuery, getColumnByQualifiedLabel, getDefaultSchema, getSchemaByName, getSchemaNames, getSchemas, getTableByQualifiedLabel, isQualifiedPathDelim, onSchemaCacheRefreshed, parseQuery, query, refreshSchemas
public OpenOfficeDataContext(File dbFile) throws MetaModelException
MetaModelException
public DataSet executeQuery(Query query) throws MetaModelException
DataContext
query
- the query object to executeDataSet
produced from executing the queryMetaModelException
- if the specified query does not make sense or cannot be
executed because of restraints on the type of datastore.protected void finalize() throws Throwable
public Connection getConnection()
protected String[] getSchemaNamesInternal()
AbstractDataContext
AbstractDataContext.refreshSchemas()
method is
called.getSchemaNamesInternal
in class AbstractDataContext
protected String getDefaultSchemaName()
AbstractDataContext
getDefaultSchemaName
in class AbstractDataContext
protected Schema getSchemaByNameInternal(String name)
AbstractDataContext
AbstractDataContext.refreshSchemas()
method is
called.getSchemaByNameInternal
in class AbstractDataContext
name
- the name of the schema to getCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.