ExpVoidTime Method

Aerospike
Create expression that returns record expiration time expressed as 64 bit integer nanoseconds since 1970-01-01 epoch. This expression usually evaluates quickly because record meta data is cached in memory.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public static Exp VoidTime()

Return Value

Type: Exp
Examples

// Record expires on 2021-01-01
Exp.And(
  Exp.GE(Exp.VoidTime(), Exp.Val(new DateTime(2021, 1, 1))),
  Exp.LT(Exp.VoidTime(), Exp.Val(new DateTime(2021, 1, 2))))
See Also

Reference