CollatorBuilder

Builder for Collator expression.

class CollatorBuilder : Expression.Builder

Constructors

CollatorBuilder
Link copied to clipboard
fun CollatorBuilder()

Functions

build
Link copied to clipboard

Build the Collator expression.

open override fun build(): Expression
caseSensitive
Link copied to clipboard

Set the case-sensitive option, default to false.

fun caseSensitive(caseSensitive: Expression): Expression.CollatorBuilder
fun caseSensitive(caseSensitive: Boolean): Expression.CollatorBuilder
fun caseSensitive(block: Expression.ExpressionBuilder.() -> Unit): Expression.CollatorBuilder
diacriticSensitive
Link copied to clipboard

Set the diacritic-sensitive option, default to false.

fun diacriticSensitive(diacriticSensitive: Expression): Expression.CollatorBuilder
fun diacriticSensitive(diacriticSensitive: Boolean): Expression.CollatorBuilder

Set the diacritic-sensitive option, default to false.

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

Set the locale option.

fun locale(locale: Expression): Expression.CollatorBuilder
fun locale(locale: Locale): Expression.CollatorBuilder
fun locale(block: Expression.ExpressionBuilder.() -> Unit): Expression.CollatorBuilder
fun locale(locale: String): Expression.CollatorBuilder
toString
Link copied to clipboard
open override fun toString(): String