| Modifier and Type | Field and Description |
|---|---|
static List<AlterTableType> |
AlterTableType.NON_NATIVE_TABLE_ALLOWED |
static Set<AlterTableType> |
AlterTableType.SUPPORT_PARTIAL_PARTITION_SPEC |
| Modifier and Type | Method and Description |
|---|---|
AlterTableType |
AbstractAlterTableDesc.getType() |
static AlterTableType |
AlterTableType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlterTableType[] |
AlterTableType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractBaseAlterTableAnalyzer.addInputsOutputsAlterTable(TableName tableName,
Map<String,String> partitionSpec,
AbstractAlterTableDesc desc,
AlterTableType op,
boolean doForceExclusive) |
protected void |
AbstractBaseAlterTableAnalyzer.validateAlterTableType(Table table,
AlterTableType op,
boolean expectView) |
| Constructor and Description |
|---|
AbstractAlterTableDesc(AlterTableType type,
TableName tableName,
Map<String,String> partitionSpec,
ReplicationSpec replicationSpec,
boolean isCascade,
boolean expectView,
Map<String,String> props) |
AbstractAlterTableWithConstraintsDesc(AlterTableType type,
TableName tableName,
Map<String,String> partitionSpec,
ReplicationSpec replicationSpec,
boolean isCascade,
boolean expectView,
Map<String,String> props,
Constraints constraints) |
| Modifier and Type | Field and Description |
|---|---|
protected AlterTableType |
AlterTableCreateSnapshotRefAnalyzer.alterTableType |
protected AlterTableType |
AlterTableDropSnapshotRefAnalyzer.alterTableType |
| Constructor and Description |
|---|
AlterTableSnapshotRefDesc(AlterTableType alterTableType,
TableName tableName,
AlterTableSnapshotRefSpec alterTableSnapshotRefSpec) |
| Modifier and Type | Method and Description |
|---|---|
static WriteEntity.WriteType |
WriteEntity.determineAlterTableWriteType(AlterTableType op,
Table table,
HiveConf conf)
Determine the type of lock to request for a given alter table type.
|
| Modifier and Type | Field and Description |
|---|---|
static List<AlterTableType> |
HiveStorageHandler.DEFAULT_ALLOWED_ALTER_OPS |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
HiveStorageHandler.isAllowedAlterOperation(AlterTableType opType)
Checks whether a certain ALTER TABLE operation is supported by the storage handler implementation.
|
| Modifier and Type | Method and Description |
|---|---|
AlterTableType |
AlterTableSnapshotRefSpec.getOperationType() |
| Constructor and Description |
|---|
AlterTableSnapshotRefSpec(AlterTableType type,
T value) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.