| java.lang.Object org.netbeans.modules.sql.framework.codegen.SQLOperatorFactory
SQLOperatorFactory | public class SQLOperatorFactory implements Serializable(Code) | | Factory for creating instances of SQLOperatorDefinition.
author: Ahimanikya Satapathy version: $Revision$ |
Inner Class :protected static class CastingRule | |
SQLOperatorFactory | public SQLOperatorFactory(String defFile, SQLOperatorFactory parent)(Code) | | Constructor.
Parameters: defFile - String definition file name Parameters: parent - SQLOperatorFactory |
getCastingRuleFor | public int getCastingRuleFor(int sourceType, int targetType)(Code) | | Gets applicable casting rule for the given source and target JDBC types.
Parameters: sourceType - source JDBC typecode Parameters: targetType - target JDBCD typecode applicable rule constant, one of TYPE_CHECK_SAME, TYPE_CHECK_COMPATIBLE,TYPE_CHECK_DOWNCAST_WARNING, or TYPE_CHECK_INCOMPATIBLE. See Also: SQLConstants |
getCastingRuleFor | public int getCastingRuleFor(String sourceType, String targetType)(Code) | | Gets applicable casting rule for the given source and target SQL types.
Parameters: sourceType - source SQL type Parameters: targetType - target SQL type applicable rule constant, one of TYPE_CHECK_SAME, TYPE_CHECK_COMPATIBLE,TYPE_CHECK_DOWNCAST_WARNING, or TYPE_CHECK_INCOMPATIBLE. See Also: SQLConstants |
getDbSpecficOperatorDefinition | public SQLOperatorDefinition getDbSpecficOperatorDefinition(String dbOpName)(Code) | | Gets a DB-specific SQLOperatorDefinition, if any, for a given operator by name.
Parameters: dbOpName - String SQLOperatorDefinition for dbOpName , or null if none exists. |
getSQLOperatorDefinition | public SQLOperatorDefinition getSQLOperatorDefinition(String operatorName)(Code) | | Gets Operator definition for a given operator by name.
Parameters: operatorName - String SQLOperatorDefinition for operatorName , or null if noneexists. |
parseXML | protected void parseXML(String defFile) throws BaseException(Code) | | Parses the XML for OperatorDefinition.
Parameters: defFile - String Definition filename exception: BaseException - thrown while loading OperatorDefinitions |
|
|