public class CompositeDataContext extends AbstractDataContext
| Constructor and Description |
|---|
CompositeDataContext(Collection<DataContext> delegates) |
CompositeDataContext(DataContext... delegates) |
| Modifier and Type | Method and Description |
|---|---|
DataSet |
executeQuery(Query query)
Executes a query against the DataContext.
|
String |
getDefaultSchemaName()
Gets the name of the default schema.
|
Schema |
getSchemaByNameInternal(String name)
Gets a specific schema from the non-abstract implementation.
|
List<String> |
getSchemaNamesInternal()
Gets schema names from the non-abstract implementation.
|
compileQuery, executeQuery, executeQuery, getColumnByQualifiedLabel, getDefaultSchema, getSchemaByName, getSchemaNames, getSchemas, getTableByQualifiedLabel, isQualifiedPathDelim, onSchemaCacheRefreshed, parseQuery, query, refreshSchemaspublic CompositeDataContext(DataContext... delegates)
public CompositeDataContext(Collection<DataContext> delegates)
public DataSet executeQuery(Query query) throws MetaModelException
DataContextquery - 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.public String getDefaultSchemaName() throws MetaModelException
AbstractDataContextgetDefaultSchemaName in class AbstractDataContextMetaModelExceptionpublic Schema getSchemaByNameInternal(String name) throws MetaModelException
AbstractDataContextAbstractDataContext.refreshSchemas() method is called.getSchemaByNameInternal in class AbstractDataContextname - the name of the schema to getMetaModelExceptionpublic List<String> getSchemaNamesInternal() throws MetaModelException
AbstractDataContextAbstractDataContext.refreshSchemas() method is called.getSchemaNamesInternal in class AbstractDataContextMetaModelExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.