| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.farrago.plugin.FarragoAbstractPluginBase
net.sf.farrago.namespace.impl.MedAbstractBase
net.sf.farrago.namespace.impl.MedAbstractDataServer
public abstract class MedAbstractDataServer
MedAbstractDataServer is an abstract base class for implementations of the
 FarragoMedDataServer interface.
| Field Summary | |
|---|---|
| private  DataSource | loopbackDataSource | 
| private  Properties | props | 
| private  String | serverMofId | 
| Fields inherited from class net.sf.farrago.plugin.FarragoAbstractPluginBase | 
|---|
| BOOLEAN_CHOICES_DEFAULT_FALSE, BOOLEAN_CHOICES_DEFAULT_TRUE, EMPTY_DRIVER_PROPERTIES | 
| Fields inherited from interface net.sf.farrago.namespace.FarragoMedDataServer | 
|---|
| PROP_SERVER_NAME, PROP_SERVER_TYPE, PROP_SERVER_VERSION | 
| Constructor Summary | |
|---|---|
| protected  | MedAbstractDataServer(String serverMofId,
                      Properties props) | 
| Method Summary | |
|---|---|
|  void | closeAllocation()Closes this object. | 
|  DataSource | getLoopbackDataSource() | 
|  FarragoMedNameDirectory | getNameDirectory()Gets a FarragoMedNameDirectory corresponding to this server. | 
|  Properties | getProperties() | 
|  Object | getRuntimeSupport(Object param)Gets an object needed for runtime support. | 
|  String | getServerMofId() | 
|  void | registerRelMetadataProviders(ChainedRelMetadataProvider chain)Gives this wrapper a chance to register one or more RelMetadataProviders in the chain which will be used to answer
 relational expression metadata queries during optimization. | 
|  void | registerRules(RelOptPlanner planner)Gives this wrapper a chance to register any special optimization rules. | 
|  void | releaseResources()Gives this wrapper a chance to release any resources. | 
|  void | setLoopbackDataSource(DataSource loopbackDataSource)Sets a loopback DataSource which can be used to issue internal SQL queries against the containing DBMS. | 
| Methods inherited from class net.sf.farrago.plugin.FarragoAbstractPluginBase | 
|---|
| getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getShortProperty, requireProperty | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface net.sf.farrago.namespace.FarragoMedDataServer | 
|---|
| newColumnSet | 
| Field Detail | 
|---|
private String serverMofId
private Properties props
private DataSource loopbackDataSource
| Constructor Detail | 
|---|
protected MedAbstractDataServer(String serverMofId,
                                Properties props)
| Method Detail | 
|---|
public String getServerMofId()
public Properties getProperties()
public DataSource getLoopbackDataSource()
public void setLoopbackDataSource(DataSource loopbackDataSource)
FarragoMedDataServer
setLoopbackDataSource in interface FarragoMedDataServerloopbackDataSource - a DataSource for establishing a loopback
 connection into Farrago, or null if loopback connections are not
 available in the current context
public FarragoMedNameDirectory getNameDirectory()
                                         throws SQLException
FarragoMedDataServer
getNameDirectory in interface FarragoMedDataServerSQLException - if directory access is unsuccessful (but not if
 directory access is unsupported)
public Object getRuntimeSupport(Object param)
                         throws SQLException
FarragoMedDataServer
getRuntimeSupport in interface FarragoMedDataServerparam - parameter supplied at runtime
SQLExceptionpublic void registerRules(RelOptPlanner planner)
FarragoMedDataServer
registerRules in interface FarragoMedDataServerplanner - the planner in which the rules should be registeredpublic void registerRelMetadataProviders(ChainedRelMetadataProvider chain)
FarragoMedDataServerRelMetadataProviders in the chain which will be used to answer
 relational expression metadata queries during optimization. Wrappers
 which define their own relational expressions will generally need to
 supply corresponding metadata providers.
registerRelMetadataProviders in interface FarragoMedDataServerchain - receives wrappers's custom providers, if anypublic void closeAllocation()
ClosableAllocation
closeAllocation in interface ClosableAllocationpublic void releaseResources()
FarragoMedDataServer
releaseResources in interface FarragoMedDataServer| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||