@PublicEvolving public static class JsonRowSerializationSchema.Builder extends Object
JsonRowSerializationSchema.| Constructor and Description |
|---|
Builder(String jsonSchema)
Deprecated.
Use
JsonRowSerializationSchema.builder() instead. |
Builder(org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> typeInfo)
Deprecated.
Use
JsonRowSerializationSchema.builder() instead. |
| Modifier and Type | Method and Description |
|---|---|
JsonRowSerializationSchema |
build()
Finalizes the configuration and checks validity.
|
JsonRowSerializationSchema.Builder |
withTypeInfo(org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.Row> typeInfo)
Sets type information for JSON serialization schema.
|
@Deprecated public Builder(org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.types.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(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 JsonRowSerializationSchema build()
JsonRowSerializationSchemaCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.