public class DecimalType extends DataType
BinaryType, BooleanType, ByteType, DateType, DoubleType, FloatType, IntegerType, LongType, NullType, ShortType, StringType, TimestampType| Constructor and Description |
|---|
DecimalType() |
DecimalType(int precision,
int scale) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getPrecision()
Return the precision, or -1 if no precision is set
|
int |
getScale()
Return the scale, or -1 if no precision is set
|
int |
hashCode() |
boolean |
isFixed() |
boolean |
isUnlimited() |
createArrayType, createArrayType, createMapType, createMapType, createStructField, createStructField, createStructType, createStructTypepublic DecimalType(int precision,
int scale)
public DecimalType()
public boolean isUnlimited()
public boolean isFixed()
public int getPrecision()
public int getScale()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object