public class MonthsFunction
extends java.lang.Object
Example usage: SELECT system.months('source_col')
.
Modifier and Type | Class and Description |
---|---|
static class |
MonthsFunction.DateToMonthsFunction |
static class |
MonthsFunction.TimestampToMonthsFunction |
Constructor and Description |
---|
MonthsFunction() |
Modifier and Type | Method and Description |
---|---|
org.apache.spark.sql.connector.catalog.functions.BoundFunction |
bind(org.apache.spark.sql.types.StructType inputType) |
java.lang.String |
description() |
protected org.apache.spark.sql.connector.catalog.functions.BoundFunction |
doBind(org.apache.spark.sql.types.DataType valueType) |
java.lang.String |
name() |
protected org.apache.spark.sql.connector.catalog.functions.BoundFunction doBind(org.apache.spark.sql.types.DataType valueType)
public java.lang.String description()
public java.lang.String name()
public org.apache.spark.sql.connector.catalog.functions.BoundFunction bind(org.apache.spark.sql.types.StructType inputType)
bind
in interface org.apache.spark.sql.connector.catalog.functions.UnboundFunction