| 构造器和说明 |
|---|
BasePathBucketer() |
public org.apache.hadoop.fs.Path getBucketPath(Clock clock, org.apache.hadoop.fs.Path basePath, T element)
BucketerPath of a bucket file.getBucketPath 在接口中 Bucketer<T>basePath - The base path containing all the buckets.element - The current element being processed.Path of the bucket which the provided element should fall in. This
should include the basePath and also the subtaskIndex to avoid clashes with
parallel sinks.Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.