CollatorBuilder

class CollatorBuilder : Expression.Builder

Builder for Collator expression.

Constructors

CollatorBuilder
Link copied to clipboard
fun CollatorBuilder()

Functions

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

Build the Collator expression.

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

Set the case-sensitive option, default to false.

diacriticSensitive
Link copied to clipboard
fun diacriticSensitive(diacriticSensitive: Expression): Expression.CollatorBuilder
fun diacriticSensitive(diacriticSensitive: Boolean = false): Expression.CollatorBuilder

Set the diacritic-sensitive option, default to false.

Set the diacritic-sensitive option, default to false.

locale
Link copied to clipboard
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

Set the locale option.