# Package-level declarations

## Types

AbsFunction
Link copied to clipboard
class AbsFunction<T : Number?>(expression: ExpressionWithColumnType<T>) : CustomFunction<T>

Returns the absolute value of a number

ACosFunction
Link copied to clipboard
class ACosFunction<T : Number?>(expression: ExpressionWithColumnType<T>) : CustomFunction<BigDecimal?>

Returns the arc cosine of a number

ASinFunction
Link copied to clipboard
class ASinFunction<T : Number?>(expression: ExpressionWithColumnType<T>) : CustomFunction<BigDecimal?>

Returns the arc sine of a number

ATanFunction
Link copied to clipboard
class ATanFunction<T : Number?>(expression: ExpressionWithColumnType<T>) : CustomFunction<BigDecimal?>

Returns the arc tangent of a number

CeilingFunction
Link copied to clipboard
class CeilingFunction<T : Number?>(expression: ExpressionWithColumnType<T>) : CustomFunction<Long?>

Returns the smallest integer value that is >= a number

CosFunction
Link copied to clipboard
class CosFunction<T : Number?>(expression: ExpressionWithColumnType<T>) : CustomFunction<BigDecimal?>

Returns the cosine of a number

CotFunction
Link copied to clipboard
class CotFunction<T : Number?>(expression: ExpressionWithColumnType<T>) : CustomFunction<BigDecimal?>

Returns the cotangent of a number

DegreesFunction
Link copied to clipboard
class DegreesFunction<T : Number?>(expression: ExpressionWithColumnType<T>) : CustomFunction<BigDecimal?>

Convert a radian value into degrees:

ExpFunction
Link copied to clipboard
class ExpFunction<T : Number?>(expression: ExpressionWithColumnType<T>) : CustomFunction<BigDecimal?>

Returns e raised to the power of a specified number

FloorFunction
Link copied to clipboard
class FloorFunction<T : Number?>(expression: ExpressionWithColumnType<T>) : CustomFunction<Long?>

Returns the largest integer value that is <= to a number

PiFunction
Link copied to clipboard
object PiFunction : CustomFunction<BigDecimal>

Returns the value of PI

PowerFunction
Link copied to clipboard
class PowerFunction<B : Number?, E : Number?>(base: ExpressionWithColumnType<B>, exponent: Expression<E>, precision: Int = MathContext.DECIMAL64.precision, scale: Int = 10) : CustomFunction<BigDecimal?>

Returns the value of a number raised to the power of another number

RadiansFunction
Link copied to clipboard
class RadiansFunction<T : Number?>(expression: ExpressionWithColumnType<T>) : CustomFunction<BigDecimal?>

Convert a radian value into degrees:

RoundFunction
Link copied to clipboard
class RoundFunction<T : Number?>(expression: ExpressionWithColumnType<T>, scale: Int) : CustomFunction<BigDecimal?>

Rounds a number to a specified number of decimal places

SignFunction
Link copied to clipboard
class SignFunction<T : Number?>(expression: ExpressionWithColumnType<T>) : CustomFunction<Int?>

Returns the sign of a number: -1 - negative number 0 - number is 0 1 - positive number

SinFunction
Link copied to clipboard
class SinFunction<T : Number?>(expression: ExpressionWithColumnType<T>) : CustomFunction<BigDecimal?>

Returns the sine of a number

SqrtFunction
Link copied to clipboard
class SqrtFunction<T : Number?>(expression: ExpressionWithColumnType<T>) : CustomFunction<BigDecimal?>

Returns the square root of a number

TanFunction
Link copied to clipboard
class TanFunction<T : Number?>(expression: ExpressionWithColumnType<T>) : CustomFunction<BigDecimal?>

Returns the tangent of a number