public class HoodieHFileUtils extends Object
| Constructor and Description |
|---|
HoodieHFileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.hbase.io.hfile.HFile.Reader |
createHFileReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig,
org.apache.hadoop.conf.Configuration configuration)
Creates HFile reader for a file with default `primaryReplicaReader` as true.
|
static org.apache.hadoop.hbase.io.hfile.HFile.Reader |
createHFileReader(HoodieStorage storage,
StoragePath dummyPath,
byte[] content)
Creates HFile reader for byte array with default `primaryReplicaReader` as true.
|
static org.apache.hadoop.hbase.io.hfile.HFile.Reader |
createHFileReader(HoodieStorage storage,
StoragePath path,
org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig,
org.apache.hadoop.conf.Configuration configuration)
Creates HFile reader for a file with default `primaryReplicaReader` as true.
|
public static org.apache.hadoop.hbase.io.hfile.HFile.Reader createHFileReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig,
org.apache.hadoop.conf.Configuration configuration)
fs - File system.path - Path to file to read.cacheConfig - Cache configuration.configuration - ConfigurationIOException - Upon error.public static org.apache.hadoop.hbase.io.hfile.HFile.Reader createHFileReader(HoodieStorage storage, StoragePath path, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig, org.apache.hadoop.conf.Configuration configuration)
storage - HoodieStorage instance.path - path of file to read.cacheConfig - Cache configuration.configuration - ConfigurationIOException - Upon error.public static org.apache.hadoop.hbase.io.hfile.HFile.Reader createHFileReader(HoodieStorage storage, StoragePath dummyPath, byte[] content)
storage - HoodieStorage instance.dummyPath - Dummy path to file to read.content - Content in byte array.IOException - Upon error.Copyright © 2024 The Apache Software Foundation. All rights reserved.