Class Column

Object
org.apache.spark.sql.catalog.Column
All Implemented Interfaces:
org.apache.spark.sql.catalyst.DefinedByConstructorParams

public class Column extends Object implements org.apache.spark.sql.catalyst.DefinedByConstructorParams
A column in Spark, as returned by listColumns method in Catalog.

param: name name of the column. param: description description of the column. param: dataType data type of the column. param: nullable whether the column is nullable. param: isPartition whether the column is a partition column. param: isBucket whether the column is a bucket column. param: isCluster whether the column is a clustering column.

Since:
2.0.0
  • Constructor Details

    • Column

      public Column(String name, String description, String dataType, boolean nullable, boolean isPartition, boolean isBucket, boolean isCluster)
    • Column

      public Column(String name, String description, String dataType, boolean nullable, boolean isPartition, boolean isBucket)
  • Method Details

    • dataType

      public String dataType()
    • description

      public String description()
    • isBucket

      public boolean isBucket()
    • isCluster

      public boolean isCluster()
    • isPartition

      public boolean isPartition()
    • name

      public String name()
    • nullable

      public boolean nullable()
    • toString

      public String toString()
      Overrides:
      toString in class Object