FtsOptions

public class FtsOptions
extends Object

java.lang.Object
   ↳ androidx.room.FtsOptions


Available option values that can be used with Fts3 & Fts4.

Summary

Nested classes

enum FtsOptions.MatchInfo

 

enum FtsOptions.Order

 

Constants

String TOKENIZER_ICU

The name of a tokenizer implemented by the ICU library.

String TOKENIZER_PORTER

The name of the tokenizer based on the Porter Stemming Algorithm.

String TOKENIZER_SIMPLE

The name of the default tokenizer used on FTS tables.

String TOKENIZER_UNICODE61

The name of the tokenizer that extends the TOKENIZER_SIMPLE tokenizer according to rules in Unicode Version 6.1.

Inherited methods

Constants

TOKENIZER_ICU

public static final String TOKENIZER_ICU

The name of a tokenizer implemented by the ICU library.

Not available in certain Android builds (e.g. vendor).

Constant Value: "icu"

TOKENIZER_PORTER

public static final String TOKENIZER_PORTER

The name of the tokenizer based on the Porter Stemming Algorithm.

Constant Value: "porter"

TOKENIZER_SIMPLE

public static final String TOKENIZER_SIMPLE

The name of the default tokenizer used on FTS tables.

Constant Value: "simple"

TOKENIZER_UNICODE61

public static final String TOKENIZER_UNICODE61

The name of the tokenizer that extends the TOKENIZER_SIMPLE tokenizer according to rules in Unicode Version 6.1.

Constant Value: "unicode61"