Package | Description |
---|---|
org.apache.flink.api.common.serialization | |
org.apache.flink.streaming.api.functions.sink.filesystem |
Modifier and Type | Class and Description |
---|---|
class |
SimpleStringEncoder<IN>
A simple
Encoder that uses toString() on the input elements and
writes them to the output bucket file separated by newline. |
Modifier and Type | Method and Description |
---|---|
static <IN> StreamingFileSink.DefaultRowFormatBuilder<IN> |
StreamingFileSink.forRowFormat(Path basePath,
Encoder<IN> encoder)
Creates the builder for a
StreamingFileSink with row-encoding format. |
Constructor and Description |
---|
RowFormatBuilder(Path basePath,
Encoder<IN> encoder,
BucketAssigner<IN,BucketID> bucketAssigner) |
RowFormatBuilder(Path basePath,
Encoder<IN> encoder,
BucketAssigner<IN,BucketID> assigner,
RollingPolicy<IN,BucketID> policy,
long bucketCheckInterval,
org.apache.flink.streaming.api.functions.sink.filesystem.BucketFactory<IN,BucketID> bucketFactory,
OutputFileConfig outputFileConfig) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.