Class WriteBatch

    • Method Detail

      • builder

        public static <T> WriteBatch.Builder<T> builder​(Class<? extends T> itemClass)
        Creates a newly initialized builder for a write batch.
        Type Parameters:
        T - The type of the modelled object, corresponding to itemClass
        Parameters:
        itemClass - the class that items in this table map to
        Returns:
        a WriteBatch builder
      • tableName

        public String tableName()
        Returns the table name associated with this batch.
      • writeRequests

        public Collection<WriteRequest> writeRequests()
        Returns the collection of write requests in this writek batch.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object