Package org.apache.hadoop.hbase.client
Interface ConnectionRegistryURIFactory
- All Known Implementing Classes:
RpcConnectionRegistryURIFactory
,ZKConnectionRegistryURIFactory
For creating different
ConnectionRegistry
implementation.-
Method Summary
Modifier and TypeMethodDescriptionInstantiate theConnectionRegistry
using the given parameters.The scheme for this implementation.void
Validate the givenuri
.
-
Method Details
-
create
ConnectionRegistry create(URI uri, org.apache.hadoop.conf.Configuration conf, User user) throws IOException Instantiate theConnectionRegistry
using the given parameters.- Throws:
IOException
-
getScheme
The scheme for this implementation. Used to register this URI factory to theConnectionRegistryFactory
. -
validate
Validate the givenuri
.- Throws:
IOException
- if this is not a valid connection registry URI.
-