Package io.trino.plugin.hive
Class HivePartitioningHandle
- java.lang.Object
-
- io.trino.plugin.hive.HivePartitioningHandle
-
- All Implemented Interfaces:
ConnectorPartitioningHandle
public class HivePartitioningHandle extends Object implements ConnectorPartitioningHandle
-
-
Constructor Summary
Constructors Constructor Description HivePartitioningHandle(HiveBucketing.BucketingVersion bucketingVersion, int bucketCount, List<HiveType> hiveTypes, OptionalInt maxCompatibleBucketCount, boolean usePartitionedBucketing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetBucketCount()HiveBucketing.BucketingVersiongetBucketingVersion()List<HiveType>getHiveTypes()OptionalIntgetMaxCompatibleBucketCount()inthashCode()booleanisUsePartitionedBucketing()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.trino.spi.connector.ConnectorPartitioningHandle
isCoordinatorOnly, isSingleNode
-
-
-
-
Constructor Detail
-
HivePartitioningHandle
public HivePartitioningHandle(HiveBucketing.BucketingVersion bucketingVersion, int bucketCount, List<HiveType> hiveTypes, OptionalInt maxCompatibleBucketCount, boolean usePartitionedBucketing)
-
-
Method Detail
-
getBucketingVersion
public HiveBucketing.BucketingVersion getBucketingVersion()
-
getBucketCount
public int getBucketCount()
-
getMaxCompatibleBucketCount
public OptionalInt getMaxCompatibleBucketCount()
-
isUsePartitionedBucketing
public boolean isUsePartitionedBucketing()
-
-