Uses of Class
oracle.nosql.driver.TimeToLive
Packages that use 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
Fields in oracle.nosql.driver declared as TimeToLiveModifier 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.Methods in oracle.nosql.driver that return TimeToLiveModifier 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
Methods in oracle.nosql.driver.ops that return TimeToLiveMethods in oracle.nosql.driver.ops with parameters of type TimeToLiveModifier 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.