Uses of Class
oracle.nosql.driver.TimeToLive
Package
Description
Contains the public API for using the Oracle NoSQL Database
as well as configuration and common parameter classes used in
database operations.
Contains the input and response classes used for Oracle NoSQL
Database operations.
-
Uses of TimeToLive in oracle.nosql.driver
Modifier and TypeFieldDescriptionstatic final TimeToLive
TimeToLive.DO_NOT_EXPIRE
A convenience constant that can be used as an argument to indicate that the row should not expire.Modifier and TypeMethodDescriptionstatic TimeToLive
TimeToLive.fromExpirationTime
(long expirationTime, long referenceTime) Returns an instance of TimeToLive based on an absolute expiration time and a reference time.static TimeToLive
TimeToLive.ofDays
(long days) Creates a duration using a period of 24 hour days.static TimeToLive
TimeToLive.ofHours
(long hours) Creates a duration using a period of hours. -
Uses of TimeToLive in oracle.nosql.driver.ops
Modifier and TypeMethodDescriptionPutRequest.setTTL
(TimeToLive ttl) Sets theTimeToLive
value, causing the time to live on the row to be set to the specified value on put.