public class YearsFunction
extends java.lang.Object
Example usage: SELECT system.years('source_col').
| Modifier and Type | Class and Description |
|---|---|
static class |
YearsFunction.DateToYearsFunction |
static class |
YearsFunction.TimestampNtzToYearsFunction |
static class |
YearsFunction.TimestampToYearsFunction |
| Constructor and Description |
|---|
YearsFunction() |
| 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