| Package | Description |
|---|---|
| org.apache.flink.streaming.api.functions.sink.filesystem |
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamingFileSink.RowFormatBuilder<IN,BucketID,T extends StreamingFileSink.RowFormatBuilder<IN,BucketID,T>>
A builder for configuring the sink for row-wise encoding formats.
|
| Modifier and Type | Method and Description |
|---|---|
static <IN> StreamingFileSink.RowFormatBuilder<IN,String,? extends StreamingFileSink.RowFormatBuilder<IN,String,?>> |
StreamingFileSink.forRowFormat(org.apache.flink.core.fs.Path basePath,
org.apache.flink.api.common.serialization.Encoder<IN> encoder)
Creates the builder for a
StreamingFileSink with row-encoding format. |
<ID> StreamingFileSink.RowFormatBuilder<IN,ID,? extends StreamingFileSink.RowFormatBuilder<IN,ID,?>> |
StreamingFileSink.RowFormatBuilder.withNewBucketAssignerAndPolicy(BucketAssigner<IN,ID> assigner,
RollingPolicy<IN,ID> policy) |
| Modifier and Type | Method and Description |
|---|---|
static <IN> StreamingFileSink.RowFormatBuilder<IN,String,? extends StreamingFileSink.RowFormatBuilder<IN,String,?>> |
StreamingFileSink.forRowFormat(org.apache.flink.core.fs.Path basePath,
org.apache.flink.api.common.serialization.Encoder<IN> encoder)
Creates the builder for a
StreamingFileSink with row-encoding format. |
<ID> StreamingFileSink.RowFormatBuilder<IN,ID,? extends StreamingFileSink.RowFormatBuilder<IN,ID,?>> |
StreamingFileSink.RowFormatBuilder.withNewBucketAssignerAndPolicy(BucketAssigner<IN,ID> assigner,
RollingPolicy<IN,ID> policy) |
| Constructor and Description |
|---|
StreamingFileSink(StreamingFileSink.RowFormatBuilder<IN,?,? extends org.apache.flink.streaming.api.functions.sink.filesystem.StreamingFileSink.BucketsBuilder<IN,?,?>> bucketsBuilder,
long bucketCheckInterval)
Creates a new
StreamingFileSink that writes files in row-based format to the given base directory. |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.