Class Result

java.lang.Object
oracle.nosql.driver.ops.Result
Direct Known Subclasses:
GetIndexesResult, GetResult, ListTablesResult, MultiDeleteResult, PrepareResult, QueryIterableResult, QueryResult, ReplicaStatsResult, SystemResult, TableResult, TableUsageResult, WriteMultipleResult, WriteResult

public class Result extends Object
Result is a base class for result classes for all supported operations. All state and methods are maintained by extending classes.
  • Method Details

    • getRateLimitDelayedMs

      public int getRateLimitDelayedMs()
      Get the time the operation was delayed due to rate limiting. Cloud only. If rate limiting is in place, this value will represent the number of milliseconds that the operation was delayed due to rate limiting. If the value is zero, rate limiting did not apply or the operation did not need to wait for rate limiting.
      Returns:
      delay time in milliseconds
      Since:
      5.2.25
    • getRetryStats

      public RetryStats getRetryStats()
      Returns a stats object with information about retries.
      Returns:
      stats object with retry information, or null if no retries were performed.