Class UnionFunctions.CompareType
java.lang.Object
org.apache.drill.exec.expr.fn.impl.UnionFunctions.CompareType
- All Implemented Interfaces:
DrillFunc
,DrillSimpleFunc
- Enclosing class:
- UnionFunctions
Returns zero if the inputs have equivalent types. Two numeric types are
considered equivalent, as are a combination of date/timestamp. If not
equivalent, returns a value determined by the numeric value of the
MinorType enum
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CompareType
public CompareType()
-
-
Method Details
-
setup
public void setup()- Specified by:
setup
in interfaceDrillSimpleFunc
-
eval
public void eval()- Specified by:
eval
in interfaceDrillSimpleFunc
-