@Internal public class SerializationSchemaAdapter extends Object implements Encoder<RowData>
SerializationSchema
into a Encoder
.Constructor and Description |
---|
SerializationSchemaAdapter(SerializationSchema<RowData> serializationSchema) |
Modifier and Type | Method and Description |
---|---|
void |
encode(RowData element,
OutputStream stream)
Writes one element to the bucket file.
|
public SerializationSchemaAdapter(SerializationSchema<RowData> serializationSchema)
public void encode(RowData element, OutputStream stream) throws IOException
Encoder
encode
in interface Encoder<RowData>
element
- the element to be written.stream
- the stream to write the element to.IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.