public abstract class PhoenixStorageHandlerUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.concurrent.atomic.AtomicReference<java.lang.reflect.Method> |
GET_BUCKET_ID_METHOD_REF |
protected static java.util.concurrent.atomic.AtomicReference<java.lang.reflect.Method> |
GET_BUCKET_METHOD_REF |
| Constructor and Description |
|---|
PhoenixStorageHandlerUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<java.lang.String,org.apache.hadoop.hive.serde2.typeinfo.TypeInfo> |
createColumnTypeMap(org.apache.hadoop.mapred.JobConf jobConf) |
static java.lang.String[] |
getConstantValues(IndexSearchCondition condition,
java.lang.String comparisonOp) |
static java.lang.String |
getOptionsValue(org.apache.hadoop.hive.ql.io.AcidOutputFormat.Options options) |
static java.util.List<java.lang.String> |
getReadColumnNames(org.apache.hadoop.conf.Configuration conf) |
static java.lang.String |
getRegionLocation(org.apache.hadoop.hbase.HRegionLocation location,
org.slf4j.Logger log) |
static java.lang.String |
getTableKeyOfSession(org.apache.hadoop.mapred.JobConf jobConf,
java.lang.String tableName) |
static java.lang.String |
getTargetTableName(org.apache.hadoop.hive.metastore.api.Table table) |
static boolean |
isTransactionalTable(org.apache.hadoop.conf.Configuration config) |
static boolean |
isTransactionalTable(java.util.Properties tableProperties) |
static void |
printConfiguration(org.apache.hadoop.conf.Configuration config) |
static java.util.Map<?,?> |
toMap(byte[] serialized) |
static java.lang.String |
toString(java.lang.Object obj) |
static java.lang.Object[] |
toTypedValues(org.apache.hadoop.mapred.JobConf jobConf,
java.lang.String typeName,
java.lang.String[] values) |
protected static final java.util.concurrent.atomic.AtomicReference<java.lang.reflect.Method> GET_BUCKET_METHOD_REF
protected static final java.util.concurrent.atomic.AtomicReference<java.lang.reflect.Method> GET_BUCKET_ID_METHOD_REF
public static java.lang.String getTargetTableName(org.apache.hadoop.hive.metastore.api.Table table)
public static java.lang.Object[] toTypedValues(org.apache.hadoop.mapred.JobConf jobConf,
java.lang.String typeName,
java.lang.String[] values)
throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.String[] getConstantValues(IndexSearchCondition condition, java.lang.String comparisonOp)
public static java.lang.String getRegionLocation(org.apache.hadoop.hbase.HRegionLocation location,
org.slf4j.Logger log)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String getTableKeyOfSession(org.apache.hadoop.mapred.JobConf jobConf,
java.lang.String tableName)
public static java.util.Map<java.lang.String,org.apache.hadoop.hive.serde2.typeinfo.TypeInfo> createColumnTypeMap(org.apache.hadoop.mapred.JobConf jobConf)
public static java.util.List<java.lang.String> getReadColumnNames(org.apache.hadoop.conf.Configuration conf)
public static boolean isTransactionalTable(java.util.Properties tableProperties)
public static boolean isTransactionalTable(org.apache.hadoop.conf.Configuration config)
public static void printConfiguration(org.apache.hadoop.conf.Configuration config)
public static java.lang.String toString(java.lang.Object obj)
public static java.util.Map<?,?> toMap(byte[] serialized)
public static java.lang.String getOptionsValue(org.apache.hadoop.hive.ql.io.AcidOutputFormat.Options options)
Copyright © 2021 Apache Software Foundation. All rights reserved.