Interface GenericArrowVectorAccessorFactory.DecimalFactory<DecimalT>
- Type Parameters:
- DecimalT- A concrete type that can represent a decimal, e.g, Spark's Decimal.
- Enclosing class:
- GenericArrowVectorAccessorFactory<DecimalT,- Utf8StringT, - ArrayT, - ChildVectorT extends AutoCloseable> 
protected static interface GenericArrowVectorAccessorFactory.DecimalFactory<DecimalT>
Create a decimal value of type 
DecimalT from arrow vector value.- 
Method SummaryModifier and TypeMethodDescriptionClass of concrete decimal type.ofBigDecimal(BigDecimal value, int precision, int scale) Create a decimal from the givenBigDecimalvalue, precision and scale.ofLong(long value, int precision, int scale) Create a decimal from the given long value, precision and scale.
- 
Method Details- 
getGenericClassClass of concrete decimal type.
- 
ofLongCreate a decimal from the given long value, precision and scale.
- 
ofBigDecimalCreate a decimal from the givenBigDecimalvalue, precision and scale.
 
-