Class DaysFunction.DateToDaysFunction
- java.lang.Object
-
- org.apache.iceberg.spark.functions.DaysFunction.DateToDaysFunction
-
- 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:
- DaysFunction
public static class DaysFunction.DateToDaysFunction extends java.lang.Object- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DateToDaysFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcanonicalName()booleanequals(java.lang.Object other)inthashCode()org.apache.spark.sql.types.DataType[]inputTypes()static intinvoke(int days)java.lang.IntegerproduceResult(org.apache.spark.sql.catalyst.InternalRow input)
-
-
-
Method Detail
-
invoke
public static int invoke(int days)
-
inputTypes
public org.apache.spark.sql.types.DataType[] inputTypes()
-
canonicalName
public java.lang.String canonicalName()
-
produceResult
public java.lang.Integer produceResult(org.apache.spark.sql.catalyst.InternalRow input)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
-