@InterfaceAudience.Private public final class TableDescriptorChecker extends Object
TableDescriptor.| 限定符和类型 | 字段和说明 |
|---|---|
static boolean |
DEFAULT_MASTER_CHECK_COMPRESSION |
static boolean |
DEFAULT_MASTER_CHECK_ENCRYPTION |
static boolean |
DEFAULT_TABLE_SANITY_CHECKS |
static String |
MASTER_CHECK_COMPRESSION |
static String |
MASTER_CHECK_ENCRYPTION |
static String |
TABLE_SANITY_CHECKS |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
checkClassLoading(org.apache.hadoop.conf.Configuration conf,
TableDescriptor td) |
static void |
checkCompression(TableDescriptor td) |
static void |
checkEncryption(org.apache.hadoop.conf.Configuration conf,
TableDescriptor td) |
static void |
sanityCheck(org.apache.hadoop.conf.Configuration c,
TableDescriptor td)
Checks whether the table conforms to some sane limits, and configured
values (compression, etc) work.
|
public static final boolean DEFAULT_TABLE_SANITY_CHECKS
public static final boolean DEFAULT_MASTER_CHECK_COMPRESSION
public static final boolean DEFAULT_MASTER_CHECK_ENCRYPTION
public static void sanityCheck(org.apache.hadoop.conf.Configuration c,
TableDescriptor td)
throws IOException
IOExceptionpublic static void checkCompression(TableDescriptor td) throws IOException
IOExceptionpublic static void checkEncryption(org.apache.hadoop.conf.Configuration conf,
TableDescriptor td)
throws IOException
IOExceptionpublic static void checkClassLoading(org.apache.hadoop.conf.Configuration conf,
TableDescriptor td)
throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.