public static class MonthsFunction.DateToMonthsFunction
extends java.lang.Object
Constructor and Description |
---|
DateToMonthsFunction() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
canonicalName() |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
org.apache.spark.sql.types.DataType[] |
inputTypes() |
static int |
invoke(int days) |
java.lang.Integer |
produceResult(org.apache.spark.sql.catalyst.InternalRow input) |
public static int invoke(int days)
public org.apache.spark.sql.types.DataType[] inputTypes()
public java.lang.String canonicalName()
public java.lang.Integer produceResult(org.apache.spark.sql.catalyst.InternalRow input)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object