@InterfaceAudience.Public @InterfaceStability.Evolving public static class KuduPartitioner.KuduPartitionerBuilder extends Object
KuduPartitioner
.Constructor and Description |
---|
KuduPartitionerBuilder(KuduTable table) |
Modifier and Type | Method and Description |
---|---|
KuduPartitioner |
build()
Builds a
KuduPartitioner using the passed configurations. |
KuduPartitioner.KuduPartitionerBuilder |
buildTimeout(long timeoutMillis)
Set the timeout used for building the
KuduPartitioner . |
public KuduPartitionerBuilder(KuduTable table)
public KuduPartitioner.KuduPartitionerBuilder buildTimeout(long timeoutMillis)
KuduPartitioner
.
Defaults to the AsyncKuduClient.getDefaultAdminOperationTimeoutMs()
.timeoutMillis
- the timeout to set in milliseconds.public KuduPartitioner build() throws KuduException
KuduPartitioner
using the passed configurations.KuduPartitioner
KuduException