Class MonthsFunction.TimestampNtzToMonthsFunction
java.lang.Object
org.apache.iceberg.spark.functions.MonthsFunction.TimestampNtzToMonthsFunction
- All Implemented Interfaces:
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<Integer>
- Enclosing class:
- MonthsFunction
- See Also:
-
Field Summary
Fields inherited from interface org.apache.spark.sql.connector.catalog.functions.ScalarFunction
MAGIC_METHOD_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
org.apache.spark.sql.types.DataType[]
static int
invoke
(long micros) name()
produceResult
(org.apache.spark.sql.catalyst.InternalRow input) org.apache.spark.sql.types.DataType
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.spark.sql.connector.catalog.functions.BoundFunction
isDeterministic, isResultNullable
-
Constructor Details
-
TimestampNtzToMonthsFunction
public TimestampNtzToMonthsFunction()
-
-
Method Details
-
invoke
public static int invoke(long micros) -
inputTypes
public org.apache.spark.sql.types.DataType[] inputTypes() -
canonicalName
-
produceResult
-
name
-
resultType
public org.apache.spark.sql.types.DataType resultType() -
hashCode
public int hashCode() -
equals
-