<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                [TOC] # CAS ## checkAndPut 其中,put方法的最后一個參數是你需要錄入的數據的put對象; value是與服務端check的預期值,只有服務器端對應rowkey的數據與你預期的值相同時,你的put操作才能被提交的服務端。 ~~~ Table table = conn.getTable(TableName.valueOf("t_user_info")); Put put = new Put(Bytes.toBytes("liu_sh_01")); put.add(Bytes.toBytes("base_info"), Bytes.toBytes("username"), Bytes.toBytes("jdxia")); //這個值是否等于helloworld,等于的話就執行put boolean b = table.checkAndPut(Bytes.toBytes("liu_sh_01"), Bytes.toBytes("base_info"), Bytes.toBytes("username"), Bytes.toBytes("helloworld"), put); //是否有值 // boolean b = table.checkAndPut(Bytes.toBytes("liu_sh_01"), Bytes.toBytes("base_info"), // Bytes.toBytes("username"), null, put); //看看是否執行了put System.out.println(b); table.close(); ~~~ ## checkAndDelete ~~~ Table table = conn.getTable(TableName.valueOf("t_user_info")); Delete delete = new Delete(Bytes.toBytes("liu_sh_01")); delete.deleteColumns(Bytes.toBytes("base_info"), Bytes.toBytes("username")); //這個值是否等于helloworld,等于的話就執行 boolean b = table.checkAndDelete(Bytes.toBytes("liu_sh_01"), Bytes.toBytes("base_info"), Bytes.toBytes("username"), Bytes.toBytes("jdxia"), delete); //看看是否執行了 System.out.println(b); table.close(); ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看