Package io.trino.plugin.hive
Class HivePageSource.BucketValidator
- java.lang.Object
-
- io.trino.plugin.hive.HivePageSource.BucketValidator
-
- Enclosing class:
- HivePageSource
public static class HivePageSource.BucketValidator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intVALIDATION_STRIDE
-
Constructor Summary
Constructors Constructor Description BucketValidator(org.apache.hadoop.fs.Path path, int[] bucketColumnIndices, List<org.apache.hadoop.hive.serde2.typeinfo.TypeInfo> bucketColumnTypes, HiveBucketing.BucketingVersion bucketingVersion, int bucketCount, int expectedBucket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(Page page)RecordCursorwrapRecordCursor(RecordCursor delegate, TypeManager typeManager)
-
-
-
Field Detail
-
VALIDATION_STRIDE
public static final int VALIDATION_STRIDE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BucketValidator
public BucketValidator(org.apache.hadoop.fs.Path path, int[] bucketColumnIndices, List<org.apache.hadoop.hive.serde2.typeinfo.TypeInfo> bucketColumnTypes, HiveBucketing.BucketingVersion bucketingVersion, int bucketCount, int expectedBucket)
-
-
Method Detail
-
validate
public void validate(Page page)
-
wrapRecordCursor
public RecordCursor wrapRecordCursor(RecordCursor delegate, TypeManager typeManager)
-
-