FtsOptions


public static class FtsOptions


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

Summary

Nested types

public enum FtsOptions.Detail extends Enum
public enum FtsOptions.MatchInfo extends Enum
public enum FtsOptions.Order extends Enum

Constants

static final @NonNull String

The name of the tokenizer which assumes all characters outside the ASCII codepoint range (0-127) are to be treated as token characters.

static final @NonNull String

The name of a tokenizer implemented by the ICU library.

static final @NonNull String

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

static final @NonNull String

The name of the default tokenizer used on FTS3 and FTS4 tables.

static final @NonNull String

The name of the tokenizer that implements a trigram tokenizer that indexes every three-character sequence in the input text.

static final @NonNull String

The name of the tokenizer that classifies all unicode characters as either "separator" or "token" characters according to rules in Unicode Version 6.1.

Public fields

static @NonNull FtsOptions

Constants

TOKENIZER_ASCII

Added in 3.0.0
public static final @NonNull String TOKENIZER_ASCII

The name of the tokenizer which assumes all characters outside the ASCII codepoint range (0-127) are to be treated as token characters.

TOKENIZER_ICU

Added in 3.0.0
public static final @NonNull String TOKENIZER_ICU

The name of a tokenizer implemented by the ICU library.

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

TOKENIZER_PORTER

Added in 3.0.0
public static final @NonNull String TOKENIZER_PORTER

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

TOKENIZER_SIMPLE

Added in 3.0.0
public static final @NonNull String TOKENIZER_SIMPLE

The name of the default tokenizer used on FTS3 and FTS4 tables.

TOKENIZER_TRIGRAM

Added in 3.0.0
public static final @NonNull String TOKENIZER_TRIGRAM

The name of the tokenizer that implements a trigram tokenizer that indexes every three-character sequence in the input text.

TOKENIZER_UNICODE61

Added in 3.0.0
public static final @NonNull String TOKENIZER_UNICODE61

The name of the tokenizer that classifies all unicode characters as either "separator" or "token" characters according to rules in Unicode Version 6.1.

Public fields

INSTANCE

Added in 3.0.0
public static @NonNull FtsOptions INSTANCE