Package | Description |
---|---|
org.apache.kudu.client |
Modifier and Type | Method and Description |
---|---|
AlterTableOptions |
AlterTableOptions.addColumn(ColumnSchema colSchema)
Add a new column.
|
AlterTableOptions |
AlterTableOptions.addColumn(String name,
Type type,
Object defaultVal)
Add a new column that's not nullable.
|
AlterTableOptions |
AlterTableOptions.addNullableColumn(String name,
Type type)
Add a new column that's nullable and has no default value.
|
AlterTableOptions |
AlterTableOptions.addNullableColumn(String name,
Type type,
Object defaultVal)
Add a new column that's nullable.
|
AlterTableOptions |
AlterTableOptions.addRangePartition(PartialRow lowerBound,
PartialRow upperBound)
Add a range partition to the table with an inclusive lower bound and an exclusive upper bound.
|
AlterTableOptions |
AlterTableOptions.addRangePartition(PartialRow lowerBound,
PartialRow upperBound,
RangePartitionBound lowerBoundType,
RangePartitionBound upperBoundType)
Add a range partition to the table with a lower bound and upper bound.
|
AlterTableOptions |
AlterTableOptions.changeCompressionAlgorithm(String name,
org.apache.kudu.ColumnSchema.CompressionAlgorithm ca)
Change the compression used for a column.
|
AlterTableOptions |
AlterTableOptions.changeDefault(String name,
Object newDefault)
Change the default value for a column.
|
AlterTableOptions |
AlterTableOptions.changeDesiredBlockSize(String name,
int blockSize)
Change the block size of a column's storage.
|
AlterTableOptions |
AlterTableOptions.changeEncoding(String name,
org.apache.kudu.ColumnSchema.Encoding encoding)
Change the encoding used for a column.
|
AlterTableOptions |
AlterTableOptions.dropColumn(String name)
Drop a column.
|
AlterTableOptions |
AlterTableOptions.dropRangePartition(PartialRow lowerBound,
PartialRow upperBound)
Drop the range partition from the table with the specified inclusive lower bound and exclusive
upper bound.
|
AlterTableOptions |
AlterTableOptions.dropRangePartition(PartialRow lowerBound,
PartialRow upperBound,
RangePartitionBound lowerBoundType,
RangePartitionBound upperBoundType)
Drop the range partition from the table with the specified lower bound and upper bound.
|
AlterTableOptions |
AlterTableOptions.removeDefault(String name)
Remove the default value for a column.
|
AlterTableOptions |
AlterTableOptions.renameColumn(String oldName,
String newName)
Change the name of a column.
|
AlterTableOptions |
AlterTableOptions.renameTable(String newName)
Change a table's name.
|
AlterTableOptions |
AlterTableOptions.setWait(boolean wait)
Whether to wait for the table to be fully altered before this alter
operation is considered to be finished.
|
Modifier and Type | Method and Description |
---|---|
AlterTableResponse |
KuduClient.alterTable(String name,
AlterTableOptions ato)
Alter a table on the cluster as specified by the builder.
|
com.stumbleupon.async.Deferred<AlterTableResponse> |
AsyncKuduClient.alterTable(String name,
AlterTableOptions ato)
Alter a table on the cluster as specified by the builder.
|
Copyright © 2018 The Apache Software Foundation. All rights reserved.