Uses of Class
com.aerospike.client.exp.Exp

Packages that use Exp
Package
Description
 
  • Uses of Exp in com.aerospike.client.exp

    Methods in com.aerospike.client.exp that return Exp
    Modifier and Type
    Method
    Description
    static Exp
    Exp.abs(Exp value)
    Create operator that returns absolute value of a number.
    static Exp
    BitExp.add(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp value, boolean signed, BitOverflowAction action, Exp bin)
    Create expression that adds value to byte[] bin starting at bitOffset for bitSize and returns byte[].
    static Exp
    Exp.add(Exp... exps)
    Create "add" (+) operator that applies to a variable number of expressions.
    static Exp
    HLLExp.add(HLLPolicy policy, Exp list, Exp bin)
    Create expression that adds list values to a HLL set and returns HLL set.
    static Exp
    HLLExp.add(HLLPolicy policy, Exp list, Exp indexBitCount, Exp bin)
    Create expression that adds values to a HLL set and returns HLL set.
    static Exp
    HLLExp.add(HLLPolicy policy, Exp list, Exp indexBitCount, Exp minHashBitCount, Exp bin)
    Create expression that adds values to a HLL set and returns HLL set.
    static Exp
    BitExp.and(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp value, Exp bin)
    Create expression that performs bitwise "and" on value and byte[] bin at bitOffset for bitSize and returns byte[].
    static Exp
    Exp.and(Exp... exps)
    Create "and" (&&) operator that applies to a variable number of expressions.
    static Exp
    ListExp.append(ListPolicy policy, Exp value, Exp bin, CTX... ctx)
    Create expression that appends value to end of list.
    static Exp
    ListExp.appendItems(ListPolicy policy, Exp list, Exp bin, CTX... ctx)
    Create expression that appends list items to end of list.
    static Exp
    Exp.arshift(Exp value, Exp shift)
    Create integer "arithmetic right shift" (>>) operator.
    static Exp
    Exp.bin(String name, Exp.Type type)
    Create bin expression of specified type.
    static Exp
    Exp.binExists(String name)
    Create expression that returns if bin of specified name exists.
    static Exp
    Exp.binType(String name)
    Create expression that returns bin's integer particle type.
    static Exp
    Exp.blobBin(String name)
    Create byte[] bin expression.
    static Exp
    Exp.boolBin(String name)
    Create boolean bin expression.
    static Exp
    Exp.ceil(Exp num)
    Create expression that rounds a floating point number up to the closest integer value.
    static Exp
    ListExp.clear(Exp bin, CTX... ctx)
    Create expression that removes all items in list.
    static Exp
    MapExp.clear(Exp bin, CTX... ctx)
    Create expression that removes all items in map.
    static Exp
    Exp.cond(Exp... exps)
    Conditionally select an action expression from a variable number of expression pairs followed by a default action expression.
    static Exp
    BitExp.count(Exp bitOffset, Exp bitSize, Exp bin)
    Create expression that returns integer count of set bits from byte[] bin starting at bitOffset for bitSize.
    static Exp
    Exp.count(Exp exp)
    Create expression that returns count of integer bits that are set to 1.
    static Exp
    Exp.def(String name, Exp value)
    Assign variable to a let(Exp...) expression that can be accessed later.
    static Exp
    HLLExp.describe(Exp bin)
    Create expression that returns indexBitCount and minHashBitCount used to create HLL bin in a list of longs.
    static Exp
    Create expression that returns record size on disk.
    static Exp
    Exp.digestModulo(int mod)
    Create expression that returns record digest modulo as integer.
    static Exp
    Exp.div(Exp... exps)
    Create "divide" (/) operator that applies to a variable number of expressions.
    static Exp
    Exp.eq(Exp left, Exp right)
    Create equal (==) expression.
    static Exp
    Exp.exclusive(Exp... exps)
    Create expression that returns true if only one of the expressions are true.
    static Exp
    Merge precompiled expression into a new expression tree.
    static Exp
    Exp.floatBin(String name)
    Create 64 bit float bin expression.
    static Exp
    Exp.floor(Exp num)
    Create expression that rounds a floating point number down to the closest integer value.
    static Exp
    Exp.ge(Exp left, Exp right)
    Create greater than or equal (>=) operation.
    static Exp
    Exp.geo(String val)
    Create geospatial json string value.
    static Exp
    Exp.geoBin(String name)
    Create geospatial bin expression.
    static Exp
    Exp.geoCompare(Exp left, Exp right)
    Create compare geospatial operation.
    static Exp
    BitExp.get(Exp bitOffset, Exp bitSize, Exp bin)
    Create expression that returns bits from byte[] bin starting at bitOffset for bitSize.
    static Exp
    ListExp.getByIndex(int returnType, Exp.Type valueType, Exp index, Exp bin, CTX... ctx)
    Create expression that selects list item identified by index and returns selected data specified by returnType.
    static Exp
    MapExp.getByIndex(int returnType, Exp.Type valueType, Exp index, Exp bin, CTX... ctx)
    Create expression that selects map item identified by index and returns selected data specified by returnType (See MapReturnType).
    static Exp
    ListExp.getByIndexRange(int returnType, Exp index, Exp bin, CTX... ctx)
    Create expression that selects list items starting at specified index to the end of list and returns selected data specified by returnType (See ListReturnType).
    static Exp
    ListExp.getByIndexRange(int returnType, Exp index, Exp count, Exp bin, CTX... ctx)
    Create expression that selects "count" list items starting at specified index and returns selected data specified by returnType (See ListReturnType).
    static Exp
    MapExp.getByIndexRange(int returnType, Exp index, Exp bin, CTX... ctx)
    Create expression that selects map items starting at specified index to the end of map and returns selected data specified by returnType (See MapReturnType).
    static Exp
    MapExp.getByIndexRange(int returnType, Exp index, Exp count, Exp bin, CTX... ctx)
    Create expression that selects "count" map items starting at specified index and returns selected data specified by returnType (See MapReturnType).
    static Exp
    MapExp.getByKey(int returnType, Exp.Type valueType, Exp key, Exp bin, CTX... ctx)
    Create expression that selects map item identified by key and returns selected data specified by returnType.
    static Exp
    MapExp.getByKeyList(int returnType, Exp keys, Exp bin, CTX... ctx)
    Create expression that selects map items identified by keys and returns selected data specified by returnType (See MapReturnType).
    static Exp
    MapExp.getByKeyRange(int returnType, Exp keyBegin, Exp keyEnd, Exp bin, CTX... ctx)
    Create expression that selects map items identified by key range (keyBegin inclusive, keyEnd exclusive).
    static Exp
    MapExp.getByKeyRelativeIndexRange(int returnType, Exp key, Exp index, Exp bin, CTX... ctx)
    Create expression that selects map items nearest to key and greater by index.
    static Exp
    MapExp.getByKeyRelativeIndexRange(int returnType, Exp key, Exp index, Exp count, Exp bin, CTX... ctx)
    Create expression that selects map items nearest to key and greater by index with a count limit.
    static Exp
    ListExp.getByRank(int returnType, Exp.Type valueType, Exp rank, Exp bin, CTX... ctx)
    Create expression that selects list item identified by rank and returns selected data specified by returnType.
    static Exp
    MapExp.getByRank(int returnType, Exp.Type valueType, Exp rank, Exp bin, CTX... ctx)
    Create expression that selects map item identified by rank and returns selected data specified by returnType (See MapReturnType).
    static Exp
    ListExp.getByRankRange(int returnType, Exp rank, Exp bin, CTX... ctx)
    Create expression that selects list items starting at specified rank to the last ranked item and returns selected data specified by returnType (See ListReturnType).
    static Exp
    ListExp.getByRankRange(int returnType, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that selects "count" list items starting at specified rank and returns selected data specified by returnType (See ListReturnType).
    static Exp
    MapExp.getByRankRange(int returnType, Exp rank, Exp bin, CTX... ctx)
    Create expression that selects map items starting at specified rank to the last ranked item and returns selected data specified by returnType (See MapReturnType).
    static Exp
    MapExp.getByRankRange(int returnType, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that selects "count" map items starting at specified rank and returns selected data specified by returnType (See MapReturnType).
    static Exp
    ListExp.getByValue(int returnType, Exp value, Exp bin, CTX... ctx)
    Create expression that selects list items identified by value and returns selected data specified by returnType.
    static Exp
    MapExp.getByValue(int returnType, Exp value, Exp bin, CTX... ctx)
    Create expression that selects map items identified by value and returns selected data specified by returnType.
    static Exp
    ListExp.getByValueList(int returnType, Exp values, Exp bin, CTX... ctx)
    Create expression that selects list items identified by values and returns selected data specified by returnType.
    static Exp
    MapExp.getByValueList(int returnType, Exp values, Exp bin, CTX... ctx)
    Create expression that selects map items identified by values and returns selected data specified by returnType (See MapReturnType).
    static Exp
    ListExp.getByValueRange(int returnType, Exp valueBegin, Exp valueEnd, Exp bin, CTX... ctx)
    Create expression that selects list items identified by value range and returns selected data specified by returnType.
    static Exp
    MapExp.getByValueRange(int returnType, Exp valueBegin, Exp valueEnd, Exp bin, CTX... ctx)
    Create expression that selects map items identified by value range (valueBegin inclusive, valueEnd exclusive) If valueBegin is null, the range is less than valueEnd.
    static Exp
    ListExp.getByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp bin, CTX... ctx)
    Create expression that selects list items nearest to value and greater by relative rank and returns selected data specified by returnType (See ListReturnType).
    static Exp
    ListExp.getByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that selects list items nearest to value and greater by relative rank with a count limit and returns selected data specified by returnType (See ListReturnType).
    static Exp
    MapExp.getByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp bin, CTX... ctx)
    Create expression that selects map items nearest to value and greater by relative rank.
    static Exp
    MapExp.getByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that selects map items nearest to value and greater by relative rank with a count limit.
    static Exp
    HLLExp.getCount(Exp bin)
    Create expression that returns estimated number of elements in the HLL bin.
    static Exp
    BitExp.getInt(Exp bitOffset, Exp bitSize, boolean signed, Exp bin)
    Create expression that returns integer from byte[] bin starting at bitOffset for bitSize.
    static Exp
    HLLExp.getIntersectCount(Exp list, Exp bin)
    Create expression that returns estimated number of elements that would be contained by the intersection of these HLL objects.
    static Exp
    HLLExp.getSimilarity(Exp list, Exp bin)
    Create expression that returns estimated similarity of these HLL objects as a 64 bit float.
    static Exp
    HLLExp.getUnion(Exp list, Exp bin)
    Create expression that returns a HLL object that is the union of all specified HLL objects in the list with the HLL bin.
    static Exp
    HLLExp.getUnionCount(Exp list, Exp bin)
    Create expression that returns estimated number of elements that would be contained by the union of these HLL objects.
    static Exp
    Exp.gt(Exp left, Exp right)
    Create greater than (>) operation.
    static Exp
    Exp.hllBin(String name)
    Create hll bin expression.
    static Exp
    ListExp.increment(ListPolicy policy, Exp index, Exp value, Exp bin, CTX... ctx)
    Create expression that increments list[index] by value.
    static Exp
    MapExp.increment(MapPolicy policy, Exp key, Exp incr, Exp bin, CTX... ctx)
    Create expression that increments values by incr for all items identified by key.
    static Exp
    Exp.inf()
    Create infinity value for use in CDT range expressions.
    static Exp
    HLLExp.init(HLLPolicy policy, Exp indexBitCount, Exp bin)
    Create expression that creates a new HLL or resets an existing HLL.
    static Exp
    HLLExp.init(HLLPolicy policy, Exp indexBitCount, Exp minHashBitCount, Exp bin)
    Create expression that creates a new HLL or resets an existing HLL with minhash bits.
    static Exp
    BitExp.insert(BitPolicy policy, Exp byteOffset, Exp value, Exp bin)
    Create expression that inserts value bytes into byte[] bin at byteOffset and returns byte[].
    static Exp
    ListExp.insert(ListPolicy policy, Exp index, Exp value, Exp bin, CTX... ctx)
    Create expression that inserts value to specified index of list.
    static Exp
    ListExp.insertItems(ListPolicy policy, Exp index, Exp list, Exp bin, CTX... ctx)
    Create expression that inserts each input list item starting at specified index of list.
    static Exp
    Exp.intAnd(Exp... exps)
    Create integer "and" (&) operator that is applied to two or more integers.
    static Exp
    Exp.intBin(String name)
    Create 64 bit integer bin expression.
    static Exp
    Exp.intNot(Exp exp)
    Create integer "not" (~) operator.
    static Exp
    Exp.intOr(Exp... exps)
    Create integer "or" (|) operator that is applied to two or more integers.
    static Exp
    Exp.intXor(Exp... exps)
    Create integer "xor" (^) operator that is applied to two or more integers.
    static Exp
    Create expression that returns if record has been deleted and is still in tombstone state.
    static Exp
    Exp.key(Exp.Type type)
    Create record key expression of specified type.
    static Exp
    Exp.keyExists()
    Create expression that returns if the primary key is stored in the record meta data as a boolean expression.
    static Exp
    Create expression that returns record last update time expressed as 64 bit integer nanoseconds since 1970-01-01 epoch.
    static Exp
    Exp.le(Exp left, Exp right)
    Create less than or equals (<=) operation.
    static Exp
    Exp.let(Exp... exps)
    Define variables and expressions in scope.
    static Exp
    Exp.listBin(String name)
    Create list bin expression.
    static Exp
    Exp.log(Exp num, Exp base)
    Create "log" operator for logarithm of "num" with base "base".
    static Exp
    BitExp.lscan(Exp bitOffset, Exp bitSize, Exp value, Exp bin)
    Create expression that returns integer bit offset of the first specified value bit in byte[] bin starting at bitOffset for bitSize.
    static Exp
    Exp.lscan(Exp value, Exp search)
    Create expression that scans integer bits from left (most significant bit) to right (least significant bit), looking for a search bit value.
    static Exp
    BitExp.lshift(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp shift, Exp bin)
    Create expression that shifts left byte[] bin starting at bitOffset for bitSize and returns byte[].
    static Exp
    Exp.lshift(Exp value, Exp shift)
    Create integer "left shift" (<<) operator.
    static Exp
    Exp.lt(Exp left, Exp right)
    Create less than (<) operation.
    static Exp
    Exp.mapBin(String name)
    Create map bin expression.
    static Exp
    Exp.max(Exp... exps)
    Create expression that returns the maximum value in a variable number of expressions.
    static Exp
    HLLExp.mayContain(Exp list, Exp bin)
    Create expression that returns one if HLL bin may contain all items in the list.
    static Exp
    Create expression that returns record size in memory.
    static Exp
    Exp.min(Exp... exps)
    Create expression that returns the minimum value in a variable number of expressions.
    static Exp
    Exp.mod(Exp numerator, Exp denominator)
    Create "modulo" (%) operator that determines the remainder of "numerator" divided by "denominator".
    static Exp
    Exp.mul(Exp... exps)
    Create "multiply" (*) operator that applies to a variable number of expressions.
    static Exp
    Exp.ne(Exp left, Exp right)
    Create not equal (!=) expression
    static Exp
    Exp.nil()
    Create nil value.
    static Exp
    BitExp.not(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp bin)
    Create expression that negates byte[] bin starting at bitOffset for bitSize and returns byte[].
    static Exp
    Exp.not(Exp exp)
    Create "not" operator expression.
    static Exp
    BitExp.or(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp value, Exp bin)
    Create expression that performs bitwise "or" on value and byte[] bin at bitOffset for bitSize and returns byte[].
    static Exp
    Exp.or(Exp... exps)
    Create "or" (||) operator that applies to a variable number of expressions.
    static Exp
    Exp.pow(Exp base, Exp exponent)
    Create "power" operator that raises a "base" to the "exponent" power.
    static Exp
    MapExp.put(MapPolicy policy, Exp key, Exp value, Exp bin, CTX... ctx)
    Create expression that writes key/value item to a map bin.
    static Exp
    MapExp.putItems(MapPolicy policy, Exp map, Exp bin, CTX... ctx)
    Create expression that writes each map item to a map bin.
    static Exp
    Create expression that returns the record size.
    static Exp
    Exp.regexCompare(String regex, int flags, Exp bin)
    Create expression that performs a regex match on a string bin or string value expression.
    static Exp
    BitExp.remove(BitPolicy policy, Exp byteOffset, Exp byteSize, Exp bin)
    Create expression that removes bytes from byte[] bin at byteOffset for byteSize and returns byte[].
    static Exp
    ListExp.removeByIndex(Exp index, Exp bin, CTX... ctx)
    Create expression that removes list item identified by index.
    static Exp
    MapExp.removeByIndex(Exp index, Exp bin, CTX... ctx)
    Create expression that removes map item identified by index.
    static Exp
    ListExp.removeByIndexRange(int returnType, Exp index, Exp bin, CTX... ctx)
    Create expression that removes list items starting at specified index to the end of list.
    static Exp
    ListExp.removeByIndexRange(int returnType, Exp index, Exp count, Exp bin, CTX... ctx)
    Create expression that removes "count" list items starting at specified index.
    static Exp
    MapExp.removeByIndexRange(int returnType, Exp index, Exp bin, CTX... ctx)
    Create expression that removes map items starting at specified index to the end of map.
    static Exp
    MapExp.removeByIndexRange(int returnType, Exp index, Exp count, Exp bin, CTX... ctx)
    Create expression that removes "count" map items starting at specified index.
    static Exp
    MapExp.removeByKey(Exp key, Exp bin, CTX... ctx)
    Create expression that removes map item identified by key.
    static Exp
    MapExp.removeByKeyList(int returnType, Exp keys, Exp bin, CTX... ctx)
    Create expression that removes map items identified by keys.
    static Exp
    MapExp.removeByKeyRange(int returnType, Exp keyBegin, Exp keyEnd, Exp bin, CTX... ctx)
    Create expression that removes map items identified by key range (keyBegin inclusive, keyEnd exclusive).
    static Exp
    MapExp.removeByKeyRelativeIndexRange(int returnType, Exp key, Exp index, Exp bin, CTX... ctx)
    Create expression that removes map items nearest to key and greater by index.
    static Exp
    MapExp.removeByKeyRelativeIndexRange(int returnType, Exp key, Exp index, Exp count, Exp bin, CTX... ctx)
    Create expression that removes map items nearest to key and greater by index with a count limit.
    static Exp
    ListExp.removeByRank(Exp rank, Exp bin, CTX... ctx)
    Create expression that removes list item identified by rank.
    static Exp
    MapExp.removeByRank(Exp rank, Exp bin, CTX... ctx)
    Create expression that removes map item identified by rank.
    static Exp
    ListExp.removeByRankRange(int returnType, Exp rank, Exp bin, CTX... ctx)
    Create expression that removes list items starting at specified rank to the last ranked item.
    static Exp
    ListExp.removeByRankRange(int returnType, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that removes "count" list items starting at specified rank.
    static Exp
    MapExp.removeByRankRange(int returnType, Exp rank, Exp bin, CTX... ctx)
    Create expression that removes map items starting at specified rank to the last ranked item.
    static Exp
    MapExp.removeByRankRange(int returnType, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that removes "count" map items starting at specified rank.
    static Exp
    ListExp.removeByValue(int returnType, Exp value, Exp bin, CTX... ctx)
    Create expression that removes list items identified by value.
    static Exp
    MapExp.removeByValue(int returnType, Exp value, Exp bin, CTX... ctx)
    Create expression that removes map items identified by value.
    static Exp
    ListExp.removeByValueList(int returnType, Exp values, Exp bin, CTX... ctx)
    Create expression that removes list items identified by values.
    static Exp
    MapExp.removeByValueList(int returnType, Exp values, Exp bin, CTX... ctx)
    Create expression that removes map items identified by values.
    static Exp
    ListExp.removeByValueRange(int returnType, Exp valueBegin, Exp valueEnd, Exp bin, CTX... ctx)
    Create expression that removes list items identified by value range (valueBegin inclusive, valueEnd exclusive).
    static Exp
    MapExp.removeByValueRange(int returnType, Exp valueBegin, Exp valueEnd, Exp bin, CTX... ctx)
    Create expression that removes map items identified by value range (valueBegin inclusive, valueEnd exclusive).
    static Exp
    ListExp.removeByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp bin, CTX... ctx)
    Create expression that removes list items nearest to value and greater by relative rank.
    static Exp
    ListExp.removeByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that removes list items nearest to value and greater by relative rank with a count limit.
    static Exp
    MapExp.removeByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp bin, CTX... ctx)
    Create expression that removes map items nearest to value and greater by relative rank.
    static Exp
    MapExp.removeByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that removes map items nearest to value and greater by relative rank with a count limit.
    static Exp
    BitExp.resize(BitPolicy policy, Exp byteSize, int resizeFlags, Exp bin)
    Create expression that resizes byte[] to byteSize according to resizeFlags (See BitResizeFlags) and returns byte[].
    static Exp
    BitExp.rscan(Exp bitOffset, Exp bitSize, Exp value, Exp bin)
    Create expression that returns integer bit offset of the last specified value bit in byte[] bin starting at bitOffset for bitSize.
    static Exp
    Exp.rscan(Exp value, Exp search)
    Create expression that scans integer bits from right (least significant bit) to left (most significant bit), looking for a search bit value.
    static Exp
    BitExp.rshift(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp shift, Exp bin)
    Create expression that shifts right byte[] bin starting at bitOffset for bitSize and returns byte[].
    static Exp
    Exp.rshift(Exp value, Exp shift)
    Create integer "logical right shift" (>>>) operator.
    static Exp
    BitExp.set(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp value, Exp bin)
    Create expression that sets value on byte[] bin at bitOffset for bitSize and returns byte[].
    static Exp
    ListExp.set(ListPolicy policy, Exp index, Exp value, Exp bin, CTX... ctx)
    Create expression that sets item value at specified index in list.
    static Exp
    BitExp.setInt(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp value, Exp bin)
    Create expression that sets value to byte[] bin starting at bitOffset for bitSize and returns byte[].
    static Exp
    Exp.setName()
    Create expression that returns record set name string.
    static Exp
    Create expression that returns milliseconds since the record was last updated.
    static Exp
    ListExp.size(Exp bin, CTX... ctx)
    Create expression that returns list size.
    static Exp
    MapExp.size(Exp bin, CTX... ctx)
    Create expression that returns list size.
    static Exp
    ListExp.sort(int sortFlags, Exp bin, CTX... ctx)
    Create expression that sorts list according to sortFlags.
    static Exp
    Exp.stringBin(String name)
    Create string bin expression.
    static Exp
    Exp.sub(Exp... exps)
    Create "subtract" (-) operator that applies to a variable number of expressions.
    static Exp
    BitExp.subtract(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp value, boolean signed, BitOverflowAction action, Exp bin)
    Create expression that subtracts value from byte[] bin starting at bitOffset for bitSize and returns byte[].
    static Exp
    Exp.toFloat(Exp num)
    Create expression that converts an integer to a float.
    static Exp
    Exp.toInt(Exp num)
    Create expression that converts a float to an integer.
    static Exp
    Exp.ttl()
    Create expression that returns record expiration time (time to live) in integer seconds.
    static Exp
    Exp.unknown()
    Create unknown value.
    static Exp
    Exp.val(boolean val)
    Create boolean value.
    static Exp
    Exp.val(byte[] val)
    Create blob byte[] value.
    static Exp
    Exp.val(double val)
    Create 64 bit floating point value.
    static Exp
    Exp.val(long val)
    Create 64 bit integer value.
    static Exp
    Exp.val(String val)
    Create string value.
    static Exp
    Exp.val(Calendar val)
    Create Calendar value expressed in nanoseconds since 1970-01-01 epoch as 64 bit integer.
    static Exp
    Exp.val(List<?> list)
    Create list value.
    static Exp
    Exp.val(Map<?,?> map)
    Create map value.
    static Exp
    Exp.var(String name)
    Retrieve expression value from a variable.
    static Exp
    Exp.voidTime()
    Create expression that returns record expiration time expressed as 64 bit integer nanoseconds since 1970-01-01 epoch.
    static Exp
    Exp.wildcard()
    Create wildcard value for use in CDT expressions.
    static Exp
    BitExp.xor(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp value, Exp bin)
    Create expression that performs bitwise "xor" on value and byte[] bin at bitOffset for bitSize and returns byte[].
    Methods in com.aerospike.client.exp with parameters of type Exp
    Modifier and Type
    Method
    Description
    static Exp
    Exp.abs(Exp value)
    Create operator that returns absolute value of a number.
    static Exp
    BitExp.add(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp value, boolean signed, BitOverflowAction action, Exp bin)
    Create expression that adds value to byte[] bin starting at bitOffset for bitSize and returns byte[].
    static Exp
    Exp.add(Exp... exps)
    Create "add" (+) operator that applies to a variable number of expressions.
    static Exp
    HLLExp.add(HLLPolicy policy, Exp list, Exp bin)
    Create expression that adds list values to a HLL set and returns HLL set.
    static Exp
    HLLExp.add(HLLPolicy policy, Exp list, Exp indexBitCount, Exp bin)
    Create expression that adds values to a HLL set and returns HLL set.
    static Exp
    HLLExp.add(HLLPolicy policy, Exp list, Exp indexBitCount, Exp minHashBitCount, Exp bin)
    Create expression that adds values to a HLL set and returns HLL set.
    static Exp
    BitExp.and(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp value, Exp bin)
    Create expression that performs bitwise "and" on value and byte[] bin at bitOffset for bitSize and returns byte[].
    static Exp
    Exp.and(Exp... exps)
    Create "and" (&&) operator that applies to a variable number of expressions.
    static Exp
    ListExp.append(ListPolicy policy, Exp value, Exp bin, CTX... ctx)
    Create expression that appends value to end of list.
    static Exp
    ListExp.appendItems(ListPolicy policy, Exp list, Exp bin, CTX... ctx)
    Create expression that appends list items to end of list.
    static Exp
    Exp.arshift(Exp value, Exp shift)
    Create integer "arithmetic right shift" (>>) operator.
    static Expression
    Exp.build(Exp exp)
    Create final expression that contains packed byte instructions used in the wire protocol.
    static Exp
    Exp.ceil(Exp num)
    Create expression that rounds a floating point number up to the closest integer value.
    static Exp
    ListExp.clear(Exp bin, CTX... ctx)
    Create expression that removes all items in list.
    static Exp
    MapExp.clear(Exp bin, CTX... ctx)
    Create expression that removes all items in map.
    static Exp
    Exp.cond(Exp... exps)
    Conditionally select an action expression from a variable number of expression pairs followed by a default action expression.
    static Exp
    BitExp.count(Exp bitOffset, Exp bitSize, Exp bin)
    Create expression that returns integer count of set bits from byte[] bin starting at bitOffset for bitSize.
    static Exp
    Exp.count(Exp exp)
    Create expression that returns count of integer bits that are set to 1.
    static Exp
    Exp.def(String name, Exp value)
    Assign variable to a let(Exp...) expression that can be accessed later.
    static Exp
    HLLExp.describe(Exp bin)
    Create expression that returns indexBitCount and minHashBitCount used to create HLL bin in a list of longs.
    static Exp
    Exp.div(Exp... exps)
    Create "divide" (/) operator that applies to a variable number of expressions.
    static Exp
    Exp.eq(Exp left, Exp right)
    Create equal (==) expression.
    static Exp
    Exp.exclusive(Exp... exps)
    Create expression that returns true if only one of the expressions are true.
    static Exp
    Exp.floor(Exp num)
    Create expression that rounds a floating point number down to the closest integer value.
    static Exp
    Exp.ge(Exp left, Exp right)
    Create greater than or equal (>=) operation.
    static Exp
    Exp.geoCompare(Exp left, Exp right)
    Create compare geospatial operation.
    static Exp
    BitExp.get(Exp bitOffset, Exp bitSize, Exp bin)
    Create expression that returns bits from byte[] bin starting at bitOffset for bitSize.
    static Exp
    ListExp.getByIndex(int returnType, Exp.Type valueType, Exp index, Exp bin, CTX... ctx)
    Create expression that selects list item identified by index and returns selected data specified by returnType.
    static Exp
    MapExp.getByIndex(int returnType, Exp.Type valueType, Exp index, Exp bin, CTX... ctx)
    Create expression that selects map item identified by index and returns selected data specified by returnType (See MapReturnType).
    static Exp
    ListExp.getByIndexRange(int returnType, Exp index, Exp bin, CTX... ctx)
    Create expression that selects list items starting at specified index to the end of list and returns selected data specified by returnType (See ListReturnType).
    static Exp
    ListExp.getByIndexRange(int returnType, Exp index, Exp count, Exp bin, CTX... ctx)
    Create expression that selects "count" list items starting at specified index and returns selected data specified by returnType (See ListReturnType).
    static Exp
    MapExp.getByIndexRange(int returnType, Exp index, Exp bin, CTX... ctx)
    Create expression that selects map items starting at specified index to the end of map and returns selected data specified by returnType (See MapReturnType).
    static Exp
    MapExp.getByIndexRange(int returnType, Exp index, Exp count, Exp bin, CTX... ctx)
    Create expression that selects "count" map items starting at specified index and returns selected data specified by returnType (See MapReturnType).
    static Exp
    MapExp.getByKey(int returnType, Exp.Type valueType, Exp key, Exp bin, CTX... ctx)
    Create expression that selects map item identified by key and returns selected data specified by returnType.
    static Exp
    MapExp.getByKeyList(int returnType, Exp keys, Exp bin, CTX... ctx)
    Create expression that selects map items identified by keys and returns selected data specified by returnType (See MapReturnType).
    static Exp
    MapExp.getByKeyRange(int returnType, Exp keyBegin, Exp keyEnd, Exp bin, CTX... ctx)
    Create expression that selects map items identified by key range (keyBegin inclusive, keyEnd exclusive).
    static Exp
    MapExp.getByKeyRelativeIndexRange(int returnType, Exp key, Exp index, Exp bin, CTX... ctx)
    Create expression that selects map items nearest to key and greater by index.
    static Exp
    MapExp.getByKeyRelativeIndexRange(int returnType, Exp key, Exp index, Exp count, Exp bin, CTX... ctx)
    Create expression that selects map items nearest to key and greater by index with a count limit.
    static Exp
    ListExp.getByRank(int returnType, Exp.Type valueType, Exp rank, Exp bin, CTX... ctx)
    Create expression that selects list item identified by rank and returns selected data specified by returnType.
    static Exp
    MapExp.getByRank(int returnType, Exp.Type valueType, Exp rank, Exp bin, CTX... ctx)
    Create expression that selects map item identified by rank and returns selected data specified by returnType (See MapReturnType).
    static Exp
    ListExp.getByRankRange(int returnType, Exp rank, Exp bin, CTX... ctx)
    Create expression that selects list items starting at specified rank to the last ranked item and returns selected data specified by returnType (See ListReturnType).
    static Exp
    ListExp.getByRankRange(int returnType, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that selects "count" list items starting at specified rank and returns selected data specified by returnType (See ListReturnType).
    static Exp
    MapExp.getByRankRange(int returnType, Exp rank, Exp bin, CTX... ctx)
    Create expression that selects map items starting at specified rank to the last ranked item and returns selected data specified by returnType (See MapReturnType).
    static Exp
    MapExp.getByRankRange(int returnType, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that selects "count" map items starting at specified rank and returns selected data specified by returnType (See MapReturnType).
    static Exp
    ListExp.getByValue(int returnType, Exp value, Exp bin, CTX... ctx)
    Create expression that selects list items identified by value and returns selected data specified by returnType.
    static Exp
    MapExp.getByValue(int returnType, Exp value, Exp bin, CTX... ctx)
    Create expression that selects map items identified by value and returns selected data specified by returnType.
    static Exp
    ListExp.getByValueList(int returnType, Exp values, Exp bin, CTX... ctx)
    Create expression that selects list items identified by values and returns selected data specified by returnType.
    static Exp
    MapExp.getByValueList(int returnType, Exp values, Exp bin, CTX... ctx)
    Create expression that selects map items identified by values and returns selected data specified by returnType (See MapReturnType).
    static Exp
    ListExp.getByValueRange(int returnType, Exp valueBegin, Exp valueEnd, Exp bin, CTX... ctx)
    Create expression that selects list items identified by value range and returns selected data specified by returnType.
    static Exp
    MapExp.getByValueRange(int returnType, Exp valueBegin, Exp valueEnd, Exp bin, CTX... ctx)
    Create expression that selects map items identified by value range (valueBegin inclusive, valueEnd exclusive) If valueBegin is null, the range is less than valueEnd.
    static Exp
    ListExp.getByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp bin, CTX... ctx)
    Create expression that selects list items nearest to value and greater by relative rank and returns selected data specified by returnType (See ListReturnType).
    static Exp
    ListExp.getByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that selects list items nearest to value and greater by relative rank with a count limit and returns selected data specified by returnType (See ListReturnType).
    static Exp
    MapExp.getByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp bin, CTX... ctx)
    Create expression that selects map items nearest to value and greater by relative rank.
    static Exp
    MapExp.getByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that selects map items nearest to value and greater by relative rank with a count limit.
    static Exp
    HLLExp.getCount(Exp bin)
    Create expression that returns estimated number of elements in the HLL bin.
    static Exp
    BitExp.getInt(Exp bitOffset, Exp bitSize, boolean signed, Exp bin)
    Create expression that returns integer from byte[] bin starting at bitOffset for bitSize.
    static Exp
    HLLExp.getIntersectCount(Exp list, Exp bin)
    Create expression that returns estimated number of elements that would be contained by the intersection of these HLL objects.
    static Exp
    HLLExp.getSimilarity(Exp list, Exp bin)
    Create expression that returns estimated similarity of these HLL objects as a 64 bit float.
    static Exp
    HLLExp.getUnion(Exp list, Exp bin)
    Create expression that returns a HLL object that is the union of all specified HLL objects in the list with the HLL bin.
    static Exp
    HLLExp.getUnionCount(Exp list, Exp bin)
    Create expression that returns estimated number of elements that would be contained by the union of these HLL objects.
    static Exp
    Exp.gt(Exp left, Exp right)
    Create greater than (>) operation.
    static Exp
    ListExp.increment(ListPolicy policy, Exp index, Exp value, Exp bin, CTX... ctx)
    Create expression that increments list[index] by value.
    static Exp
    MapExp.increment(MapPolicy policy, Exp key, Exp incr, Exp bin, CTX... ctx)
    Create expression that increments values by incr for all items identified by key.
    static Exp
    HLLExp.init(HLLPolicy policy, Exp indexBitCount, Exp bin)
    Create expression that creates a new HLL or resets an existing HLL.
    static Exp
    HLLExp.init(HLLPolicy policy, Exp indexBitCount, Exp minHashBitCount, Exp bin)
    Create expression that creates a new HLL or resets an existing HLL with minhash bits.
    static Exp
    BitExp.insert(BitPolicy policy, Exp byteOffset, Exp value, Exp bin)
    Create expression that inserts value bytes into byte[] bin at byteOffset and returns byte[].
    static Exp
    ListExp.insert(ListPolicy policy, Exp index, Exp value, Exp bin, CTX... ctx)
    Create expression that inserts value to specified index of list.
    static Exp
    ListExp.insertItems(ListPolicy policy, Exp index, Exp list, Exp bin, CTX... ctx)
    Create expression that inserts each input list item starting at specified index of list.
    static Exp
    Exp.intAnd(Exp... exps)
    Create integer "and" (&) operator that is applied to two or more integers.
    static Exp
    Exp.intNot(Exp exp)
    Create integer "not" (~) operator.
    static Exp
    Exp.intOr(Exp... exps)
    Create integer "or" (|) operator that is applied to two or more integers.
    static Exp
    Exp.intXor(Exp... exps)
    Create integer "xor" (^) operator that is applied to two or more integers.
    static Exp
    Exp.le(Exp left, Exp right)
    Create less than or equals (<=) operation.
    static Exp
    Exp.let(Exp... exps)
    Define variables and expressions in scope.
    static Exp
    Exp.log(Exp num, Exp base)
    Create "log" operator for logarithm of "num" with base "base".
    static Exp
    BitExp.lscan(Exp bitOffset, Exp bitSize, Exp value, Exp bin)
    Create expression that returns integer bit offset of the first specified value bit in byte[] bin starting at bitOffset for bitSize.
    static Exp
    Exp.lscan(Exp value, Exp search)
    Create expression that scans integer bits from left (most significant bit) to right (least significant bit), looking for a search bit value.
    static Exp
    BitExp.lshift(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp shift, Exp bin)
    Create expression that shifts left byte[] bin starting at bitOffset for bitSize and returns byte[].
    static Exp
    Exp.lshift(Exp value, Exp shift)
    Create integer "left shift" (<<) operator.
    static Exp
    Exp.lt(Exp left, Exp right)
    Create less than (<) operation.
    static Exp
    Exp.max(Exp... exps)
    Create expression that returns the maximum value in a variable number of expressions.
    static Exp
    HLLExp.mayContain(Exp list, Exp bin)
    Create expression that returns one if HLL bin may contain all items in the list.
    static Exp
    Exp.min(Exp... exps)
    Create expression that returns the minimum value in a variable number of expressions.
    static Exp
    Exp.mod(Exp numerator, Exp denominator)
    Create "modulo" (%) operator that determines the remainder of "numerator" divided by "denominator".
    static Exp
    Exp.mul(Exp... exps)
    Create "multiply" (*) operator that applies to a variable number of expressions.
    static Exp
    Exp.ne(Exp left, Exp right)
    Create not equal (!=) expression
    static Exp
    BitExp.not(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp bin)
    Create expression that negates byte[] bin starting at bitOffset for bitSize and returns byte[].
    static Exp
    Exp.not(Exp exp)
    Create "not" operator expression.
    static Exp
    BitExp.or(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp value, Exp bin)
    Create expression that performs bitwise "or" on value and byte[] bin at bitOffset for bitSize and returns byte[].
    static Exp
    Exp.or(Exp... exps)
    Create "or" (||) operator that applies to a variable number of expressions.
    static Exp
    Exp.pow(Exp base, Exp exponent)
    Create "power" operator that raises a "base" to the "exponent" power.
    static Exp
    MapExp.put(MapPolicy policy, Exp key, Exp value, Exp bin, CTX... ctx)
    Create expression that writes key/value item to a map bin.
    static Exp
    MapExp.putItems(MapPolicy policy, Exp map, Exp bin, CTX... ctx)
    Create expression that writes each map item to a map bin.
    static Exp
    Exp.regexCompare(String regex, int flags, Exp bin)
    Create expression that performs a regex match on a string bin or string value expression.
    static Exp
    BitExp.remove(BitPolicy policy, Exp byteOffset, Exp byteSize, Exp bin)
    Create expression that removes bytes from byte[] bin at byteOffset for byteSize and returns byte[].
    static Exp
    ListExp.removeByIndex(Exp index, Exp bin, CTX... ctx)
    Create expression that removes list item identified by index.
    static Exp
    MapExp.removeByIndex(Exp index, Exp bin, CTX... ctx)
    Create expression that removes map item identified by index.
    static Exp
    ListExp.removeByIndexRange(int returnType, Exp index, Exp bin, CTX... ctx)
    Create expression that removes list items starting at specified index to the end of list.
    static Exp
    ListExp.removeByIndexRange(int returnType, Exp index, Exp count, Exp bin, CTX... ctx)
    Create expression that removes "count" list items starting at specified index.
    static Exp
    MapExp.removeByIndexRange(int returnType, Exp index, Exp bin, CTX... ctx)
    Create expression that removes map items starting at specified index to the end of map.
    static Exp
    MapExp.removeByIndexRange(int returnType, Exp index, Exp count, Exp bin, CTX... ctx)
    Create expression that removes "count" map items starting at specified index.
    static Exp
    MapExp.removeByKey(Exp key, Exp bin, CTX... ctx)
    Create expression that removes map item identified by key.
    static Exp
    MapExp.removeByKeyList(int returnType, Exp keys, Exp bin, CTX... ctx)
    Create expression that removes map items identified by keys.
    static Exp
    MapExp.removeByKeyRange(int returnType, Exp keyBegin, Exp keyEnd, Exp bin, CTX... ctx)
    Create expression that removes map items identified by key range (keyBegin inclusive, keyEnd exclusive).
    static Exp
    MapExp.removeByKeyRelativeIndexRange(int returnType, Exp key, Exp index, Exp bin, CTX... ctx)
    Create expression that removes map items nearest to key and greater by index.
    static Exp
    MapExp.removeByKeyRelativeIndexRange(int returnType, Exp key, Exp index, Exp count, Exp bin, CTX... ctx)
    Create expression that removes map items nearest to key and greater by index with a count limit.
    static Exp
    ListExp.removeByRank(Exp rank, Exp bin, CTX... ctx)
    Create expression that removes list item identified by rank.
    static Exp
    MapExp.removeByRank(Exp rank, Exp bin, CTX... ctx)
    Create expression that removes map item identified by rank.
    static Exp
    ListExp.removeByRankRange(int returnType, Exp rank, Exp bin, CTX... ctx)
    Create expression that removes list items starting at specified rank to the last ranked item.
    static Exp
    ListExp.removeByRankRange(int returnType, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that removes "count" list items starting at specified rank.
    static Exp
    MapExp.removeByRankRange(int returnType, Exp rank, Exp bin, CTX... ctx)
    Create expression that removes map items starting at specified rank to the last ranked item.
    static Exp
    MapExp.removeByRankRange(int returnType, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that removes "count" map items starting at specified rank.
    static Exp
    ListExp.removeByValue(int returnType, Exp value, Exp bin, CTX... ctx)
    Create expression that removes list items identified by value.
    static Exp
    MapExp.removeByValue(int returnType, Exp value, Exp bin, CTX... ctx)
    Create expression that removes map items identified by value.
    static Exp
    ListExp.removeByValueList(int returnType, Exp values, Exp bin, CTX... ctx)
    Create expression that removes list items identified by values.
    static Exp
    MapExp.removeByValueList(int returnType, Exp values, Exp bin, CTX... ctx)
    Create expression that removes map items identified by values.
    static Exp
    ListExp.removeByValueRange(int returnType, Exp valueBegin, Exp valueEnd, Exp bin, CTX... ctx)
    Create expression that removes list items identified by value range (valueBegin inclusive, valueEnd exclusive).
    static Exp
    MapExp.removeByValueRange(int returnType, Exp valueBegin, Exp valueEnd, Exp bin, CTX... ctx)
    Create expression that removes map items identified by value range (valueBegin inclusive, valueEnd exclusive).
    static Exp
    ListExp.removeByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp bin, CTX... ctx)
    Create expression that removes list items nearest to value and greater by relative rank.
    static Exp
    ListExp.removeByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that removes list items nearest to value and greater by relative rank with a count limit.
    static Exp
    MapExp.removeByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp bin, CTX... ctx)
    Create expression that removes map items nearest to value and greater by relative rank.
    static Exp
    MapExp.removeByValueRelativeRankRange(int returnType, Exp value, Exp rank, Exp count, Exp bin, CTX... ctx)
    Create expression that removes map items nearest to value and greater by relative rank with a count limit.
    static Exp
    BitExp.resize(BitPolicy policy, Exp byteSize, int resizeFlags, Exp bin)
    Create expression that resizes byte[] to byteSize according to resizeFlags (See BitResizeFlags) and returns byte[].
    static Exp
    BitExp.rscan(Exp bitOffset, Exp bitSize, Exp value, Exp bin)
    Create expression that returns integer bit offset of the last specified value bit in byte[] bin starting at bitOffset for bitSize.
    static Exp
    Exp.rscan(Exp value, Exp search)
    Create expression that scans integer bits from right (least significant bit) to left (most significant bit), looking for a search bit value.
    static Exp
    BitExp.rshift(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp shift, Exp bin)
    Create expression that shifts right byte[] bin starting at bitOffset for bitSize and returns byte[].
    static Exp
    Exp.rshift(Exp value, Exp shift)
    Create integer "logical right shift" (>>>) operator.
    static Exp
    BitExp.set(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp value, Exp bin)
    Create expression that sets value on byte[] bin at bitOffset for bitSize and returns byte[].
    static Exp
    ListExp.set(ListPolicy policy, Exp index, Exp value, Exp bin, CTX... ctx)
    Create expression that sets item value at specified index in list.
    static Exp
    BitExp.setInt(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp value, Exp bin)
    Create expression that sets value to byte[] bin starting at bitOffset for bitSize and returns byte[].
    static Exp
    ListExp.size(Exp bin, CTX... ctx)
    Create expression that returns list size.
    static Exp
    MapExp.size(Exp bin, CTX... ctx)
    Create expression that returns list size.
    static Exp
    ListExp.sort(int sortFlags, Exp bin, CTX... ctx)
    Create expression that sorts list according to sortFlags.
    static Exp
    Exp.sub(Exp... exps)
    Create "subtract" (-) operator that applies to a variable number of expressions.
    static Exp
    BitExp.subtract(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp value, boolean signed, BitOverflowAction action, Exp bin)
    Create expression that subtracts value from byte[] bin starting at bitOffset for bitSize and returns byte[].
    static Exp
    Exp.toFloat(Exp num)
    Create expression that converts an integer to a float.
    static Exp
    Exp.toInt(Exp num)
    Create expression that converts a float to an integer.
    static Exp
    BitExp.xor(BitPolicy policy, Exp bitOffset, Exp bitSize, Exp value, Exp bin)
    Create expression that performs bitwise "xor" on value and byte[] bin at bitOffset for bitSize and returns byte[].