Packages

package avro

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

Value Members

  1. object SchemaConverters

    This object contains method that are used to convert sparkSQL schemas to avro schemas and vice versa.

    This object contains method that are used to convert sparkSQL schemas to avro schemas and vice versa.

    Annotations
    @DeveloperApi()
  2. object functions

Deprecated Value Members

  1. def from_avro(data: Column, jsonFormatSchema: String): Column

    Converts a binary column of avro format into its corresponding catalyst value.

    Converts a binary column of avro format into its corresponding catalyst value. The specified schema must match the read data, otherwise the behavior is undefined: it may fail or return arbitrary result.

    data

    the binary column.

    jsonFormatSchema

    the avro schema in JSON string format.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Please use 'org.apache.spark.sql.avro.functions.from_avro' instead.

    Since

    2.4.0

  2. def to_avro(data: Column): Column

    Converts a column into binary of avro format.

    Converts a column into binary of avro format.

    data

    the data column.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Please use 'org.apache.spark.sql.avro.functions.to_avro' instead.

    Since

    2.4.0

Inherited from AnyRef

Inherited from Any

Ungrouped