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.BoundFunctionpublic org.apache.spark.sql.types.DataType resultType()
resultType in interface org.apache.spark.sql.connector.catalog.functions.BoundFunctionpublic 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.Functionpublic String canonicalName()
canonicalName in interface org.apache.spark.sql.connector.catalog.functions.BoundFunctionCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.