Package org.apache.iceberg.spark.source
Class SparkMetadataColumn
java.lang.Object
org.apache.iceberg.spark.source.SparkMetadataColumn
- All Implemented Interfaces:
org.apache.spark.sql.connector.catalog.MetadataColumn
public class SparkMetadataColumn
extends Object
implements org.apache.spark.sql.connector.catalog.MetadataColumn
-
Constructor Summary
ConstructorDescriptionSparkMetadataColumn
(String name, org.apache.spark.sql.types.DataType dataType, boolean isNullable) -
Method Summary
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 Details
-
SparkMetadataColumn
public SparkMetadataColumn(String name, org.apache.spark.sql.types.DataType dataType, boolean isNullable)
-
-
Method Details
-
name
- Specified by:
name
in interfaceorg.apache.spark.sql.connector.catalog.MetadataColumn
-
dataType
public org.apache.spark.sql.types.DataType dataType()- Specified by:
dataType
in interfaceorg.apache.spark.sql.connector.catalog.MetadataColumn
-
isNullable
public boolean isNullable()- Specified by:
isNullable
in interfaceorg.apache.spark.sql.connector.catalog.MetadataColumn
-