Companion

Functions

Link copied to clipboard
fun abs(numericExpr: Expression): Expression

The abs function of numericExpr.

fun abs(numericField: String): Expression

The abs function of the field numericField.

Link copied to clipboard
fun add(first: Expression, second: Number): Expression

The add function of first and second.

fun add(numericFieldName: String, second: Expression): Expression
fun add(numericFieldName: String, second: Number): Expression

The add function of the field numericFieldName and second.

Link copied to clipboard

The and condition of condition and conditions.

Link copied to clipboard
fun array(elements: List<Any?>): Expression

The array function of elements.map(::toExprOrConstant).toTypedArray().

fun array(vararg elements: Any?): Expression

The array function of elements.map(::toExprOrConstant).toTypedArray<Expression>().

Link copied to clipboard
fun arrayConcat(firstArray: Expression, secondArray: Expression, vararg otherArrays: Any): Expression
fun arrayConcat(firstArray: Expression, secondArray: Any, vararg otherArrays: Any): Expression

The array_concat function of firstArray, secondArray and otherArrays.

fun arrayConcat(firstArrayField: String, secondArray: Expression, vararg otherArrays: Any): Expression
fun arrayConcat(firstArrayField: String, secondArray: Any, vararg otherArrays: Any): Expression

The array_concat function of the field firstArrayField, secondArray and otherArrays.

Link copied to clipboard

The array_contains condition of array and element.

fun arrayContains(arrayFieldName: String, element: Any): BooleanExpression

The array_contains condition of the field arrayFieldName and element.

Link copied to clipboard

The array_contains_all condition of array and arrayExpression.

arrayContainsAll of array and the array values.

fun arrayContainsAll(arrayFieldName: String, arrayExpression: Expression): BooleanExpression

The array_contains_all condition of the field arrayFieldName and arrayExpression.

fun arrayContainsAll(arrayFieldName: String, values: List<Any>): BooleanExpression

The array_contains_all condition of the field arrayFieldName and the array values.

Link copied to clipboard

The array_contains_any condition of array and arrayExpression.

The array_contains_any condition of array and the array values.

fun arrayContainsAny(arrayFieldName: String, arrayExpression: Expression): BooleanExpression

The array_contains_any condition of the field arrayFieldName and arrayExpression.

fun arrayContainsAny(arrayFieldName: String, values: List<Any>): BooleanExpression

The array_contains_any condition of the field arrayFieldName and the array values.

Link copied to clipboard

The array_filter function of array, alias and filter.

fun arrayFilter(arrayFieldName: String, alias: String, filter: BooleanExpression): Expression

The array_filter function of the field arrayFieldName, alias and filter.

Link copied to clipboard

The array_first function of array.

fun arrayFirst(arrayFieldName: String): Expression

The array_first function of the field arrayFieldName.

Link copied to clipboard

The array_first_n function of array and n.

fun arrayFirstN(arrayFieldName: String, n: Int): Expression

The array_first_n function of the field arrayFieldName and n.

Link copied to clipboard

The array_get function of array and offset.

fun arrayGet(arrayFieldName: String, offset: Expression): Expression
fun arrayGet(arrayFieldName: String, offset: Int): Expression

The array_get function of the field arrayFieldName and offset.

Link copied to clipboard

The array_index_of function of array, value and "first".

fun arrayIndexOf(arrayFieldName: String, value: Any?): Expression

The array_index_of function of the field arrayFieldName, value and "first".

Link copied to clipboard

The array_index_of_all function of array and value.

fun arrayIndexOfAll(arrayFieldName: String, value: Any?): Expression

The array_index_of_all function of the field arrayFieldName and value.

Link copied to clipboard

The array_last function of array.

fun arrayLast(arrayFieldName: String): Expression

The array_last function of the field arrayFieldName.

Link copied to clipboard

The array_index_of function of array, value and "last".

fun arrayLastIndexOf(arrayFieldName: String, value: Any?): Expression

The array_index_of function of the field arrayFieldName, value and "last".

Link copied to clipboard

The array_last_n function of array and n.

fun arrayLastN(arrayFieldName: String, n: Expression): Expression
fun arrayLastN(arrayFieldName: String, n: Int): Expression

The array_last_n function of the field arrayFieldName and n.

Link copied to clipboard

The array_length function of array.

