public class PaimonSparkScalarFunction extends Object implements org.apache.spark.sql.connector.catalog.functions.ScalarFunction<Object>, Serializable
Constructor and Description |
---|
PaimonSparkScalarFunction(String functionName,
List<org.apache.spark.sql.types.DataType> inputTypes,
org.apache.spark.sql.types.DataType resultType,
String javaType,
String lambdaExpression) |
Modifier and Type | Method and Description |
---|---|
String |
canonicalName() |
org.apache.spark.sql.types.DataType[] |
inputTypes() |
String |
name() |
Object |
produceResult(org.apache.spark.sql.catalyst.InternalRow input) |
org.apache.spark.sql.types.DataType |
resultType() |
public org.apache.spark.sql.types.DataType[] inputTypes()
inputTypes
in interface org.apache.spark.sql.connector.catalog.functions.BoundFunction
public org.apache.spark.sql.types.DataType resultType()
resultType
in interface org.apache.spark.sql.connector.catalog.functions.BoundFunction
public Object produceResult(org.apache.spark.sql.catalyst.InternalRow input)
produceResult
in interface org.apache.spark.sql.connector.catalog.functions.ScalarFunction<Object>
public String name()
name
in interface org.apache.spark.sql.connector.catalog.functions.Function
public String canonicalName()
canonicalName
in interface org.apache.spark.sql.connector.catalog.functions.BoundFunction
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.