ExpDeviceSize Method

Create expression that returns record size on disk. If server storage-engine is memory, then zero is returned. This expression usually evaluates quickly because record meta data is cached in memory.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Exp DeviceSize()

Return Value

Exp

Example

C#
// Record device size >= 100 KB
Exp.GE(Exp.DeviceSize(), Exp.Val(100 * 1024))

See Also