org.apache.hadoop.hbase
Interface CoprocessorEnvironment


@InterfaceAudience.Private
public interface CoprocessorEnvironment

Coprocessor environment state.


Method Summary
 org.apache.hadoop.conf.Configuration getConfiguration()
           
 String getHBaseVersion()
           
 Coprocessor getInstance()
           
 int getLoadSequence()
           
 int getPriority()
           
 HTableInterface getTable(TableName tableName)
           
 int getVersion()
           
 

Method Detail

getVersion

int getVersion()
Returns:
the Coprocessor interface version

getHBaseVersion

String getHBaseVersion()
Returns:
the HBase version as a string (e.g. "0.21.0")

getInstance

Coprocessor getInstance()
Returns:
the loaded coprocessor instance

getPriority

int getPriority()
Returns:
the priority assigned to the loaded coprocessor

getLoadSequence

int getLoadSequence()
Returns:
the load sequence number

getConfiguration

org.apache.hadoop.conf.Configuration getConfiguration()
Returns:
the configuration

getTable

HTableInterface getTable(TableName tableName)
                         throws IOException
Returns:
an interface for accessing the given table
Throws:
IOException


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.