@Internal public class MongoRowDataDeserializationSchema extends Object implements MongoDeserializationSchema<org.apache.flink.table.data.RowData>
BsonDocument to RowData.| Constructor and Description |
|---|
MongoRowDataDeserializationSchema(org.apache.flink.table.types.logical.RowType rowType,
org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.table.data.RowData> typeInfo) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.table.data.RowData |
deserialize(org.bson.BsonDocument document)
Deserializes the BSON document.
|
org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.table.data.RowData> |
getProducedType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserializepublic MongoRowDataDeserializationSchema(org.apache.flink.table.types.logical.RowType rowType,
org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.table.data.RowData> typeInfo)
public org.apache.flink.table.data.RowData deserialize(org.bson.BsonDocument document)
MongoDeserializationSchemadeserialize in interface MongoDeserializationSchema<org.apache.flink.table.data.RowData>document - The BSON document to deserialize.public org.apache.flink.api.common.typeinfo.TypeInformation<org.apache.flink.table.data.RowData> getProducedType()
getProducedType in interface org.apache.flink.api.java.typeutils.ResultTypeQueryable<org.apache.flink.table.data.RowData>Copyright © 2022–2025 The Apache Software Foundation. All rights reserved.