public class HoursFunction
extends java.lang.Object
Example usage: SELECT system.hours('source_col')
.
Modifier and Type | Class and Description |
---|---|
static class |
HoursFunction.TimestampToHoursFunction |
Constructor and Description |
---|
HoursFunction() |
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