public class DaysFunction
extends java.lang.Object
Example usage: SELECT system.days('source_col')
.
Modifier and Type | Class and Description |
---|---|
static class |
DaysFunction.DateToDaysFunction |
static class |
DaysFunction.TimestampNtzToDaysFunction |
static class |
DaysFunction.TimestampToDaysFunction |
Constructor and Description |
---|
DaysFunction() |
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