SearchIndexSchemaIndexSortSorterArgs

data class SearchIndexSchemaIndexSortSorterArgs(val fieldName: Output<String>? = null, val mode: Output<String>? = null, val order: Output<String>? = null, val sorterType: Output<String>? = null) : ConvertibleToJava<SearchIndexSchemaIndexSortSorterArgs>

Constructors

Link copied to clipboard
constructor(fieldName: Output<String>? = null, mode: Output<String>? = null, order: Output<String>? = null, sorterType: Output<String>? = null)

Properties

Link copied to clipboard
val fieldName: Output<String>? = null

The name of the field that is used to sort data. only required if sorter_type is FieldSort.

Link copied to clipboard
val mode: Output<String>? = null

The sorting method that is used when the field contains multiple values. valid values: Min, Max, Avg. only required if sorter_type is FieldSort.

Link copied to clipboard
val order: Output<String>? = null

The sort order. Data can be sorted in ascending(Asc) or descending(Desc) order. Default value: Asc.

Link copied to clipboard
val sorterType: Output<String>? = null

Data is sorted by Which fields or keys. valid values: PrimaryKeySort, FieldSort.

Functions

Link copied to clipboard
open override fun toJava(): SearchIndexSchemaIndexSortSorterArgs