public class CacheUtils extends Object
| Constructor and Description |
|---|
CacheUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildCatalogKey(String catName) |
static String |
buildDbKey(String catName,
String dbName) |
static String |
buildPartitionCacheKey(List<String> partVals)
Builds a key for the partition cache which is concatenation of partition values, each value
separated by a delimiter
|
static String |
buildPartitonColStatsCacheKey(List<String> partVals,
String colName)
Builds a key for the partitions column cache which is concatenation of partition values, each
value separated by a delimiter and the column name
|
static String |
buildTableColKey(String catName,
String dbName,
String tableName,
String colName) |
static String |
buildTableKey(String catName,
String dbName,
String tableName) |
static boolean |
matches(String name,
String pattern) |
static String[] |
splitDbName(String key) |
public static String buildPartitionCacheKey(List<String> partVals)
public static String buildTableColKey(String catName, String dbName, String tableName, String colName)
public static String buildPartitonColStatsCacheKey(List<String> partVals, String colName)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.