Class Engine.Result

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Engine.Result.Type  
    • Method Summary

      Modifier and Type Method Description
      java.lang.Exception getFailure()
      get document failure while executing the operation null in case of no failure
      Engine.Operation.TYPE getOperationType()  
      Mapping getRequiredMappingUpdate()
      If the operation was aborted due to missing mappings, this method will return the mappings that are required to complete the operation.
      Engine.Result.Type getResultType()
      whether the operation was successful, has failed or was aborted due to a mapping update
      long getSeqNo()
      Get the sequence number on the primary.
      long getTerm()  
      long getTook()
      get total time in nanoseconds
      Translog.Location getTranslogLocation()
      get the translog location after executing the operation
      long getVersion()
      get the updated document version
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getResultType

        public Engine.Result.Type getResultType()
        whether the operation was successful, has failed or was aborted due to a mapping update
      • getVersion

        public long getVersion()
        get the updated document version
      • getSeqNo

        public long getSeqNo()
        Get the sequence number on the primary.
        Returns:
        the sequence number
      • getTerm

        public long getTerm()
      • getRequiredMappingUpdate

        public Mapping getRequiredMappingUpdate()
        If the operation was aborted due to missing mappings, this method will return the mappings that are required to complete the operation.
      • getTranslogLocation

        public Translog.Location getTranslogLocation()
        get the translog location after executing the operation
      • getFailure

        public java.lang.Exception getFailure()
        get document failure while executing the operation null in case of no failure
      • getTook

        public long getTook()
        get total time in nanoseconds