Class GetResult

    • Constructor Summary

      Constructors 
      Constructor Description
      GetResult()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getExpirationTime()
      Returns the expiration time of the row.
      java.lang.String getJsonValue()
      Returns a JSON string representation of the returned row, or null if the row does not exist.
      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.
      MapValue getValue()
      Returns the value of the returned row, or null if the row does not exist
      Version getVersion()
      Returns the Version of the row if the operation was successful, or null if the row does not exist.
      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 java.lang.Object

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

      • GetResult

        public GetResult()
    • Method Detail

      • getValue

        public MapValue getValue()
        Returns the value of the returned row, or null if the row does not exist
        Returns:
        the value of the row, or null if it does not exist
      • getJsonValue

        public java.lang.String getJsonValue()
        Returns a JSON string representation of the returned row, or null if the row does not exist.
        Returns:
        the JSON string value of the row, or null if it does not exist
      • getVersion

        public Version getVersion()
        Returns the Version of the row if the operation was successful, or null if the row does not exist.
        Returns:
        the version of the row, or null if the row does not exist
      • getExpirationTime

        public long getExpirationTime()
        Returns the expiration time of the row. A zero value indicates that the row does not expire. This value is valid only if the operation successfully returned a row (getValue() returns non-null).
        Returns:
        the expiration time in milliseconds since January 1, 1970, or zero if the row never expires or the row does not exist
      • 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 if the operation used Consistency.ABSOLUTE
        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() if the operation used Consistency.ABSOLUTE
        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