Class SparkMetadataColumn

  • All Implemented Interfaces:
    org.apache.spark.sql.connector.catalog.MetadataColumn

    public class SparkMetadataColumn
    extends java.lang.Object
    implements org.apache.spark.sql.connector.catalog.MetadataColumn
    • Constructor Summary

      Constructors 
      Constructor Description
      SparkMetadataColumn​(java.lang.String name, org.apache.spark.sql.types.DataType dataType, boolean isNullable)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.spark.sql.types.DataType dataType()  
      boolean isNullable()  
      java.lang.String name()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.spark.sql.connector.catalog.MetadataColumn

        comment, transform
    • Constructor Detail

      • SparkMetadataColumn

        public SparkMetadataColumn​(java.lang.String name,
                                   org.apache.spark.sql.types.DataType dataType,
                                   boolean isNullable)
    • Method Detail

      • name

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

        public org.apache.spark.sql.types.DataType dataType()
        Specified by:
        dataType in interface org.apache.spark.sql.connector.catalog.MetadataColumn
      • isNullable

        public boolean isNullable()
        Specified by:
        isNullable in interface org.apache.spark.sql.connector.catalog.MetadataColumn