Package org.apache.hadoop.hbase.client
Interface ConnectionRegistryURIFactory
- All Known Implementing Classes:
RpcConnectionRegistryURIFactory,ZKConnectionRegistryURIFactory
For creating different
ConnectionRegistry implementation.-
Method Summary
Modifier and TypeMethodDescriptionInstantiate theConnectionRegistryusing the given parameters.The scheme for this implementation.voidValidate the givenuri.
-
Method Details
-
create
ConnectionRegistry create(URI uri, org.apache.hadoop.conf.Configuration conf, User user) throws IOException Instantiate theConnectionRegistryusing 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.
-