public class SchemaSerializer extends Object implements JsonSerializer<TableSchema>, JsonDeserializer<TableSchema>
JsonSerializer
for TableSchema
.Modifier and Type | Field and Description |
---|---|
static SchemaSerializer |
INSTANCE |
Constructor and Description |
---|
SchemaSerializer() |
Modifier and Type | Method and Description |
---|---|
TableSchema |
deserialize(org.apache.paimon.shade.jackson2.com.fasterxml.jackson.databind.JsonNode node) |
void |
serialize(TableSchema tableSchema,
org.apache.paimon.shade.jackson2.com.fasterxml.jackson.core.JsonGenerator generator) |
public static final SchemaSerializer INSTANCE
public void serialize(TableSchema tableSchema, org.apache.paimon.shade.jackson2.com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
serialize
in interface JsonSerializer<TableSchema>
IOException
public TableSchema deserialize(org.apache.paimon.shade.jackson2.com.fasterxml.jackson.databind.JsonNode node)
deserialize
in interface JsonDeserializer<TableSchema>
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.