public final class UserRpcUtils extends Object
Modifier and Type | Method and Description |
---|---|
static UserProtos.RpcEndpointInfos |
getRpcEndpointInfos(String name)
Returns a
RpcEndpointInfos instance
The instance is populated based on Drill version informations
from the classpath and runtime information for the application
name. |
static Version |
getVersion(UserProtos.RpcEndpointInfos infos)
Get the version from a
RpcEndpointInfos instance |
public static UserProtos.RpcEndpointInfos getRpcEndpointInfos(String name)
RpcEndpointInfos
instance
The instance is populated based on Drill version informations
from the classpath and runtime information for the application
name.name
- the endpoint name.RpcEndpointInfos
instanceNullPointerException
- if name is nullpublic static Version getVersion(UserProtos.RpcEndpointInfos infos)
RpcEndpointInfos
instanceCopyright © 1970 The Apache Software Foundation. All rights reserved.