|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eobjects.metamodel.AbstractDataContext
org.eobjects.metamodel.CompositeDataContext
public class CompositeDataContext
DataContext for composite datacontexts. Composite DataContexts wrap several other datacontexts and makes cross-datastore querying possible.
| Constructor Summary | |
|---|---|
CompositeDataContext(Collection<DataContext> delegates)
|
|
CompositeDataContext(DataContext... delegates)
|
|
| Method Summary | |
|---|---|
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. |
String[] |
getSchemaNamesInternal()
Gets schema names from the non-abstract implementation. |
| Methods inherited from class org.eobjects.metamodel.AbstractDataContext |
|---|
compileQuery, executeQuery, executeQuery, getColumnByQualifiedLabel, getDefaultSchema, getSchemaByName, getSchemaNames, getSchemas, getTableByQualifiedLabel, isQualifiedPathDelim, parseQuery, query, refreshSchemas |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeDataContext(DataContext... delegates)
public CompositeDataContext(Collection<DataContext> delegates)
| Method Detail |
|---|
public DataSet executeQuery(Query query)
throws MetaModelException
DataContext
query - the query object to execute
DataSet produced from executing the query
MetaModelException - 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
AbstractDataContext
getDefaultSchemaName in class AbstractDataContextMetaModelException
public Schema getSchemaByNameInternal(String name)
throws MetaModelException
AbstractDataContextAbstractDataContext.refreshSchemas() method is
called.
getSchemaByNameInternal in class AbstractDataContextname - the name of the schema to get
MetaModelException
public String[] getSchemaNamesInternal()
throws MetaModelException
AbstractDataContextAbstractDataContext.refreshSchemas() method is
called.
getSchemaNamesInternal in class AbstractDataContextMetaModelException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||