Class DeleteResult

    • Constructor Summary

      Constructors 
      Constructor Description
      DeleteResult()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MapValue getExistingValue()
      Returns the existing row value if available.
      Version getExistingVersion()
      Returns the existing row Version if available.
      int getReadKB()
      Returns the read throughput consumed by this operation, in KBytes.
      int getReadUnits()
      Returns the read throughput consumed by this operation, in read units.
      boolean getSuccess()
      Returns true if the delete operation succeeded.
      int getWriteKB()
      Returns the write throughput consumed by this operation, in KBytes.
      int getWriteUnits()
      Returns the write throughput consumed by this operation, in write units.
      java.lang.String toString()  
      • Methods inherited from class oracle.nosql.driver.ops.WriteResult

        getExistingValueInternal, getExistingVersionInternal
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DeleteResult

        public DeleteResult()
    • Method Detail

      • getSuccess

        public boolean getSuccess()
        Returns true if the delete operation succeeded.
        Returns:
        true if the operation succeeded
      • getExistingValue

        public MapValue getExistingValue()
        Returns the existing row value if available. It will be available if the target row exists and the operation failed because of a Version mismatch and the corresponding DeleteRequest the method DeleteRequest.setReturnRow(boolean) was called with a true value.
        Returns:
        the value
      • getReadKB

        public int getReadKB()
        Returns the read throughput consumed by this operation, in KBytes. This is the actual amount of data read by the operation. The number of read units consumed is returned by getReadUnits() which may be a larger number because this was an update operation.
        Returns:
        the read KBytes consumed
      • getWriteKB

        public int getWriteKB()
        Returns the write throughput consumed by this operation, in KBytes.
        Returns:
        the write KBytes consumed
      • getReadUnits

        public int getReadUnits()
        Returns the read throughput consumed by this operation, in read units. This number may be larger than that returned by getReadKB() because it was an update operation.
        Returns:
        the read units consumed
      • getWriteUnits

        public int getWriteUnits()
        Returns the write throughput consumed by this operation, in write units.
        Returns:
        the write units consumed
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object