Object

org.apache.spark.sql.execution.datasources.json

JsonIngestionUtil

Related Doc: package json

Permalink

object JsonIngestionUtil

Code here comes from org.apache.spark.sql.execution.datasources.json.InferSchema

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonIngestionUtil
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def compareTypes(context: List[String], schemaType: (String, DataType, Boolean), datasetType: (String, DataType, Boolean)): List[String]

    Permalink

    similar to compatibleType(...) but instead of creating a new datatype, simply check the compatibility

    similar to compatibleType(...) but instead of creating a new datatype, simply check the compatibility

    context

    : full path to attribute, makes error messages more understandable

    schemaType

    : (attributeName, attributeType, isRequired) coming from the schema

    returns

    List of errors, Nil when datasetType is compatible with schemaType

  7. def compareTypes(schemaType: DataType, datasetType: DataType): List[String]

    Permalink
  8. def compatibleType(t1: DataType, t2: DataType): DataType

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. val factory: JsonFactory

    Permalink
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. val findTightestCommonTypeOfTwo: (DataType, DataType) ⇒ Option[DataType]

    Permalink
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def inferSchema(parser: JsonParser): DataType

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def parseRDD(inputRDD: RDD[Row], schemaSparkType: DataType): RDD[Either[List[String], (String, String)]]

    Permalink
  22. def parseString(content: String): Try[DataType]

    Permalink
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped