AliasedExpression

An expression with an alias, the name of its value in the output documents; created with Expression.alias.

Functions

Link copied to clipboard

The abs function of this expression.

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

The add function of this expression and second.

Link copied to clipboard

This expression under the alias alias: its name in the output documents.

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

The array_concat function of this expression, secondArray and otherArrays.

Link copied to clipboard

The array_contains condition of this expression and element.

Link copied to clipboard

The array_contains_all condition of this expression and arrayExpression.

arrayContainsAll of this expression and the array values.

Link copied to clipboard

The array_contains_any condition of this expression and arrayExpression.

The array_contains_any condition of this expression and the array values.

Link copied to clipboard

The array_filter function of this expression, alias and filter.

Link copied to clipboard

The array_first function of this expression.

Link copied to clipboard

The array_first_n function of this expression and n.

Link copied to clipboard
fun arrayGet(offset: Int): Expression

The array_get function of this expression and offset.

Link copied to clipboard

The array_index_of function of this expression, value and "first".

Link copied to clipboard

The array_index_of_all function of this expression and value.

Link copied to clipboard

The array_last function of this expression.

Link copied to clipboard

The array_index_of function of this expression, value and "last".

Link copied to clipboard

The array_last_n function of this expression and n.

Link copied to clipboard

The array_length function of this expression.

Link copied to clipboard

The maximum function of this expression.

Link copied to clipboard

The maximum_n function of this expression and n.

Link copied to clipboard

The minimum function of this expression.

Link copied to clipboard

The minimum_n function of this expression and n.

Link copied to clipboard

The array_reverse function of this expression.

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

The array_slice function of this expression, offset and length.

Link copied to clipboard

The array_slice function of this expression and offset.

Link copied to clipboard

The sum function of this expression.

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

The array_transform function of this expression, elementAlias and transform.

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

The array_transform function of this expression, elementAlias, indexAlias and transform.

Link copied to clipboard

This expression as a condition: unchanged if it is one, otherwise evaluated as a boolean.

Link copied to clipboard

Ordering.ascending of this expression.

Link copied to clipboard
Link copied to clipboard
fun bitAnd(bitsOther: Expression): Expression
fun bitAnd(bitsOther: ByteArray): Expression

The bit_and function of this expression and bitsOther.

Link copied to clipboard

The bit_left_shift function of this expression and numberExpr.

The bit_left_shift function of this expression and number.

Link copied to clipboard

The bit_not function of this expression.

Link copied to clipboard
fun bitOr(bitsOther: Expression): Expression
fun bitOr(bitsOther: ByteArray): Expression

The bit_or function of this expression and bitsOther.

Link copied to clipboard

The bit_right_shift function of this expression and numberExpr.

The bit_right_shift function of this expression and number.

Link copied to clipboard
fun bitXor(bitsOther: Expression): Expression
fun bitXor(bitsOther: ByteArray): Expression

The bit_xor function of this expression and bitsOther.

Link copied to clipboard

The byte_length function of this expression.

Link copied to clipboard

The ceil function of this expression.

Link copied to clipboard

The char_length function of this expression.

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

The coalesce function of this expression, replacement and others.

Link copied to clipboard

The collection_id function of this expression.

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

The concat function of this expression, second and others.

Link copied to clipboard

The cosine_distance function of this expression and vector.

The cosine_distance function of this expression and the vector vector.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Ordering.descending of this expression.

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

The divide function of this expression and divisor.

Link copied to clipboard

The document_id function of this expression.

Link copied to clipboard

The dot_product function of this expression and vector.

The dot_product function of this expression and the vector vector.

Link copied to clipboard

The ends_with condition of this expression and suffix.

Link copied to clipboard

The equal condition of this expression and other.

The equal condition of this expression and value.

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

The equal_any condition of this expression and arrayExpression.

equalAny of this expression and the array values.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard

The euclidean_distance function of this expression and vector.

The euclidean_distance function of this expression and the vector vector.

Link copied to clipboard

The exists condition of this expression.

Link copied to clipboard

The exp function of this expression.

Link copied to clipboard
Link copied to clipboard

The floor function of this expression.

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

The get_field function of this expression and keyExpression.

The get_field function of this expression and key.

Link copied to clipboard

The greater_than condition of this expression and other.

The greater_than condition of this expression and value.

Link copied to clipboard

The greater_than_or_equal condition of this expression and other.

The greater_than_or_equal condition of this expression and value.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

The if_absent function of this expression and elseExpr.

fun ifAbsent(elseValue: Any): Expression

The if_absent function of this expression and elseValue.

Link copied to clipboard
fun ifError(catchExpr: Expression): Expression

The if_error function of this expression and catchExpr.

fun ifError(catchValue: Any): Expression

The if_error function of this expression and catchValue.

Link copied to clipboard
fun ifNull(elseExpression: Expression): Expression

The if_null function of this expression and elseExpression.

fun ifNull(elseValue: Any): Expression

The if_null function of this expression and elseValue.

Link copied to clipboard

The is_absent condition of this expression.

Link copied to clipboard

The is_error condition of this expression.

Link copied to clipboard

The is_type condition of this expression and type.

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

The join function of this expression and delimiterExpression.

