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.
  • Constructor Details

    • TopologyLocatorWrapper

      public TopologyLocatorWrapper()
  • Method Details

    • 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 oracle.kv.KVStoreException
      Throws:
      oracle.kv.KVStoreException