@InterfaceAudience.Private public final class StoreFileTrackerFactory extends Object
DefaultStoreFileTracker.FileBasedStoreFileTracker.MigrationStoreFileTracker.| Modifier and Type | Class and Description |
|---|---|
static class |
StoreFileTrackerFactory.Trackers
Maps between configuration names for trackers and implementation classes.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
TRACKER_IMPL |
| Modifier and Type | Method and Description |
|---|---|
static StoreFileTracker |
create(org.apache.hadoop.conf.Configuration conf,
boolean isPrimaryReplica,
StoreContext ctx) |
static StoreFileTracker |
create(org.apache.hadoop.conf.Configuration conf,
TableDescriptor td,
ColumnFamilyDescriptor cfd,
HRegionFileSystem regionFs)
Used at master side when splitting/merging regions, as we do not have a Store, thus no
StoreContext at master side.
|
static String |
getStoreFileTrackerName(Class<? extends StoreFileTracker> clazz) |
static String |
getStoreFileTrackerName(org.apache.hadoop.conf.Configuration conf) |
static Class<? extends StoreFileTracker> |
getTrackerClass(org.apache.hadoop.conf.Configuration conf) |
static Class<? extends StoreFileTracker> |
getTrackerClass(String trackerNameOrClass) |
static boolean |
isMigration(Class<?> clazz) |
static TableDescriptor |
updateWithTrackerConfigs(org.apache.hadoop.conf.Configuration conf,
TableDescriptor descriptor) |
public static final String TRACKER_IMPL
public static String getStoreFileTrackerName(org.apache.hadoop.conf.Configuration conf)
public static String getStoreFileTrackerName(Class<? extends StoreFileTracker> clazz)
public static Class<? extends StoreFileTracker> getTrackerClass(org.apache.hadoop.conf.Configuration conf)
public static Class<? extends StoreFileTracker> getTrackerClass(String trackerNameOrClass)
public static StoreFileTracker create(org.apache.hadoop.conf.Configuration conf, boolean isPrimaryReplica, StoreContext ctx)
public static StoreFileTracker create(org.apache.hadoop.conf.Configuration conf, TableDescriptor td, ColumnFamilyDescriptor cfd, HRegionFileSystem regionFs)
public static TableDescriptor updateWithTrackerConfigs(org.apache.hadoop.conf.Configuration conf, TableDescriptor descriptor)
public static boolean isMigration(Class<?> clazz)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.