Record Class HiveSplit.BucketValidation
java.lang.Object
java.lang.Record
io.trino.plugin.hive.HiveSplit.BucketValidation
- Enclosing class:
HiveSplit
public static record HiveSplit.BucketValidation(HiveBucketing.BucketingVersion bucketingVersion, int bucketCount, List<HiveColumnHandle> bucketColumns)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBucketValidation(HiveBucketing.BucketingVersion bucketingVersion, int bucketCount, List<HiveColumnHandle> bucketColumns) Creates an instance of aBucketValidationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebucketColumnsrecord component.intReturns the value of thebucketCountrecord component.Returns the value of thebucketingVersionrecord component.final booleanIndicates whether some other object is "equal to" this one.longfinal inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BucketValidation
public BucketValidation(HiveBucketing.BucketingVersion bucketingVersion, int bucketCount, List<HiveColumnHandle> bucketColumns) Creates an instance of aBucketValidationrecord class.- Parameters:
bucketingVersion- the value for thebucketingVersionrecord componentbucketCount- the value for thebucketCountrecord componentbucketColumns- the value for thebucketColumnsrecord component
-
-
Method Details
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes() -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
bucketingVersion
Returns the value of thebucketingVersionrecord component.- Returns:
- the value of the
bucketingVersionrecord component
-
bucketCount
public int bucketCount()Returns the value of thebucketCountrecord component.- Returns:
- the value of the
bucketCountrecord component
-
bucketColumns
Returns the value of thebucketColumnsrecord component.- Returns:
- the value of the
bucketColumnsrecord component
-