Class SchemaConverters.SchemaType

Object
org.apache.spark.sql.avro.SchemaConverters.SchemaType
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product, scala.Serializable
Enclosing class:
SchemaConverters

public static class SchemaConverters.SchemaType extends Object implements scala.Product, scala.Serializable
Internal wrapper for SQL data type and nullability.

Since:
2.4.0
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    SchemaType(DataType dataType, boolean nullable)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productIterator, productPrefix
  • Constructor Details

    • SchemaType

      public SchemaType(DataType dataType, boolean nullable)
  • Method Details

    • dataType

      public DataType dataType()
    • nullable

      public boolean nullable()