DecimalT
- A concrete type that can represent a decimal, e.g, Spark's Decimal.protected static interface GenericArrowVectorAccessorFactory.DecimalFactory<DecimalT>
DecimalT
from arrow vector value.Modifier and Type | Method and Description |
---|---|
java.lang.Class<DecimalT> |
getGenericClass()
Class of concrete decimal type.
|
DecimalT |
ofBigDecimal(java.math.BigDecimal value,
int precision,
int scale)
Create a decimal from the given
BigDecimal value, precision and scale. |
DecimalT |
ofLong(long value,
int precision,
int scale)
Create a decimal from the given long value, precision and scale.
|
java.lang.Class<DecimalT> getGenericClass()
DecimalT ofLong(long value, int precision, int scale)
DecimalT ofBigDecimal(java.math.BigDecimal value, int precision, int scale)
BigDecimal
value, precision and scale.