public static class Types.DecimalType extends Type.FractionType
Type.ComplexType, Type.DateTimeType, Type.FractionType, Type.IntegralType, Type.IntervalType, Type.Name, Type.NumericType, Type.PrimitiveType
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
Type.Name |
name() |
static Types.DecimalType |
of(int precision,
int scale) |
int |
precision() |
int |
scale() |
java.lang.String |
simpleString() |
public static Types.DecimalType of(int precision, int scale)
precision
- The precision of the decimal type.scale
- The scale of the decimal type.Types.DecimalType
with the given precision and scale.public Type.Name name()
public int precision()
public int scale()
public java.lang.String simpleString()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object