类 DataHubClient

  • 所有已实现的接口:
    xin.manong.weapon.base.rebuild.Rebuildable

    public class DataHubClient
    extends Object
    implements xin.manong.weapon.base.rebuild.Rebuildable
    DataHub客户端
    作者:
    frankcl
    • 方法详细资料

      • close

        public void close()
        关闭客户端实例
      • rebuild

        public void rebuild()
        指定者:
        rebuild 在接口中 xin.manong.weapon.base.rebuild.Rebuildable
      • putRecords

        public boolean putRecords​(String project,
                                  String topic,
                                  List<com.aliyun.datahub.model.RecordEntry> recordEntries)
        写入数据
        参数:
        project - 项目名称
        topic - 专题名称
        recordEntries - 数据列表
        返回:
        成功返回true,否则返回false
      • getTopicInfo

        public com.aliyun.datahub.model.GetTopicResult getTopicInfo​(String project,
                                                                    String topic)
                                                             throws com.aliyun.datahub.exception.DatahubClientException
        获取专题信息
        参数:
        project - 项目名称
        topic - 专题名称
        返回:
        专题信息
        抛出:
        com.aliyun.datahub.exception.DatahubClientException