Package | Description |
---|---|
org.apache.kudu.client |
Modifier and Type | Method and Description |
---|---|
CreateTableOptions |
CreateTableOptions.addHashPartitions(List<String> columns,
int buckets)
Add a set of hash partitions to the table.
|
CreateTableOptions |
CreateTableOptions.addHashPartitions(List<String> columns,
int buckets,
int seed)
Add a set of hash partitions to the table.
|
CreateTableOptions |
CreateTableOptions.addRangePartition(PartialRow lower,
PartialRow upper)
Add a range partition partition to the table with an inclusive lower bound
and an exclusive upper bound.
|
CreateTableOptions |
CreateTableOptions.addRangePartition(PartialRow lower,
PartialRow upper,
RangePartitionBound lowerBoundType,
RangePartitionBound upperBoundType)
Add a range partition partition to the table with a lower bound and upper
bound.
|
CreateTableOptions |
CreateTableOptions.addSplitRow(PartialRow row)
Add a range partition split.
|
CreateTableOptions |
CreateTableOptions.setNumReplicas(int numReplicas)
Sets the number of replicas that each tablet will have.
|
CreateTableOptions |
CreateTableOptions.setRangePartitionColumns(List<String> columns)
Set the columns on which the table will be range-partitioned.
|
Modifier and Type | Method and Description |
---|---|
KuduTable |
KuduClient.createTable(String name,
Schema schema,
CreateTableOptions builder)
Create a table on the cluster with the specified name, schema, and table configurations.
|
com.stumbleupon.async.Deferred<KuduTable> |
AsyncKuduClient.createTable(String name,
Schema schema,
CreateTableOptions builder)
Create a table on the cluster with the specified name, schema, and table configurations.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.