@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(TypeInformation<Row> typeInfo)
Creates a JSON serialization schema for the given type information.
|
public Builder(TypeInformation<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.