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 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()
-
-
-
Method Detail
-
name
public java.lang.String 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
-
-