@Evolving public final class DecimalType extends DataType
java.math.BigDecimal values. A Decimal that must have fixed
precision (the maximum number of digits) and scale (the number of digits on right side of dot).
The precision can be up to 38, scale can also be up to 38 (less or equal to precision).
The default precision and scale is (10, 0).
| Modifier and Type | Field and Description |
|---|---|
static DecimalType |
USER_DEFAULT |
| Constructor and Description |
|---|
DecimalType(int precision,
int scale) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getPrecision() |
int |
getScale() |
int |
hashCode() |
String |
toString() |
equivalentpublic static final DecimalType USER_DEFAULT