Package ai.rapids.cudf
Class Table.TableOperation
java.lang.Object
ai.rapids.cudf.Table.TableOperation
- Enclosing class:
- Table
-
Method Summary
Modifier and TypeMethodDescriptionhashPartition
(int numberOfPartitions) Hash partition a table into the specified number of partitions.hashPartition
(HashType type, int numberOfPartitions) Hash partition a table into the specified number of partitions.hashPartition
(HashType type, int numberOfPartitions, int seed) Hash partition a table into the specified number of partitions.
-
Method Details
-
hashPartition
Hash partition a table into the specified number of partitions. Uses the default MURMUR3 hashing.- Parameters:
numberOfPartitions
- - number of partitions to use- Returns:
- -
PartitionedTable
- Table that exposes a limited functionality of theTable
class
-
hashPartition
Hash partition a table into the specified number of partitions.- Parameters:
type
- the type of hash to use. Depending on the type of hash different restrictions on the hash column(s) may exist. Not all hash functions are guaranteed to work besides IDENTITY and MURMUR3.numberOfPartitions
- - number of partitions to use- Returns:
PartitionedTable
- Table that exposes a limited functionality of theTable
class
-
hashPartition
Hash partition a table into the specified number of partitions.- Parameters:
type
- the type of hash to use. Depending on the type of hash different restrictions on the hash column(s) may exist. Not all hash functions are guaranteed to work besides IDENTITY and MURMUR3.numberOfPartitions
- number of partitions to useseed
- the seed value for hashing- Returns:
- Table that exposes a limited functionality of the
Table
class
-