1. <strong id="7actg"></strong>
    2. <table id="7actg"></table>

    3. <address id="7actg"></address>
      <address id="7actg"></address>
      1. <object id="7actg"><tt id="7actg"></tt></object>

        riak-java-clientRiak 的 Java 客戶端開發(fā)類庫

        聯(lián)合創(chuàng)作 · 2023-09-30 19:11

        riak-java-client 是 Riak 的 Java 客戶端開發(fā)類庫,示例代碼:

        // create a client (see Configuration below in this README for more details)
        IRiakClient riakClient = RiakFactory.pbcClient(); //or RiakFactory.httpClient();
        
        // create a new bucket
        Bucket myBucket = riakClient.createBucket("myBucket").execute();
        
        // add data to the bucket
        myBucket.store("key1", "value1").execute();
        
        //fetch it back
        IRiakObject myData = myBucket.fetch("key1").execute();
        
        // you can specify extra parameters to the store operation using the
        // fluent builder style API
        myData = myBucket.store("key1", "value2").returnBody(true).execute();
        
        // delete
        myBucket.delete("key1").rw(3).execute();
        瀏覽 17
        點贊
        評論
        收藏
        分享

        手機掃一掃分享

        編輯 分享
        舉報
        評論
        圖片
        表情
        推薦
        點贊
        評論
        收藏
        分享

        手機掃一掃分享

        編輯 分享
        舉報
        1. <strong id="7actg"></strong>
        2. <table id="7actg"></table>

        3. <address id="7actg"></address>
          <address id="7actg"></address>
          1. <object id="7actg"><tt id="7actg"></tt></object>
            无遮挡肉动漫 | 中文字幕在线视频无码 | 好爽好舒服免费视频 | caobi视频 | 福利资源导航 | 91成人无码 | 91无码人妻精品1国产动漫 | 学生妹一级 | 成人免费看毛片 | 一级Aa视频免费看 |