| java.util.HashMap org.continuent.sequoia.common.sql.metadata.MetadataContainer
MetadataContainer | final public class MetadataContainer extends HashMap (Code) | | A MetadataContainer is basically a hashtable of jdbc metadata. We may want to
override a few options from the usual Hashtable so I've put it in a separate
class.
author: Nicolas Modrzyk author: Emmanuel Cecchet version: 1.0 |
MetadataContainer | public MetadataContainer(String url)(Code) | | Creates a new MetadataContainer object
Parameters: url - which url is this container pointed to |
getContainerKey | public static String getContainerKey(String methodName, Class[] parametersType, Object[] arguments)(Code) | | Get the metadata container key for the given query. Serializes the method
call into a "getXXX(Y,Z,...)" String (with name, signature and arguments).
Parameters: methodName - method invoked to generate the key in the container Parameters: parametersType - parameters type of invoked method Parameters: arguments - arguments used to invoke the method container key for the given method call |
getUrl | public String getUrl()(Code) | | Returns the url value.
Returns the url. |
isCompatible | public boolean isCompatible(MetadataContainer container, Trace logger)(Code) | | Check to see if two metadata sets are identical. All incompatible values
are logged as warning into the logger given.
Parameters: container - the container to check compatibility with Parameters: logger - the logger, if null, echo on stderr true if all metadata are identical. |
|
|