| 程序包 | 说明 |
|---|---|
| org.apache.hadoop.hbase.coprocessor |
Table of Contents
Overview
Coprocessor
RegionObserver
Endpoint
Coprocessor loading
Overview
Coprocessors are code that runs in-process on each region server.
|
| org.apache.hadoop.hbase.io | |
| org.apache.hadoop.hbase.regionserver |
| 限定符和类型 | 方法和说明 |
|---|---|
default StoreFileReader |
RegionObserver.postStoreFileReaderOpen(ObserverContext<RegionCoprocessorEnvironment> ctx,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p,
FSDataInputStreamWrapper in,
long size,
CacheConfig cacheConf,
Reference r,
StoreFileReader reader)
已过时。
For Phoenix only, StoreFileReader is not a stable interface.
|
default StoreFileReader |
RegionObserver.preStoreFileReaderOpen(ObserverContext<RegionCoprocessorEnvironment> ctx,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p,
FSDataInputStreamWrapper in,
long size,
CacheConfig cacheConf,
Reference r,
StoreFileReader reader)
已过时。
For Phoenix only, StoreFileReader is not a stable interface.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Reference |
Reference.convert(org.apache.hadoop.hbase.shaded.protobuf.generated.FSProtos.Reference r) |
static Reference |
Reference.createBottomReference(byte[] splitRow) |
static Reference |
Reference.createTopReference(byte[] splitRow) |
static Reference |
Reference.read(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p)
Read a Reference from FileSystem.
|
| 构造器和说明 |
|---|
HalfStoreFileReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p,
CacheConfig cacheConf,
Reference r,
boolean isPrimaryReplicaStoreFile,
AtomicInteger refCount,
boolean shared,
org.apache.hadoop.conf.Configuration conf)
Creates a half file reader for a normal hfile.
|
HalfStoreFileReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p,
FSDataInputStreamWrapper in,
long size,
CacheConfig cacheConf,
Reference r,
boolean isPrimaryReplicaStoreFile,
AtomicInteger refCount,
boolean shared,
org.apache.hadoop.conf.Configuration conf)
Creates a half file reader for a hfile referred to by an hfilelink.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Reference |
StoreFileInfo.getReference() |
| 限定符和类型 | 方法和说明 |
|---|---|
StoreFileReader |
RegionCoprocessorHost.postStoreFileReaderOpen(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p,
FSDataInputStreamWrapper in,
long size,
CacheConfig cacheConf,
Reference r,
StoreFileReader reader) |
StoreFileReader |
RegionCoprocessorHost.preStoreFileReaderOpen(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p,
FSDataInputStreamWrapper in,
long size,
CacheConfig cacheConf,
Reference r) |
| 构造器和说明 |
|---|
StoreFileInfo(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.FileStatus fileStatus,
Reference reference)
Create a Store File Info from an HFileLink
|
StoreFileInfo(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.FileStatus fileStatus,
Reference reference,
HFileLink link)
Create a Store File Info from an HFileLink and a Reference
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.