fun arrayLength(arrayFieldName: String): Expression

The array_length function of the field arrayFieldName.

Link copied to clipboard

The maximum function of array.

fun arrayMaximum(arrayFieldName: String): Expression

The maximum function of the field arrayFieldName.

Link copied to clipboard

The maximum_n function of array and n.

fun arrayMaximumN(arrayFieldName: String, n: Int): Expression

The maximum_n function of the field arrayFieldName and n.

Link copied to clipboard

The minimum function of array.

fun arrayMinimum(arrayFieldName: String): Expression

The minimum function of the field arrayFieldName.

Link copied to clipboard

The minimum_n function of array and n.

fun arrayMinimumN(arrayFieldName: String, n: Int): Expression

The minimum_n function of the field arrayFieldName and n.

Link copied to clipboard

The array_reverse function of array.

fun arrayReverse(arrayFieldName: String): Expression

The array_reverse function of the field arrayFieldName.

Link copied to clipboard
fun arraySlice(array: Expression, offset: Int, length: Int): Expression

The array_slice function of array, offset and length.

fun arraySlice(arrayFieldName: String, offset: Expression, length: Expression): Expression
fun arraySlice(arrayFieldName: String, offset: Int, length: Int): Expression

The array_slice function of the field arrayFieldName, offset and length.

Link copied to clipboard

The array_slice function of array and offset.

fun arraySliceToEnd(arrayFieldName: String, offset: Expression): Expression
fun arraySliceToEnd(arrayFieldName: String, offset: Int): Expression

The array_slice function of the field arrayFieldName and offset.

Link copied to clipboard

The sum function of array.

fun arraySum(arrayFieldName: String): Expression

The sum function of the field arrayFieldName.

Link copied to clipboard
fun arrayTransform(array: Expression, elementAlias: String, transform: Expression): Expression

The array_transform function of array, elementAlias and transform.

fun arrayTransform(arrayFieldName: String, elementAlias: String, transform: Expression): Expression

The array_transform function of the field arrayFieldName, elementAlias and transform.

Link copied to clipboard
fun arrayTransformWithIndex(array: Expression, elementAlias: String, indexAlias: String, transform: Expression): Expression

The array_transform function of array, elementAlias, indexAlias and transform.

fun arrayTransformWithIndex(arrayFieldName: String, elementAlias: String, indexAlias: String, transform: Expression): Expression

The array_transform function of the field arrayFieldName, elementAlias, indexAlias and transform.

Link copied to clipboard

The bit_and function of bits and bitsOther.

fun bitAnd(bitsFieldName: String, bitsOther: Expression): Expression
fun bitAnd(bitsFieldName: String, bitsOther: ByteArray): Expression

The bit_and function of the field bitsFieldName and bitsOther.

Link copied to clipboard

The bit_left_shift function of bits and numberExpr.

The bit_left_shift function of bits and number.

fun bitLeftShift(bitsFieldName: String, numberExpr: Expression): Expression

The bit_left_shift function of the field bitsFieldName and numberExpr.

fun bitLeftShift(bitsFieldName: String, number: Int): Expression

The bit_left_shift function of the field bitsFieldName and number.

Link copied to clipboard

The bit_not function of bits.

fun bitNot(bitsFieldName: String): Expression

The bit_not function of the field bitsFieldName.

Link copied to clipboard

The bit_or function of bits and bitsOther.

fun bitOr(bitsFieldName: String, bitsOther: Expression): Expression
fun bitOr(bitsFieldName: String, bitsOther: ByteArray): Expression

The bit_or function of the field bitsFieldName and bitsOther.

Link copied to clipboard

The bit_right_shift function of bits and numberExpr.

The bit_right_shift function of bits and number.

fun bitRightShift(bitsFieldName: String, numberExpr: Expression): Expression

The bit_right_shift function of the field bitsFieldName and numberExpr.

fun bitRightShift(bitsFieldName: String, number: Int): Expression

The bit_right_shift function of the field bitsFieldName and number.

Link copied to clipboard

The bit_xor function of bits and bitsOther.

fun bitXor(bitsFieldName: String, bitsOther: Expression): Expression
fun bitXor(bitsFieldName: String, bitsOther: ByteArray): Expression

The bit_xor function of the field bitsFieldName and bitsOther.

Link copied to clipboard

The byte_length function of value.

