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 java.lang.AutoCloseable>
 
 protected static interface GenericArrowVectorAccessorFactory.DecimalFactory<DecimalT>Create a decimal value of typeDecimalTfrom arrow vector value.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<DecimalT>getGenericClass()Class of concrete decimal type.DecimalTofBigDecimal(java.math.BigDecimal value, int precision, int scale)Create a decimal from the givenBigDecimalvalue, precision and scale.DecimalTofLong(long value, int precision, int scale)Create a decimal from the given long value, precision and scale.
 
- 
- 
- 
Method Detail- 
getGenericClassjava.lang.Class<DecimalT> getGenericClass() Class of concrete decimal type.
 - 
ofLongDecimalT ofLong(long value, int precision, int scale) Create a decimal from the given long value, precision and scale.
 - 
ofBigDecimalDecimalT ofBigDecimal(java.math.BigDecimal value, int precision, int scale) Create a decimal from the givenBigDecimalvalue, precision and scale.
 
- 
 
-