@Deprecated public class BucketIdResolverImpl extends Object implements BucketIdResolver
BucketIdResolver that includes the logic required to calculate a bucket id from a record
that is consistent with Hive's own internal computation scheme.| Constructor and Description |
|---|
BucketIdResolverImpl(ObjectInspector objectInspector,
int recordIdColumn,
int totalBuckets,
int[] bucketColumns)
Deprecated.
Note that all column indexes are with respect to your record structure, not the Hive table structure.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
attachBucketIdToRecord(Object record)
Deprecated.
|
int |
computeBucketId(Object record)
Deprecated.
|
public BucketIdResolverImpl(ObjectInspector objectInspector, int recordIdColumn, int totalBuckets, int[] bucketColumns)
public Object attachBucketIdToRecord(Object record)
attachBucketIdToRecord in interface BucketIdResolverpublic int computeBucketId(Object record)
BucketIdResolvercomputeBucketId in interface BucketIdResolverCopyright © 2019 The Apache Software Foundation. All Rights Reserved.