public class functions
extends Object
| Constructor and Description |
|---|
functions() |
| Modifier and Type | Method and Description |
|---|---|
static Column |
from_avro(Column data,
String jsonFormatSchema)
Converts a binary column of avro format into its corresponding catalyst value.
|
static Column |
from_avro(Column data,
String jsonFormatSchema,
java.util.Map<String,String> options)
Converts a binary column of Avro format into its corresponding catalyst value.
|
static Column |
to_avro(Column data)
Converts a column into binary of avro format.
|
static Column |
to_avro(Column data,
String jsonFormatSchema)
Converts a column into binary of avro format.
|
public static Column from_avro(Column data, String jsonFormatSchema)
data - the binary column.jsonFormatSchema - the avro schema in JSON string format.
public static Column from_avro(Column data, String jsonFormatSchema, java.util.Map<String,String> options)
data - the binary column.jsonFormatSchema - the avro schema in JSON string format.options - options to control how the Avro record is parsed.
public static Column to_avro(Column data)
data - the data column.