类 AboutController


  • public class AboutController
    extends java.lang.Object
    The AboutController is for getting the basic information of the hive node.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.String getCommitId()
      Get the commit id of the github of the hive node.
      NodeInfo getNodeInfo()
      Get the information of the hive node.
      NodeVersion getNodeVersion()
      Get the version of the hive node.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • AboutController

        public AboutController​(NodeRPCConnection connection)
        Create the about controller by the RPC connection.
        参数:
        connection - The connection instance.
    • 方法详细资料

      • getNodeVersion

        public NodeVersion getNodeVersion()
                                   throws HiveException
        Get the version of the hive node.
        返回:
        the version
        抛出:
        HiveException - The exception shows the error from the request.
      • getCommitId

        public java.lang.String getCommitId()
                                     throws HiveException
        Get the commit id of the github of the hive node.
        返回:
        The commit id.
        抛出:
        HiveException - The exception shows the error from the request.
      • getNodeInfo

        public NodeInfo getNodeInfo()
                             throws HiveException
        Get the information of the hive node.
        返回:
        The information of the hive node.
        抛出:
        HiveException - The exception shows the error from the request.