dk.eobjects.metamodel
Class CompositeDataContextStrategy
java.lang.Object
dk.eobjects.metamodel.CompositeDataContextStrategy
- All Implemented Interfaces:
- IDataContextStrategy
public class CompositeDataContextStrategy
- extends java.lang.Object
- implements IDataContextStrategy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeDataContextStrategy
public CompositeDataContextStrategy(DataContext... delegates)
CompositeDataContextStrategy
public CompositeDataContextStrategy(java.util.Collection<DataContext> delegates)
executeQuery
public DataSet executeQuery(Query query)
throws MetaModelException
- Description copied from interface:
IDataContextStrategy
- Executes a query.
- Specified by:
executeQuery in interface IDataContextStrategy
- Returns:
- a dataset representing the result of the query.
- Throws:
MetaModelException
getDefaultSchemaName
public java.lang.String getDefaultSchemaName()
throws MetaModelException
- Specified by:
getDefaultSchemaName in interface IDataContextStrategy
- Returns:
- the name of the default schema provided by this strategy or null
if none is present or possible to deterministically tell.
- Throws:
MetaModelException
getSchemaByName
public Schema getSchemaByName(java.lang.String name)
throws MetaModelException
- Specified by:
getSchemaByName in interface IDataContextStrategy
- Returns:
- the schema with the specified name, or null if such a schema is
not available
- Throws:
MetaModelException
getSchemaNames
public java.lang.String[] getSchemaNames()
throws MetaModelException
- Specified by:
getSchemaNames in interface IDataContextStrategy
- Returns:
- an array of schema names within this datastore.
- Throws:
MetaModelException
Copyright © 2007-2010. All Rights Reserved.