The byte_length function of the field fieldName.

Link copied to clipboard
fun ceil(numericExpr: Expression): Expression

The ceil function of numericExpr.

fun ceil(numericField: String): Expression

The ceil function of the field numericField.

Link copied to clipboard

The char_length function of expr.

The char_length function of the field fieldName.

Link copied to clipboard
fun coalesce(expression: Expression, replacement: Any, vararg others: Any): Expression

The coalesce function of expression, replacement and others.

fun coalesce(fieldName: String, replacement: Any, vararg others: Any): Expression

The coalesce function of the field fieldName, replacement and others.

Link copied to clipboard

The collection_id function of path.

collectionId of the field pathField.

Link copied to clipboard
fun concat(first: Expression, second: Expression, vararg others: Any): Expression
fun concat(first: Expression, second: Any, vararg others: Any): Expression

The concat function of first, second and others.

fun concat(first: String, second: Expression, vararg others: Any): Expression
fun concat(first: String, second: Any, vararg others: Any): Expression

The concat function of the field first, second and others.

Link copied to clipboard

The conditional function of condition, thenExpr and elseExpr.

fun conditional(condition: BooleanExpression, thenValue: Any, elseValue: Any): Expression

The conditional function of condition, thenValue and elseValue.

Link copied to clipboard

A constant timestamp.

Constant bytes.

A constant document reference.

A constant geographic point.

A constant vector.

A constant boolean, which is a condition.

A constant number: an integer for Byte, Short, Int and Long, a double otherwise.

A constant string.

Link copied to clipboard

The cosine_distance function of vector1 and vector2.

The cosine_distance function of vector1 and the vector vector2.

fun cosineDistance(vectorFieldName: String, vector: VectorValue): Expression
fun cosineDistance(vectorFieldName: String, vector: Expression): Expression

The cosine_distance function of the field vectorFieldName and vector.

fun cosineDistance(vectorFieldName: String, vector: DoubleArray): Expression

The cosine_distance function of the field vectorFieldName and the vector vector.

Link copied to clipboard

The current_document function.

Link copied to clipboard

The current_timestamp function.

Link copied to clipboard
fun divide(dividend: Expression, divisor: Expression): Expression
fun divide(dividend: Expression, divisor: Number): Expression

The divide function of dividend and divisor.

fun divide(dividendFieldName: String, divisor: Expression): Expression
fun divide(dividendFieldName: String, divisor: Number): Expression

The divide function of the field dividendFieldName and divisor.

Link copied to clipboard
Link copied to clipboard

The document_matches condition of rquery. Beta in the Android SDK.

Link copied to clipboard

The dot_product function of vector1 and vector2.

The dot_product function of vector1 and the vector vector2.

fun dotProduct(vectorFieldName: String, vector: VectorValue): Expression
fun dotProduct(vectorFieldName: String, vector: Expression): Expression

The dot_product function of the field vectorFieldName and vector.

fun dotProduct(vectorFieldName: String, vector: DoubleArray): Expression

The dot_product function of the field vectorFieldName and the vector vector.

Link copied to clipboard

The ends_with condition of stringExpr and suffix.

The ends_with condition of the field fieldName and suffix.

Link copied to clipboard

The equal condition of left and right.

fun equal(fieldName: String, expression: Expression): BooleanExpression

The equal condition of the field fieldName and expression.

fun equal(fieldName: String, value: Any): BooleanExpression

The equal condition of the field fieldName and value.

Link copied to clipboard
fun equalAny(expression: Expression, arrayExpression: Expression): BooleanExpression

The equal_any condition of expression and arrayExpression.

equalAny of expression and the array values.

fun equalAny(fieldName: String, arrayExpression: Expression): BooleanExpression

The equal_any condition of the field fieldName and arrayExpression.

fun equalAny(fieldName: String, values: List<Any>): BooleanExpression

equalAny of fieldName and the array values.

Link copied to clipboard

The euclidean_distance function of vector1 and vector2.

The euclidean_distance function of vector1 and the vector vector2.

fun euclideanDistance(vectorFieldName: String, vector: VectorValue): Expression
fun euclideanDistance(vectorFieldName: String, vector: Expression): Expression

The euclidean_distance function of the field vectorFieldName and vector.

fun euclideanDistance(vectorFieldName: String, vector: DoubleArray): Expression

