| java.lang.Object org.apache.derby.impl.sql.compile.BaseTypeCompiler org.apache.derby.impl.sql.compile.NumericTypeCompiler
NumericTypeCompiler | final public class NumericTypeCompiler extends BaseTypeCompiler (Code) | | This class implements TypeId for the SQL numeric datatype.
author: Jeff Lichtman |
compatible | public boolean compatible(TypeId otherType)(Code) | | Tell whether this type (numeric) is compatible with the given type.
Parameters: otherType - The TypeId of the other type. |
dataValueMethodName | protected String dataValueMethodName()(Code) | | Return the method name to get a Derby DataValueDescriptor
object of the correct type. This implementation returns "getDataValue".
|
getPrimitiveMethodName | public String getPrimitiveMethodName()(Code) | | Get the method name for getting out the corresponding primitive
Java type.
String The method call name for getting thecorresponding primitive Java type. |
Methods inherited from org.apache.derby.impl.sql.compile.BaseTypeCompiler | protected String dataValueMethodName()(Code)(Java Doc) public void generateDataValue(MethodBuilder mb, LocalField field)(Code)(Java Doc) public void generateNull(MethodBuilder mb)(Code)(Java Doc) public String getMatchingNationalCharTypeName()(Code)(Java Doc) public String getPrimitiveMethodName()(Code)(Java Doc) protected int getStoredFormatIdFromTypeId()(Code)(Java Doc) protected TypeCompiler getTypeCompiler(TypeId typeId)(Code)(Java Doc) protected TypeId getTypeId()(Code)(Java Doc) abstract protected String nullMethodName()(Code)(Java Doc) public boolean numberComparable(TypeId otherType, boolean forEquals, ClassFactory cf)(Code)(Java Doc) public boolean numberConvertible(TypeId otherType, boolean forDataTypeFunction)(Code)(Java Doc) public boolean numberStorable(TypeId thisType, TypeId otherType, ClassFactory cf)(Code)(Java Doc) public DataTypeDescriptor resolveArithmeticOperation(DataTypeDescriptor leftType, DataTypeDescriptor rightType, String operator) throws StandardException(Code)(Java Doc) void setTypeId(TypeId typeId)(Code)(Java Doc) protected boolean userTypeStorable(TypeId thisType, TypeId otherType, ClassFactory cf)(Code)(Java Doc)
|
|
|