Class Table.TableOperation

java.lang.Object
ai.rapids.cudf.Table.TableOperation
Enclosing class:
Table

public static final class Table.TableOperation extends Object
  • Method Details

    • hashPartition

      public PartitionedTable hashPartition(int numberOfPartitions)
      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 the Table class
    • hashPartition

      public PartitionedTable hashPartition(HashType type, int numberOfPartitions)
      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 the Table class
    • hashPartition

      public PartitionedTable hashPartition(HashType type, int numberOfPartitions, int seed)
      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
      seed - the seed value for hashing
      Returns:
      Table that exposes a limited functionality of the Table class