public class HiveGenericUdf extends org.apache.spark.sql.catalyst.expressions.Expression implements HiveInspectors, Logging, scala.Product, scala.Serializable
HiveInspectors.typeInfoConversions
Constructor and Description |
---|
HiveGenericUdf(HiveFunctionWrapper funcWrapper,
scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> children) |
Modifier and Type | Method and Description |
---|---|
scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> |
children() |
org.apache.spark.sql.catalyst.types.DataType |
dataType() |
Object |
eval(org.apache.spark.sql.catalyst.expressions.Row input) |
boolean |
foldable() |
org.apache.hadoop.hive.ql.udf.generic.GenericUDF |
function() |
HiveFunctionWrapper |
funcWrapper() |
boolean |
nullable() |
String |
toString() |
c2, childrenResolved, eval$default$1, f1, f2, i1, i2, n1, n2, references, resolved
apply, argString, asCode, collect, fastEquals, flatMap, foreach, generateTreeString, getNodeNumbered, makeCopy, map, mapChildren, nodeName, numberedTreeString, otherCopyArgs, simpleString, stringArgs, transform, transformChildrenDown, transformChildrenUp, transformDown, transformUp, treeString, withNewChildren
inspectorToDataType, javaClassToDataType, toInspector, toInspector, unwrap, wrap, wrap, wrapperFor
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public HiveGenericUdf(HiveFunctionWrapper funcWrapper, scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> children)
public HiveFunctionWrapper funcWrapper()
public scala.collection.Seq<org.apache.spark.sql.catalyst.expressions.Expression> children()
children
in class org.apache.spark.sql.catalyst.trees.TreeNode<org.apache.spark.sql.catalyst.expressions.Expression>
public boolean nullable()
nullable
in class org.apache.spark.sql.catalyst.expressions.Expression
public org.apache.hadoop.hive.ql.udf.generic.GenericUDF function()
public boolean foldable()
foldable
in class org.apache.spark.sql.catalyst.expressions.Expression
public org.apache.spark.sql.catalyst.types.DataType dataType()
dataType
in class org.apache.spark.sql.catalyst.expressions.Expression
public Object eval(org.apache.spark.sql.catalyst.expressions.Row input)
eval
in class org.apache.spark.sql.catalyst.expressions.Expression
public String toString()
toString
in class org.apache.spark.sql.catalyst.trees.TreeNode<org.apache.spark.sql.catalyst.expressions.Expression>