@PublicEvolving public static class JsonRowSerializationSchema.Builder extends Object
JsonRowSerializationSchema.| Constructor and Description |
|---|
Builder(String jsonSchema)
Creates a JSON serialization schema for the given JSON schema.
|
Builder(org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> typeInfo)
Creates a JSON serialization schema for the given type information.
|
public Builder(org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> typeInfo)
typeInfo - Type information describing the result type. The field names of Row
are used to parse the JSON properties.public Builder(String jsonSchema)
jsonSchema - JSON schema describing the result typepublic JsonRowSerializationSchema build()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.