Package org.apache.drill.exec.rpc.user
Class UserRpcUtils
java.lang.Object
org.apache.drill.exec.rpc.user.UserRpcUtils
Utility class for User RPC
-
Method Summary
Modifier and TypeMethodDescriptionstatic UserProtos.RpcEndpointInfos
getRpcEndpointInfos
(String name) Returns aRpcEndpointInfos
instance The instance is populated based on Drill version informations from the classpath and runtime information for the application name.static Version
Get the version from aRpcEndpointInfos
instance
-
Method Details
-
getRpcEndpointInfos
Returns aRpcEndpointInfos
instance The instance is populated based on Drill version informations from the classpath and runtime information for the application name.- Parameters:
name
- the endpoint name.- Returns:
- a
RpcEndpointInfos
instance - Throws:
NullPointerException
- if name is null
-
getVersion
Get the version from aRpcEndpointInfos
instance
-