Class YearsFunction.DateToYearsFunction
- java.lang.Object
-
- org.apache.iceberg.spark.functions.YearsFunction.DateToYearsFunction
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.spark.sql.connector.catalog.functions.BoundFunction
,org.apache.spark.sql.connector.catalog.functions.Function
,org.apache.spark.sql.connector.catalog.functions.ScalarFunction<java.lang.Integer>
- Enclosing class:
- YearsFunction
public static class YearsFunction.DateToYearsFunction extends java.lang.Object
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DateToYearsFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
canonicalName()
org.apache.spark.sql.types.DataType[]
inputTypes()
static int
invoke(int days)
java.lang.Integer
produceResult(org.apache.spark.sql.catalyst.InternalRow input)
-