Class IcebergVersionFunction

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.spark.sql.connector.catalog.functions.Function, org.apache.spark.sql.connector.catalog.functions.UnboundFunction

    public class IcebergVersionFunction
    extends java.lang.Object
    implements org.apache.spark.sql.connector.catalog.functions.UnboundFunction
    A function for use in SQL that returns the current Iceberg version, e.g. SELECT system.iceberg_version() will return a String such as "0.14.0" or "0.15.0-SNAPSHOT"
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.spark.sql.connector.catalog.functions.BoundFunction bind​(org.apache.spark.sql.types.StructType inputType)  
      java.lang.String description()  
      java.lang.String name()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IcebergVersionFunction

        public IcebergVersionFunction()
    • Method Detail

      • bind

        public org.apache.spark.sql.connector.catalog.functions.BoundFunction bind​(org.apache.spark.sql.types.StructType inputType)
        Specified by:
        bind in interface org.apache.spark.sql.connector.catalog.functions.UnboundFunction
      • description

        public java.lang.String description()
        Specified by:
        description in interface org.apache.spark.sql.connector.catalog.functions.UnboundFunction
      • name

        public java.lang.String name()
        Specified by:
        name in interface org.apache.spark.sql.connector.catalog.functions.Function