ExpLshift Method

Create integer "left shift" (<<) operator. Requires server version 5.6.0+.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Exp Lshift(
	Exp value,
	Exp shift
)

Parameters

value  Exp
 
shift  Exp
 

Return Value

Exp

Example

C#
// a << 8 > 0xff
Exp.GT(
  Exp.Lshift(Exp.IntBin("a"), Exp.Val(8)),
  Exp.Val(0xff));

See Also