public class CompatUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static HFileContext |
createHFileContext(org.apache.hadoop.conf.Configuration conf,
Compression.Algorithm compression,
Integer blockSize,
DataBlockEncoding encoding,
CellComparator comparator) |
static Connection |
createShortCircuitConnection(org.apache.hadoop.conf.Configuration configuration,
RegionCoprocessorEnvironment env) |
static int |
getBytesPerChecksum(org.apache.hadoop.conf.Configuration conf) |
static ChecksumType |
getChecksumType(org.apache.hadoop.conf.Configuration conf) |
static List<RegionInfo> |
getMergeRegions(Connection conn,
RegionInfo regionInfo) |
public static HFileContext createHFileContext(org.apache.hadoop.conf.Configuration conf, Compression.Algorithm compression, Integer blockSize, DataBlockEncoding encoding, CellComparator comparator)
public static List<RegionInfo> getMergeRegions(Connection conn, RegionInfo regionInfo) throws IOException
IOExceptionpublic static ChecksumType getChecksumType(org.apache.hadoop.conf.Configuration conf)
public static int getBytesPerChecksum(org.apache.hadoop.conf.Configuration conf)
public static Connection createShortCircuitConnection(org.apache.hadoop.conf.Configuration configuration, RegionCoprocessorEnvironment env) throws IOException
IOExceptionCopyright © 2023 Apache Software Foundation. All rights reserved.