Class HoursFunction
java.lang.Object
org.apache.iceberg.spark.functions.HoursFunction
- All Implemented Interfaces:
- Serializable,- org.apache.spark.sql.connector.catalog.functions.Function,- org.apache.spark.sql.connector.catalog.functions.UnboundFunction
A Spark function implementation for the Iceberg hour transform.
 
Example usage: SELECT system.hours('source_col').
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic class
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
HoursFunctionpublic HoursFunction()
 
- 
- 
Method Details- 
doBindprotected org.apache.spark.sql.connector.catalog.functions.BoundFunction doBind(org.apache.spark.sql.types.DataType valueType) 
- 
description
- 
name
- 
bindpublic org.apache.spark.sql.connector.catalog.functions.BoundFunction bind(org.apache.spark.sql.types.StructType inputType) - Specified by:
- bindin interface- org.apache.spark.sql.connector.catalog.functions.UnboundFunction
 
 
-