public class HiveCustomStorageHandlerUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
WRITE_OPERATION_CONFIG_PREFIX |
static String |
WRITE_OPERATION_IS_SORTED |
| Constructor and Description |
|---|
HiveCustomStorageHandlerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
getTableProperties(org.apache.hadoop.hive.metastore.api.Table table) |
static String |
getTablePropsForCustomStorageHandler(Map<String,String> tableProperties) |
static Context.Operation |
getWriteOperation(org.apache.hadoop.conf.Configuration conf,
String tableName) |
static boolean |
getWriteOperationIsSorted(org.apache.hadoop.conf.Configuration conf,
String tableName) |
static void |
setWriteOperation(org.apache.hadoop.conf.Configuration conf,
String tableName,
Context.Operation operation) |
static void |
setWriteOperationIsSorted(org.apache.hadoop.conf.Configuration conf,
String tableName,
boolean isSorted) |
public static final String WRITE_OPERATION_CONFIG_PREFIX
public static final String WRITE_OPERATION_IS_SORTED
public static String getTablePropsForCustomStorageHandler(Map<String,String> tableProperties)
public static Map<String,String> getTableProperties(org.apache.hadoop.hive.metastore.api.Table table)
table - the HMS tablepublic static Context.Operation getWriteOperation(org.apache.hadoop.conf.Configuration conf, String tableName)
public static void setWriteOperation(org.apache.hadoop.conf.Configuration conf,
String tableName,
Context.Operation operation)
public static void setWriteOperationIsSorted(org.apache.hadoop.conf.Configuration conf,
String tableName,
boolean isSorted)
public static boolean getWriteOperationIsSorted(org.apache.hadoop.conf.Configuration conf,
String tableName)
Copyright © 2024 The Apache Software Foundation. All rights reserved.