org.apache.hadoop.hbase
Interface CoprocessorEnvironment
@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface CoprocessorEnvironment
Coprocessor environment state.
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(byte[] tableName)
throws IOException
- Returns:
- an interface for accessing the given table
- Throws:
IOException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.