public abstract class CacheTag extends Object implements Comparable<CacheTag>
Modifier and Type | Class and Description |
---|---|
static class |
CacheTag.MultiPartitionCacheTag
CacheTag for tables with more than one partition level.
|
static class |
CacheTag.PartitionCacheTag
CacheTag for tables with partitions.
|
static class |
CacheTag.SinglePartitionCacheTag
CacheTag for tables with exactly one partition level.
|
static class |
CacheTag.TableCacheTag
CacheTag for tables without partitions.
|
Modifier and Type | Field and Description |
---|---|
protected String |
tableName
Prepended by DB name and '.' .
|
Modifier and Type | Method and Description |
---|---|
static CacheTag |
build(String tableName) |
static CacheTag |
build(String tableName,
LinkedHashMap<String,String> partDescMap) |
static CacheTag |
build(String tableName,
List<String> partDescs) |
int |
compareTo(CacheTag o) |
static CacheTag |
createParentCacheTag(CacheTag tag)
Constructs a (fake) parent CacheTag instance by walking back in the hierarchy i.e.
|
boolean |
equals(Object obj) |
String |
getTableName() |
int |
hashCode() |
protected final String tableName
public String getTableName()
public int compareTo(CacheTag o)
compareTo
in interface Comparable<CacheTag>
public static final CacheTag build(String tableName, LinkedHashMap<String,String> partDescMap)
Copyright © 2021 The Apache Software Foundation. All rights reserved.