Package oracle.kv.hadoop.table
Class TableInputFormatBase.TopologyLocatorWrapper
- java.lang.Object
-
- oracle.kv.hadoop.table.TableInputFormatBase.TopologyLocatorWrapper
-
- Enclosing class:
- TableInputFormatBase<K,V>
public static class TableInputFormatBase.TopologyLocatorWrapper extends Object
Special class that wraps the static get method of the TopologyLocator utility. Since static methods are difficult to mock, this class is provided as a convenience; to allow tests to mock the behavior of the static methods of the TopologyLocator class. It is defined with public scope so that the tests from the Hive package can also use this wrapper class.
-
-
Constructor Summary
Constructors Constructor Description TopologyLocatorWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description oracle.kv.impl.topo.Topology
get(String[] registryHostPorts, int maxRNs, oracle.kv.impl.security.login.LoginManager loginMgr, String expectedStoreName, oracle.kv.impl.api.ClientId clientId)
-
-
-
Method Detail
-
get
public oracle.kv.impl.topo.Topology get(String[] registryHostPorts, int maxRNs, oracle.kv.impl.security.login.LoginManager loginMgr, String expectedStoreName, oracle.kv.impl.api.ClientId clientId) throws KVStoreException
- Throws:
KVStoreException
-
-