Class DaysFunction
- java.lang.Object
 - 
- org.apache.iceberg.spark.functions.DaysFunction
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable,org.apache.spark.sql.connector.catalog.functions.Function,org.apache.spark.sql.connector.catalog.functions.UnboundFunction
public class DaysFunction extends java.lang.ObjectA Spark function implementation for the Iceberg day transform.Example usage:
SELECT system.days('source_col').- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDaysFunction.DateToDaysFunctionstatic classDaysFunction.TimestampNtzToDaysFunctionstatic classDaysFunction.TimestampToDaysFunction 
- 
Constructor Summary
Constructors Constructor Description DaysFunction() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.spark.sql.connector.catalog.functions.BoundFunctionbind(org.apache.spark.sql.types.StructType inputType)java.lang.Stringdescription()protected org.apache.spark.sql.connector.catalog.functions.BoundFunctiondoBind(org.apache.spark.sql.types.DataType valueType)java.lang.Stringname() 
 - 
 
- 
- 
Method Detail
- 
doBind
protected org.apache.spark.sql.connector.catalog.functions.BoundFunction doBind(org.apache.spark.sql.types.DataType valueType)
 
- 
description
public java.lang.String description()
 
- 
name
public java.lang.String name()
 
- 
bind
public org.apache.spark.sql.connector.catalog.functions.BoundFunction bind(org.apache.spark.sql.types.StructType inputType)
- Specified by:
 bindin interfaceorg.apache.spark.sql.connector.catalog.functions.UnboundFunction
 
 - 
 
 -