| Modifier and Type | Method and Description |
|---|---|
Context.Operation |
Context.getOperation() |
static Context.Operation |
Context.Operation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Context.Operation[] |
Context.Operation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Context.setOperation(Context.Operation operation) |
void |
Context.setOperation(Context.Operation operation,
boolean splitUpdate) |
| Modifier and Type | Method and Description |
|---|---|
static List<org.apache.hadoop.hive.metastore.api.LockComponent> |
AcidUtils.makeLockComponents(Set<WriteEntity> outputs,
Set<ReadEntity> inputs,
Context.Operation operation,
HiveConf conf)
Create lock components from write/read entities.
|
| Modifier and Type | Method and Description |
|---|---|
default List<org.apache.hadoop.hive.metastore.api.FieldSchema> |
HiveStorageHandler.acidSelectColumns(Table table,
Context.Operation operation)
UpdateSemanticAnalyzer rewrites UPDATE and
DeleteSemanticAnalyzer rewrites DELETE queries into INSERT queries. |
default List<org.apache.hadoop.hive.metastore.api.FieldSchema> |
HiveStorageHandler.acidSortColumns(Table table,
Context.Operation operation)
UpdateSemanticAnalyzer rewrites UPDATE and
DeleteSemanticAnalyzer rewrites DELETE queries into INSERT
queries. |
default DynamicPartitionCtx |
HiveStorageHandler.createDPContext(HiveConf conf,
Table table,
Context.Operation writeOperation)
Creates a DynamicPartitionCtx instance that will be set up by the storage handler itself.
|
default boolean |
HiveStorageHandler.shouldOverwrite(Table mTable,
Context.Operation operation)
Returns whether the data should be overwritten for the specific operation.
|
default void |
HiveStorageHandler.storageHandlerCommit(Properties commitProperties,
Context.Operation operation)
Commits the inserts for the non-native tables.
|
| Modifier and Type | Field and Description |
|---|---|
static Context.Operation |
UpdateRewriter.OPERATION |
| Modifier and Type | Method and Description |
|---|---|
void |
NonNativeAcidMultiInsertSqlGenerator.appendAcidSelectColumns(Context.Operation operation) |
abstract void |
MultiInsertSqlGenerator.appendAcidSelectColumns(Context.Operation operation) |
void |
NativeAcidMultiInsertSqlGenerator.appendAcidSelectColumns(Context.Operation operation) |
void |
MultiInsertSqlGenerator.appendAcidSelectColumnsForDeletedRecords(Context.Operation operation) |
void |
NonNativeAcidMultiInsertSqlGenerator.appendAcidSelectColumnsForDeletedRecords(Context.Operation operation,
boolean skipPrefix) |
void |
MultiInsertSqlGenerator.appendAcidSelectColumnsForDeletedRecords(Context.Operation operation,
boolean skipPrefix) |
List<String> |
NonNativeAcidMultiInsertSqlGenerator.getDeleteValues(Context.Operation operation) |
abstract List<String> |
MultiInsertSqlGenerator.getDeleteValues(Context.Operation operation) |
List<String> |
NativeAcidMultiInsertSqlGenerator.getDeleteValues(Context.Operation operation) |
| Modifier and Type | Method and Description |
|---|---|
Context.Operation |
FileSinkDesc.getWriteOperation() |
| Modifier and Type | Method and Description |
|---|---|
void |
FileSinkDesc.setWriteOperation(Context.Operation writeOperation) |
| Modifier and Type | Method and Description |
|---|---|
static Context.Operation |
HiveCustomStorageHandlerUtils.getWriteOperation(org.apache.hadoop.conf.Configuration conf,
String tableName) |
| Modifier and Type | Method and Description |
|---|---|
static void |
HiveCustomStorageHandlerUtils.setWriteOperation(org.apache.hadoop.conf.Configuration conf,
String tableName,
Context.Operation operation) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.