fun join(delimiter: String): Expression

The join function of this expression and delimiter.

Link copied to clipboard
Link copied to clipboard

The length function of this expression.

Link copied to clipboard

The less_than condition of this expression and other.

The less_than condition of this expression and value.

Link copied to clipboard

The less_than_or_equal condition of this expression and other.

The less_than_or_equal condition of this expression and value.

Link copied to clipboard

The like condition of this expression and pattern.

Link copied to clipboard
fun ln(): Expression

The ln function of this expression.

Link copied to clipboard

The log10 function of this expression.

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

logicalMaximum of this expression and others.

fun logicalMaximum(vararg others: Any): Expression

The maximum function of this expression and others.

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

logicalMinimum of this expression and others.

fun logicalMinimum(vararg others: Any): Expression

The minimum function of this expression and others.

Link copied to clipboard

The ltrim function of this expression.

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

The ltrim function of this expression and valuesToTrim.

Link copied to clipboard

The map_entries function of this expression.

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

The map_get function of this expression and keyExpression.

The map_get function of this expression and key.

Link copied to clipboard

The map_keys function of this expression.

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

The map_merge function of this expression, mapExpr and otherMaps.

Link copied to clipboard
fun mapRemove(keyExpression: Expression): Expression

The map_remove function of this expression and keyExpression.

The map_remove function of this expression and key.

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

The map_set function of this expression, key, value and moreKeyValues.

Link copied to clipboard

The map_values function of this expression.

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

The mod function of this expression and divisor.

Link copied to clipboard
fun multiply(second: Number): Expression

The multiply function of this expression and second.

Link copied to clipboard

The not_equal condition of this expression and other.

The not_equal condition of this expression and value.

Link copied to clipboard

The not_equal_any condition of this expression and arrayExpression.

notEqualAny of this expression and the array values.

Link copied to clipboard

The parent function of this expression.

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

The pow function of this expression and exponent.

Link copied to clipboard

The regex_contains condition of this expression and pattern.

Link copied to clipboard

The regex_match condition of this expression and pattern.

Link copied to clipboard

The reverse function of this expression.

Link copied to clipboard

The round function of this expression.

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

The round function of this expression and decimalPlace.

Link copied to clipboard

The rtrim function of this expression.

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

The rtrim function of this expression and valuesToTrim.

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

The split function of this expression and delimiter.

Link copied to clipboard

The sqrt function of this expression.

Link copied to clipboard

The starts_with condition of this expression and prefix.

Link copied to clipboard
fun stringConcat(vararg stringExpressions: Expression): Expression

The string_concat function of this expression and stringExpressions.

fun stringConcat(vararg strings: Any): Expression

The string_concat function of this expression and strings.

fun stringConcat(vararg strings: String): Expression

stringConcat of this expression and strings.

Link copied to clipboard

The string_contains condition of this expression and substring.

Link copied to clipboard

The string_index_of function of this expression and substring.

Link copied to clipboard

The string_repeat function of this expression and count.

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

The string_replace_all function of this expression, oldValue and newValue.

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

The string_replace_one function of this expression, oldValue and newValue.

Link copied to clipboard

The string_reverse function of this expression.

Link copied to clipboard

The substring function of this expression, start and length.

fun substring(start: Int, length: Int): Expression

The substring function of this expression, constant(start) and constant(length).

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

The subtract function of this expression and subtrahend.

Link copied to clipboard

AggregateFunction.sum of this expression.

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

The timestamp_add function of this expression, unit and amount.

Link copied to clipboard

The timestamp_diff function of this expression, start and unit.

timestampDiff of this expression, start and unit.

fun timestampDiff(startFieldName: String, unit: String): Expression

timestampDiff of this expression, the field startFieldName and unit.

Link copied to clipboard

The timestamp_extract function of this expression and part.

timestampExtract of this expression and part.

Link copied to clipboard

The timestamp_extract function of this expression, part and timezone.

timestampExtractWithTimezone of this expression, part and timezone.

Link copied to clipboard

The timestamp_subtract function of this expression, unit and amount.

Link copied to clipboard

The timestamp_to_unix_micros function of this expression.

Link copied to clipboard

The timestamp_to_unix_millis function of this expression.

Link copied to clipboard

The timestamp_to_unix_seconds function of this expression.

Link copied to clipboard

The timestamp_trunc function of this expression and granularity.

Link copied to clipboard

The timestamp_trunc function of this expression, granularity and timezone.

Link copied to clipboard

The to_lower function of this expression.

Link copied to clipboard

The to_upper function of this expression.

Link copied to clipboard

The trim function of this expression.

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

The trim function of this expression and valueToTrim.

fun trimValue(valueToTrim: String): Expression

The trim function of this expression and constant(valueToTrim).

Link copied to clipboard

The trunc function of this expression.

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

The trunc function of this expression and decimalPlace.

Link copied to clipboard

The type function of this expression.

Link copied to clipboard

The unix_micros_to_timestamp function of this expression.

Link copied to clipboard

The unix_millis_to_timestamp function of this expression.

Link copied to clipboard

The unix_seconds_to_timestamp function of this expression.

Link copied to clipboard

The vector_length function of this expression.