class JacksonGenerator extends AnyRef
JackGenerator can only be initialized with a StructType, a MapType or an ArrayType.
Once it is initialized with StructType, it can be used to write out a struct or an array of
struct. Once it is initialized with MapType, it can be used to write out a map or an array
of map. An exception will be thrown if trying to write out a struct if it is initialized with
a MapType, and vice verse.
- Alphabetic
- By Inheritance
- JacksonGenerator
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new JacksonGenerator(dataType: DataType, writer: Writer, options: JSONOptions)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def close(): Unit
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def flush(): Unit
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def write(v: VariantVal): Unit
- def write(map: MapData): Unit
Transforms a single
MapDatato JSON object using Jackson This api calling will will be validated through accessingmapElementWriter.Transforms a single
MapDatato JSON object using Jackson This api calling will will be validated through accessingmapElementWriter.- map
a map to convert
- def write(array: ArrayData): Unit
Transforms multiple
InternalRows orMapDatas to JSON array using JacksonTransforms multiple
InternalRows orMapDatas to JSON array using Jackson- array
The array of rows or maps to convert
- def write(row: InternalRow): Unit
Transforms a single
InternalRowto JSON object using Jackson.Transforms a single
InternalRowto JSON object using Jackson. This api calling will be validated through accessingrootFieldWriters.- row
The row to convert
- def writeLineEnding(): Unit
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)