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
Set the case-sensitive option, default to false.
fun caseSensitive(caseSensitive: Boolean = false): Expression.CollatorBuilder
Set the case-sensitive option, default to false.
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
Set the diacritic-sensitive option, default to false.
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
Set the locale option.
fun locale(locale: Locale): Expression.CollatorBuilder
Set the locale option.
fun locale(block: Expression.ExpressionBuilder.() -> Unit): Expression.CollatorBuilder
Set the locale option.
fun locale(locale: String): Expression.CollatorBuilder
Set the locale option.