BasePathBucketer instead.@Deprecated public class NonRollingBucketer extends Object implements Bucketer
Bucketer that does not perform any
rolling of files. All files are written to the base path.| 构造器和说明 |
|---|
NonRollingBucketer()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.hadoop.fs.Path |
getNextBucketPath(org.apache.hadoop.fs.Path basePath)
已过时。
Returns the
Path of a new bucket file. |
boolean |
shouldStartNewBucket(org.apache.hadoop.fs.Path basePath,
org.apache.hadoop.fs.Path currentBucketPath)
已过时。
Returns
true when a new bucket should be started. |
String |
toString()
已过时。
|
public boolean shouldStartNewBucket(org.apache.hadoop.fs.Path basePath,
org.apache.hadoop.fs.Path currentBucketPath)
Bucketertrue when a new bucket should be started.shouldStartNewBucket 在接口中 BucketercurrentBucketPath - The bucket Path that is currently being used.public org.apache.hadoop.fs.Path getNextBucketPath(org.apache.hadoop.fs.Path basePath)
BucketerPath of a new bucket file.getNextBucketPath 在接口中 BucketerbasePath - The base path containing all the buckets.Path of the new bucket. This should include the basePath
and also the subtaskIndex tp avoid clashes with parallel sinks.Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.