IBulkMutation (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.core

Interface IBulkMutation

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      com.google.api.core.ApiFuture<Void> add(com.google.cloud.bigtable.data.v2.models.RowMutation rowMutation)
      Adds a RowMutation to the underlying IBulkMutation mechanism.
      void flush()
      Sends any outstanding RowMutation and wait until all requests are complete.
      boolean isFlushed() 
      void sendUnsent()
      Sends any outstanding RowMutations, present in the current batch.
    • Method Detail

      • add

        com.google.api.core.ApiFuture<Void> add(com.google.cloud.bigtable.data.v2.models.RowMutation rowMutation)
        Adds a RowMutation to the underlying IBulkMutation mechanism.
        Parameters:
        rowMutation - The RowMutation to add.
        Returns:
        a ApiFuture of type Void will be set when request is successful otherwise exception will be thrown.
      • sendUnsent

        void sendUnsent()
        Sends any outstanding RowMutations, present in the current batch.
      • isFlushed

        boolean isFlushed()
        Returns:
        false if there is any outstanding RowMutation that still needs to be sent.


本頁內容對您是否有任何幫助?請提供意見:

傳送您對下列選項的寶貴意見...

這個網頁
Cloud Bigtable Documentation