Class WriteMultipleResult.OperationResult

  • Enclosing class:
    WriteMultipleResult

    public static class WriteMultipleResult.OperationResult
    extends oracle.nosql.driver.ops.WriteResult
    The Result associated with the execution of an individual operation in the request.
    • Constructor Summary

      Constructors 
      Constructor Description
      OperationResult()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MapValue getExistingValue()
      Returns the previous row value associated with the key if available.
      Version getExistingVersion()
      Returns the existing row version associated with the key if available.
      FieldValue getGeneratedValue()
      Returns the value generated if the operation created a new value for an identity column.
      boolean getSuccess()
      Returns the flag indicates whether the operation succeeded.
      Version getVersion()
      Returns the version of the new row for put operation, or null if put operations did not succeed or the operation is delete operation.
      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

      • OperationResult

        public OperationResult()
    • Method Detail

      • getSuccess

        public boolean getSuccess()
        Returns the flag indicates whether the operation succeeded. A put or delete operation may be unsuccessful if the condition is not matched.
      • getVersion

        public Version getVersion()
        Returns the version of the new row for put operation, or null if put operations did not succeed or the operation is delete operation.
      • getExistingVersion

        public Version getExistingVersion()
        Returns the existing row version associated with the key if available.
      • getExistingValue

        public MapValue getExistingValue()
        Returns the previous row value associated with the key if available.
      • getGeneratedValue

        public FieldValue getGeneratedValue()
        Returns the value generated if the operation created a new value for an identity column. If the table has no identity columns this value is null. If it has an identity column and a value was generated for that column, it is non-null. This value is only valid for a put operation on a table with an identity column.
        Returns:
        the generated value
      • toString

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