java.lang.Object
org.apache.arrow.gandiva.expression.InNode
- All Implemented Interfaces:
TreeNode
In Node representation in java.
-
Method Summary
Modifier and TypeMethodDescriptionstatic InNodemakeBinaryInExpr(TreeNode node, Set<byte[]> binaryValues) static InNodemakeDecimalInExpr(TreeNode node, Set<BigDecimal> decimalValues, Integer precision, Integer scale) static InNodemakeDoubleInExpr(TreeNode node, Set<Double> doubleValues) Makes an IN node for double values.static InNodemakeFloatInExpr(TreeNode node, Set<Float> floatValues) Makes an IN node for float values.static InNodemakeIntInExpr(TreeNode node, Set<Integer> intValues) Makes an IN node for int values.static InNodemakeLongInExpr(TreeNode node, Set<Long> longValues) Makes an IN node for long values.static InNodemakeStringInExpr(TreeNode node, Set<String> stringValues) Converts a TreeNode into a protobuf.
-
Method Details
-
makeIntInExpr
Makes an IN node for int values.- Parameters:
node- Node with the 'IN' clause.intValues- Int values to build the IN node.- Returns:
- InNode referring to tree node.
-
makeLongInExpr
Makes an IN node for long values.- Parameters:
node- Node with the 'IN' clause.longValues- Long values to build the IN node.- Returns:
- InNode referring to tree node.
-
makeFloatInExpr
Makes an IN node for float values.- Parameters:
node- Node with the 'IN' clause.floatValues- Float values to build the IN node.- Returns:
- InNode referring to tree node.
-
makeDoubleInExpr
Makes an IN node for double values.- Parameters:
node- Node with the 'IN' clause.doubleValues- Double values to build the IN node.- Returns:
- InNode referring to tree node.
-
makeDecimalInExpr
-
makeStringInExpr
-
makeBinaryInExpr
-
toProtobuf
Description copied from interface:TreeNodeConverts a TreeNode into a protobuf.- Specified by:
toProtobufin interfaceTreeNode- Returns:
- A treenode protobuf
- Throws:
GandivaException- in case the TreeNode cannot be processed
-