public final class CTX extends Object
Modifier and Type | Method and Description |
---|---|
static CTX[] |
fromBase64(String base64)
Deserialize base64 encoded string to context array.
|
static CTX[] |
fromBytes(byte[] bytes)
Deserialize bytes to context array.
|
static CTX |
listIndex(int index)
Lookup list by index offset.
|
static CTX |
listIndexCreate(int index,
ListOrder order,
boolean pad)
Lookup list by base list's index offset.
|
static CTX |
listRank(int rank)
Lookup list by rank.
|
static CTX |
listValue(Value key)
Lookup list by value.
|
static CTX |
mapIndex(int index)
Lookup map by index offset.
|
static CTX |
mapKey(Value key)
Lookup map by key.
|
static CTX |
mapKeyCreate(Value key,
MapOrder order)
Lookup map by base map's key.
|
static CTX |
mapRank(int rank)
Lookup map by rank.
|
static CTX |
mapValue(Value key)
Lookup map by value.
|
static String |
toBase64(CTX[] ctx)
Serialize context array to base64 encoded string.
|
static byte[] |
toBytes(CTX[] ctx)
Serialize context array to bytes.
|
public final int id
public final Value value
public static CTX listIndex(int index)
If the index is negative, the resolved index starts backwards from end of list. If an index is out of bounds, a parameter error will be returned. Examples:
public static CTX listIndexCreate(int index, ListOrder order, boolean pad)
public static CTX listRank(int rank)
public static CTX mapIndex(int index)
If the index is negative, the resolved index starts backwards from end of list. If an index is out of bounds, a parameter error will be returned. Examples:
public static CTX mapRank(int rank)
public static CTX mapKeyCreate(Value key, MapOrder order)
public static byte[] toBytes(CTX[] ctx)
public static CTX[] fromBytes(byte[] bytes)
Copyright © 2012–2023 Aerospike, Inc. All rights reserved.