lightbulb_outline Please take our October 2018 developer survey. Start survey

belongs to Maven artifact androidx.room:room-common:2.1.0-alpha01

FtsOptions.Tokenizer

public static final enum FtsOptions.Tokenizer
extends Enum<FtsOptions.Tokenizer>

java.lang.Object
   ↳ java.lang.Enum<androidx.room.FtsOptions.Tokenizer>
     ↳ androidx.room.FtsOptions.Tokenizer


Summary

Enum values

FtsOptions.Tokenizer  ICU

The name of a tokenizer implemented by the ICU library. 

FtsOptions.Tokenizer  PORTER

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

FtsOptions.Tokenizer  SIMPLE

The name of the default tokenizer used on FTS tables. 

FtsOptions.Tokenizer  UNICODE61

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

Public methods

static FtsOptions.Tokenizer valueOf(String name)
static final Tokenizer[] values()

Inherited methods

Enum values

ICU

public static final FtsOptions.Tokenizer ICU

The name of a tokenizer implemented by the ICU library.

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

PORTER

public static final FtsOptions.Tokenizer PORTER

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

SIMPLE

public static final FtsOptions.Tokenizer SIMPLE

The name of the default tokenizer used on FTS tables.

UNICODE61

public static final FtsOptions.Tokenizer UNICODE61

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

Public methods

valueOf

public static FtsOptions.Tokenizer valueOf (String name)

Parameters
name String

Returns
FtsOptions.Tokenizer

values

public static final Tokenizer[] values ()

Returns
Tokenizer[]