The euclidean_distance function of the field vectorFieldName and the vector vector.

Link copied to clipboard

The exists condition of value.

The exists condition of the field fieldName.

Link copied to clipboard
fun exp(numericExpr: Expression): Expression

The exp function of numericExpr.

fun exp(numericField: String): Expression

The exp function of the field numericField.

Link copied to clipboard
fun field(fieldPath: FieldPath): Field

A reference to the field at fieldPath.

A reference to the field at the .-separated path name (__name__, __create_time__ and __update_time__ are the document's name and times).

Link copied to clipboard

The floor function of numericExpr.

fun floor(numericField: String): Expression

The floor function of the field numericField.

Link copied to clipboard

The geo_distance function of field and location. Beta in the Android SDK.

fun geoDistance(fieldName: String, location: GeoPoint): Expression

geoDistance of the field fieldName and location. Beta in the Android SDK.

Link copied to clipboard
fun getField(expression: Expression, keyExpression: Expression): Expression

The get_field function of expression and keyExpression.

The get_field function of expression and key.

fun getField(fieldName: String, keyExpression: Expression): Expression

The get_field function of the field fieldName and keyExpression.

fun getField(fieldName: String, key: String): Expression

The get_field function of the field fieldName and key.

Link copied to clipboard

The greater_than condition of left and right.

The greater_than condition of the field fieldName and expression.

The greater_than condition of the field fieldName and value.

Link copied to clipboard

The greater_than_or_equal condition of left and right.

The greater_than_or_equal condition of the field fieldName and expression.

The greater_than_or_equal condition of the field fieldName and value.

Link copied to clipboard

The if_absent function of ifExpr and elseExpr.

fun ifAbsent(ifExpr: Expression, elseValue: Any): Expression

The if_absent function of ifExpr and elseValue.

fun ifAbsent(ifFieldName: String, elseExpr: Expression): Expression

The if_absent function of the field ifFieldName and elseExpr.

fun ifAbsent(ifFieldName: String, elseValue: Any): Expression

The if_absent function of the field ifFieldName and elseValue.

Link copied to clipboard

The if_error condition of tryExpr and catchExpr.

fun ifError(tryExpr: Expression, catchExpr: Expression): Expression

The if_error function of tryExpr and catchExpr.

fun ifError(tryExpr: Expression, catchValue: Any): Expression

The if_error function of tryExpr and catchValue.

Link copied to clipboard

The if_null function of ifExpr and elseExpr.

fun ifNull(ifExpr: Expression, elseValue: Any): Expression

The if_null function of ifExpr and elseValue.

fun ifNull(ifFieldName: String, elseExpr: Expression): Expression

The if_null function of the field ifFieldName and elseExpr.

fun ifNull(ifFieldName: String, elseValue: Any): Expression

The if_null function of the field ifFieldName and elseValue.

Link copied to clipboard

The is_absent condition of value.

The is_absent condition of the field fieldName.

Link copied to clipboard

The is_error condition of expr.

Link copied to clipboard

The is_type condition of expr and type.

The is_type condition of the field fieldName and type.

Link copied to clipboard
fun join(arrayExpression: Expression, delimiterExpression: Expression): Expression

The join function of arrayExpression and delimiterExpression.

fun join(arrayExpression: Expression, delimiter: String): Expression

The join function of arrayExpression and delimiter.

fun join(arrayFieldName: String, delimiterExpression: Expression): Expression

The join function of the field arrayFieldName and delimiterExpression.

fun join(arrayFieldName: String, delimiter: String): Expression

The join function of the field arrayFieldName and delimiter.

Link copied to clipboard

The length function of expr.

The length function of the field fieldName.

Link copied to clipboard

The less_than condition of left and right.

fun lessThan(fieldName: String, expression: Expression): BooleanExpression

The less_than condition of the field fieldName and expression.

fun lessThan(fieldName: String, value: Any): BooleanExpression

The less_than condition of the field fieldName and value.

Link copied to clipboard

The less_than_or_equal condition of left and right.

The less_than_or_equal condition of the field fieldName and expression.

The less_than_or_equal condition of the field fieldName and value.

Link copied to clipboard
fun like(stringExpression: Expression, pattern: Expression): BooleanExpression
fun like(stringExpression: Expression, pattern: String): BooleanExpression

The like condition of stringExpression and pattern.

fun like(fieldName: String, pattern: Expression): BooleanExpression
fun like(fieldName: String, pattern: String): BooleanExpression

The like condition of the field fieldName and pattern.

Link copied to clipboard
fun ln(numericExpr: Expression): Expression

The ln function of numericExpr.

fun ln(numericField: String): Expression

The ln function of the field numericField.

Link copied to clipboard
fun log(numericExpr: Expression, base: Expression): Expression
fun log(numericExpr: Expression, base: Number): Expression

The log function of numericExpr and base.

fun log(numericField: String, base: Expression): Expression
fun log(numericField: String, base: Number): Expression

The log function of the field numericField and base.

Link copied to clipboard

The log10 function of numericExpr.

fun log10(numericField: String): Expression

The log10 function of the field numericField.

Link copied to clipboard
fun logicalMaximum(expr: Expression, vararg others: Any): Expression

The maximum function of expr and others.

fun logicalMaximum(fieldName: String, vararg others: Any): Expression

The maximum function of the field fieldName and others.

Link copied to clipboard
fun logicalMinimum(expr: Expression, vararg others: Any): Expression

The minimum function of expr and others.

fun logicalMinimum(fieldName: String, vararg others: Any): Expression

The minimum function of the field fieldName and others.

Link copied to clipboard
fun ltrim(stringExpression: Expression): Expression

The ltrim function of stringExpression.

fun ltrim(fieldName: String): Expression

The ltrim function of the field fieldName.

Link copied to clipboard
fun ltrimValue(stringExpression: Expression, valuesToTrim: Expression): Expression
fun ltrimValue(stringExpression: Expression, valuesToTrim: String): Expression

The ltrim function of stringExpression and valuesToTrim.

fun ltrimValue(fieldName: String, valuesToTrim: Expression): Expression
fun ltrimValue(fieldName: String, valuesToTrim: String): Expression

The ltrim function of the field fieldName and valuesToTrim.

Link copied to clipboard
fun map(elements: Map<String, Any>): Expression

map of elements.flatMap { listOf(constant(it.key), toExprOrConstant(it.value)) }.toTypedArray().

Link copied to clipboard

The map_entries function of mapExpr.

The map_entries function of the field mapField.

Link copied to clipboard
fun mapGet(mapExpression: Expression, keyExpression: Expression): Expression

The map_get function of mapExpression and keyExpression.

fun mapGet(mapExpression: Expression, key: String): Expression

The map_get function of mapExpression and key.

fun mapGet(fieldName: String, keyExpression: Expression): Expression

The map_get function of the field fieldName and keyExpression.

fun mapGet(fieldName: String, key: String): Expression

The map_get function of the field fieldName and key.

Link copied to clipboard

The map_keys function of mapExpr.

The map_keys function of the field mapField.

Link copied to clipboard
fun mapMerge(firstMap: Expression, secondMap: Expression, vararg otherMaps: Expression): Expression

The map_merge function of firstMap, secondMap and otherMaps.

fun mapMerge(firstMapFieldName: String, secondMap: Expression, vararg otherMaps: Expression): Expression

The map_merge function of the field firstMapFieldName, secondMap and otherMaps.

Link copied to clipboard

The map_remove function of mapExpr and key.

The map_remove function of the field mapField and key.

Link copied to clipboard
fun mapSet(mapExpr: Expression, key: Expression, value: Expression, vararg moreKeyValues: Expression): Expression
fun mapSet(mapExpr: Expression, key: String, value: Any?, vararg moreKeyValues: Any): Expression

The map_set function of mapExpr, key, value and moreKeyValues.

fun mapSet(mapField: String, key: Expression, value: Expression, vararg moreKeyValues: Expression): Expression
fun mapSet(mapField: String, key: String, value: Any?, vararg moreKeyValues: Any): Expression

The map_set function of the field mapField, key, value and moreKeyValues.

Link copied to clipboard

The map_values function of mapExpr.

The map_values function of the field mapField.

Link copied to clipboard
fun mod(dividend: Expression, divisor: Expression): Expression
fun mod(dividend: Expression, divisor: Number): Expression

The mod function of dividend and divisor.

fun mod(dividendFieldName: String, divisor: Expression): Expression
fun mod(dividendFieldName: String, divisor: Number): Expression

The mod function of the field dividendFieldName and divisor.

Link copied to clipboard

The multiply function of first and second.

fun multiply(numericFieldName: String, second: Expression): Expression
fun multiply(numericFieldName: String, second: Number): Expression

The multiply function of the field numericFieldName and second.

Link copied to clipboard

The nor condition of condition and conditions.

Link copied to clipboard

The not condition of condition.

Link copied to clipboard

The not_equal condition of left and right.

fun notEqual(fieldName: String, expression: Expression): BooleanExpression

The not_equal condition of the field fieldName and expression.

fun notEqual(fieldName: String, value: Any): BooleanExpression

The not_equal condition of the field fieldName and value.

Link copied to clipboard
fun notEqualAny(expression: Expression, arrayExpression: Expression): BooleanExpression

The not_equal_any condition of expression and arrayExpression.

notEqualAny of expression and the array values.

fun notEqualAny(fieldName: String, arrayExpression: Expression): BooleanExpression

The not_equal_any condition of the field fieldName and arrayExpression.

notEqualAny of fieldName and the array values.

Link copied to clipboard

The constant null.

Link copied to clipboard

The or condition of condition and conditions.

Link copied to clipboard
Link copied to clipboard
fun pow(numericExpr: Expression, exponent: Expression): Expression
fun pow(numericExpr: Expression, exponent: Number): Expression

The pow function of numericExpr and exponent.

fun pow(numericField: String, exponent: Expression): Expression
fun pow(numericField: String, exponent: Number): Expression

The pow function of the field numericField and exponent.

Link copied to clipboard

The rand function.

Link copied to clipboard

The backend function name of expr.

Link copied to clipboard
fun regexContains(stringExpression: Expression, pattern: String): BooleanExpression

The regex_contains condition of stringExpression and pattern.

The regex_contains condition of the field fieldName and pattern.

Link copied to clipboard
fun regexFind(stringExpression: Expression, pattern: Expression): Expression
fun regexFind(stringExpression: Expression, pattern: String): Expression

The regex_find function of stringExpression and pattern.

fun regexFind(fieldName: String, pattern: Expression): Expression
fun regexFind(fieldName: String, pattern: String): Expression

The regex_find function of the field fieldName and pattern.

Link copied to clipboard
fun regexFindAll(stringExpression: Expression, pattern: Expression): Expression
fun regexFindAll(stringExpression: Expression, pattern: String): Expression

The regex_find_all function of stringExpression and pattern.

fun regexFindAll(fieldName: String, pattern: String): Expression

The regex_find_all function of the field fieldName and pattern.

Link copied to clipboard
fun regexMatch(stringExpression: Expression, pattern: Expression): BooleanExpression
fun regexMatch(stringExpression: Expression, pattern: String): BooleanExpression

The regex_match condition of stringExpression and pattern.

The regex_match condition of the field fieldName and pattern.

Link copied to clipboard
fun reverse(stringExpression: Expression): Expression

The reverse function of stringExpression.

The reverse function of the field fieldName.

Link copied to clipboard

The round function of numericExpr.

fun round(numericField: String): Expression

The round function of the field numericField.

Link copied to clipboard
fun roundToPrecision(numericExpr: Expression, decimalPlace: Expression): Expression
fun roundToPrecision(numericExpr: Expression, decimalPlace: Int): Expression

The round function of numericExpr and decimalPlace.

fun roundToPrecision(numericField: String, decimalPlace: Expression): Expression
fun roundToPrecision(numericField: String, decimalPlace: Int): Expression

The round function of the field numericField and decimalPlace.

Link copied to clipboard
fun rtrim(stringExpression: Expression): Expression

The rtrim function of stringExpression.

fun rtrim(fieldName: String): Expression

The rtrim function of the field fieldName.

Link copied to clipboard
fun rtrimValue(stringExpression: Expression, valuesToTrim: Expression): Expression
fun rtrimValue(stringExpression: Expression, valuesToTrim: String): Expression

The rtrim function of stringExpression and valuesToTrim.

fun rtrimValue(fieldName: String, valuesToTrim: Expression): Expression
fun rtrimValue(fieldName: String, valuesToTrim: String): Expression

The rtrim function of the field fieldName and valuesToTrim.

Link copied to clipboard

The score function. Beta in the Android SDK.

Link copied to clipboard
fun split(value: Expression, delimiter: Blob): Expression
fun split(value: Expression, delimiter: String): Expression

The split function of value and delimiter.

fun split(fieldName: String, delimiter: Blob): Expression
fun split(fieldName: String, delimiter: Expression): Expression
fun split(fieldName: String, delimiter: String): Expression

The split function of the field fieldName and delimiter.

Link copied to clipboard
fun sqrt(numericExpr: Expression): Expression

The sqrt function of numericExpr.

fun sqrt(numericField: String): Expression

The sqrt function of the field numericField.

Link copied to clipboard

The starts_with condition of stringExpr and prefix.

The starts_with condition of the field fieldName and prefix.

Link copied to clipboard
fun stringConcat(firstString: Expression, vararg otherStrings: Expression): Expression
fun stringConcat(firstString: Expression, vararg otherStrings: Any): Expression

The string_concat function of firstString and otherStrings.

fun stringConcat(fieldName: String, vararg otherStrings: Expression): Expression
fun stringConcat(fieldName: String, vararg otherStrings: Any): Expression

The string_concat function of the field fieldName and otherStrings.

Link copied to clipboard
fun stringContains(stringExpression: Expression, substring: Expression): BooleanExpression
fun stringContains(stringExpression: Expression, substring: String): BooleanExpression

The string_contains condition of stringExpression and substring.

The string_contains condition of the field fieldName and substring.

Link copied to clipboard
fun stringIndexOf(stringExpression: Expression, substring: Expression): Expression
fun stringIndexOf(stringExpression: Expression, substring: String): Expression

The string_index_of function of stringExpression and substring.

fun stringIndexOf(fieldName: String, substring: Expression): Expression
fun stringIndexOf(fieldName: String, substring: String): Expression

The string_index_of function of the field fieldName and substring.

Link copied to clipboard
fun stringRepeat(stringExpression: Expression, count: Expression): Expression
fun stringRepeat(stringExpression: Expression, count: Int): Expression

The string_repeat function of stringExpression and count.

fun stringRepeat(fieldName: String, count: Int): Expression

The string_repeat function of the field fieldName and count.

Link copied to clipboard
fun stringReplaceAll(stringExpression: Expression, oldValue: Expression, newValue: Expression): Expression
fun stringReplaceAll(stringExpression: Expression, oldValue: String, newValue: String): Expression

The string_replace_all function of stringExpression, oldValue and newValue.

fun stringReplaceAll(fieldName: String, oldValue: Expression, newValue: Expression): Expression
fun stringReplaceAll(fieldName: String, oldValue: String, newValue: String): Expression

The string_replace_all function of the field fieldName, oldValue and newValue.

Link copied to clipboard
fun stringReplaceOne(stringExpression: Expression, oldValue: Expression, newValue: Expression): Expression
fun stringReplaceOne(stringExpression: Expression, oldValue: String, newValue: String): Expression

The string_replace_one function of stringExpression, oldValue and newValue.

fun stringReplaceOne(fieldName: String, oldValue: Expression, newValue: Expression): Expression
fun stringReplaceOne(fieldName: String, oldValue: String, newValue: String): Expression

The string_replace_one function of the field fieldName, oldValue and newValue.

Link copied to clipboard

The string_reverse function of str.

The string_reverse function of the field fieldName.

Link copied to clipboard
fun substring(stringExpression: Expression, index: Expression, length: Expression): Expression

The substring function of stringExpression, index and length.

fun substring(fieldName: String, index: Int, length: Int): Expression

The substring function of the field fieldName, index and length.

Link copied to clipboard
fun subtract(minuend: Expression, subtrahend: Expression): Expression
fun subtract(minuend: Expression, subtrahend: Number): Expression

The subtract function of minuend and subtrahend.

fun subtract(numericFieldName: String, subtrahend: Expression): Expression
fun subtract(numericFieldName: String, subtrahend: Number): Expression

The subtract function of the field numericFieldName and subtrahend.

Link copied to clipboard
fun switchOn(condition: BooleanExpression, result: Any, vararg others: Any): Expression

The switch_on function of condition, result and others.

Link copied to clipboard
fun timestampAdd(timestamp: Expression, unit: String, amount: Long): Expression

The timestamp_add function of timestamp, unit and amount.

fun timestampAdd(fieldName: String, unit: Expression, amount: Expression): Expression
fun timestampAdd(fieldName: String, unit: String, amount: Long): Expression

The timestamp_add function of the field fieldName, unit and amount.

Link copied to clipboard

The timestamp_diff function of end, start and unit.

fun timestampDiff(end: Expression, startFieldName: String, unit: String): Expression
fun timestampDiff(endFieldName: String, start: Expression, unit: String): Expression
fun timestampDiff(endFieldName: String, startFieldName: String, unit: String): Expression

timestampDiff of the field endFieldName, the field startFieldName and unit.

Link copied to clipboard
Link copied to clipboard
fun timestampSubtract(timestamp: Expression, unit: String, amount: Long): Expression

The timestamp_subtract function of timestamp, unit and amount.

fun timestampSubtract(fieldName: String, unit: String, amount: Long): Expression

The timestamp_subtract function of the field fieldName, unit and amount.

Link copied to clipboard

The timestamp_to_unix_micros function of expr.

The timestamp_to_unix_micros function of the field fieldName.

Link copied to clipboard

The timestamp_to_unix_millis function of expr.

The timestamp_to_unix_millis function of the field fieldName.

Link copied to clipboard

The timestamp_to_unix_seconds function of expr.

The timestamp_to_unix_seconds function of the field fieldName.

Link copied to clipboard
fun timestampTruncate(timestamp: Expression, granularity: String): Expression

The timestamp_trunc function of timestamp and granularity.

fun timestampTruncate(fieldName: String, granularity: Expression): Expression
fun timestampTruncate(fieldName: String, granularity: String): Expression

The timestamp_trunc function of the field fieldName and granularity.

Link copied to clipboard
fun timestampTruncateWithTimezone(timestamp: Expression, granularity: String, timezone: String): Expression

The timestamp_trunc function of timestamp, granularity and timezone.

fun timestampTruncateWithTimezone(fieldName: String, granularity: Expression, timezone: String): Expression
fun timestampTruncateWithTimezone(fieldName: String, granularity: String, timezone: Expression): Expression
fun timestampTruncateWithTimezone(fieldName: String, granularity: String, timezone: String): Expression

The timestamp_trunc function of the field fieldName, granularity and timezone.

Link copied to clipboard
fun toLower(stringExpression: Expression): Expression

The to_lower function of stringExpression.

The to_lower function of the field fieldName.

Link copied to clipboard
fun toUpper(stringExpression: Expression): Expression

The to_upper function of stringExpression.

The to_upper function of the field fieldName.

Link copied to clipboard
fun trim(stringExpression: Expression): Expression

The trim function of stringExpression.

fun trim(fieldName: String): Expression

The trim function of the field fieldName.

Link copied to clipboard
fun trimValue(stringExpression: Expression, valueToTrim: Expression): Expression

The trim function of stringExpression and valueToTrim.

fun trimValue(fieldName: String, valueToTrim: String): Expression

The trim function of the field fieldName and valueToTrim.

Link copied to clipboard

The trunc function of numericExpr.

fun trunc(numericField: String): Expression

The trunc function of the field numericField.

Link copied to clipboard
fun truncToPrecision(numericExpr: Expression, decimalPlace: Expression): Expression
fun truncToPrecision(numericExpr: Expression, decimalPlace: Int): Expression

The trunc function of numericExpr and decimalPlace.

fun truncToPrecision(numericField: String, decimalPlace: Expression): Expression
fun truncToPrecision(numericField: String, decimalPlace: Int): Expression

The trunc function of the field numericField and decimalPlace.

Link copied to clipboard

The type function of expr.

fun type(fieldName: String): Expression

The type function of the field fieldName.

Link copied to clipboard

The unix_micros_to_timestamp function of expr.

The unix_micros_to_timestamp function of the field fieldName.

Link copied to clipboard

The unix_millis_to_timestamp function of expr.

The unix_millis_to_timestamp function of the field fieldName.

Link copied to clipboard

The unix_seconds_to_timestamp function of expr.

The unix_seconds_to_timestamp function of the field fieldName.

Link copied to clipboard

A reference to the variable name, bound by the define stage or by arrayFilter and arrayTransform.

Link copied to clipboard

The constant vector vector.

A constant vector of vector.

Link copied to clipboard

The vector_length function of vectorExpression.

The vector_length function of the field fieldName.

Link copied to clipboard

The xor condition of condition and conditions.