the number of fractional digits for this type . null is returned for data types where this is not applicable . concode_field_sep TypeQualifiers typeQualifiers concode_elem_sep String typeName concode_elem_sep Type type concode_field_sep TypeQualifiers getTypeQualifiers concode_elem_sep TTypeDesc toTTypeDesc concode_elem_sep Type getType concode_elem_sep void setTypeQualifiers concode_elem_sep String getTypeName concode_elem_sep Integer getColumnSize concode_elem_sep Integer getPrecision
Integer function ( ) { switch ( this . type ) { case BOOLEAN_TYPE : case TINYINT_TYPE : case SMALLINT_TYPE : case INT_TYPE : case BIGINT_TYPE : return 0 ; case FLOAT_TYPE : return 7 ; case DOUBLE_TYPE : return 15 ; case DECIMAL_TYPE : return typeQualifiers . getScale ( ) ; case TIMESTAMP_TYPE : return 9 ; default : return null ; } }