T - the return type of the connect(HConnection)
method.@InterfaceAudience.Private public abstract class HConnectable<T> extends Object
HConnection instance based on the given Configuration.
If you find yourself wanting to use a HConnection for a relatively
short duration of time, and do not want to deal with the hassle of creating
and cleaning up that resource, then you should consider using this
convenience class.
| Modifier and Type | Field and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
conf |
| Modifier | Constructor and Description |
|---|---|
protected |
HConnectable(org.apache.hadoop.conf.Configuration conf) |
public abstract T connect(HConnection connection) throws IOException
IOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.