java.lang.Object
org.apache.arrow.gandiva.evaluator.DecimalTypeUtil
Utility methods for working with
ArrowType.Decimal values.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnum for supported mathematical operations. -
Method Summary
Modifier and TypeMethodDescriptionstatic ArrowType.DecimalgetResultTypeForOperation(DecimalTypeUtil.OperationType operation, ArrowType.Decimal operand1, ArrowType.Decimal operand2) Determines the scale and precision of applying the given operation to the operands.
-
Method Details
-
getResultTypeForOperation
public static ArrowType.Decimal getResultTypeForOperation(DecimalTypeUtil.OperationType operation, ArrowType.Decimal operand1, ArrowType.Decimal operand2) Determines the scale and precision of applying the given operation to the operands.
-