Package io.trino.plugin.pinot.client
Class IdentityPinotHostMapper
- java.lang.Object
-
- io.trino.plugin.pinot.client.IdentityPinotHostMapper
-
- All Implemented Interfaces:
PinotHostMapper
public class IdentityPinotHostMapper extends Object implements PinotHostMapper
-
-
Constructor Summary
Constructors Constructor Description IdentityPinotHostMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBrokerHost(String host, String port)org.apache.pinot.core.transport.ServerInstancegetServerInstance(String serverHost)
-
-
-
Method Detail
-
getBrokerHost
public String getBrokerHost(String host, String port)
- Specified by:
getBrokerHostin interfacePinotHostMapper
-
getServerInstance
public org.apache.pinot.core.transport.ServerInstance getServerInstance(String serverHost)
- Specified by:
getServerInstancein interfacePinotHostMapper
-
-