@Internal public class Bucket<IN,BucketID> extends Object
StreamingFileSink
.
For each incoming element in the StreamingFileSink
, the user-specified BucketAssigner
is queried to see in which bucket this element should be written to.
Modifier and Type | Method and Description |
---|---|
BucketID |
getBucketId() |
Path |
getBucketPath() |
long |
getPartCounter() |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.