@PublicEvolving public static class JsonRowSerializationSchema.Builder extends Object
JsonRowSerializationSchema
.Constructor and Description |
---|
Builder(String jsonSchema)
Deprecated.
Use
JsonRowSerializationSchema.builder() instead. |
Builder(TypeInformation<Row> typeInfo)
Deprecated.
Use
JsonRowSerializationSchema.builder() instead. |
Modifier and Type | Method and Description |
---|---|
JsonRowSerializationSchema |
build()
Finalizes the configuration and checks validity.
|
JsonRowSerializationSchema.Builder |
withTypeInfo(TypeInformation<Row> typeInfo)
Sets type information for JSON serialization schema.
|
@Deprecated public Builder(TypeInformation<Row> typeInfo)
JsonRowSerializationSchema.builder()
instead.typeInfo
- Type information describing the result type. The field names of Row
are used to parse the JSON properties.@Deprecated public Builder(String jsonSchema)
JsonRowSerializationSchema.builder()
instead.jsonSchema
- JSON schema describing the result typepublic JsonRowSerializationSchema.Builder withTypeInfo(TypeInformation<Row> typeInfo)
typeInfo
- Type information describing the result type. The field names of Row
are used to parse the JSON properties.public JsonRowSerializationSchema build()
JsonRowSerializationSchema
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.