public interface

EnumSearchWildcards

com.microstrategy.web.beans.EnumSearchWildcards

Class Overview

This enumeration defines commonly encountered scenarios of appending wildcards for pattern matching.

Summary

Constants
int WILDCARD_BEGINS When applied to a pattern X, this shortcut suffixes the pattern with the match any field wildcard: X*.
int WILDCARD_BEGINS_PHRASE This is added for New Search.
int WILDCARD_CONTAINS When applied to a pattern X, this shortcut prefixes and suffixes the pattern with the match any field wildcard: *X*.
int WILDCARD_CONTAINS_ANY This is added for New Search.
int WILDCARD_ENDS When applied to a pattern X, this shortcut prefixes the pattern with the match any field wildcard: *X.
int WILDCARD_EXACTLY When applied to a pattern X, this shortcut wraps the pattern in quotes: "X".

Constants

public static final int WILDCARD_BEGINS

When applied to a pattern X, this shortcut suffixes the pattern with the match any field wildcard: X*. For New Search Engine, this shortcut won't add wildcard *; It will set SearchType 2 to SearchObject instead.

Constant Value: 4 (0x00000004)

public static final int WILDCARD_BEGINS_PHRASE

This is added for New Search. When applied to a pattern X, this shortcut won't add wildcard *; It will set SearchType 3 to SearchObject instead.

Constant Value: 32 (0x00000020)

public static final int WILDCARD_CONTAINS

When applied to a pattern X, this shortcut prefixes and suffixes the pattern with the match any field wildcard: *X*.

Constant Value: 1 (0x00000001)

public static final int WILDCARD_CONTAINS_ANY

This is added for New Search. When applied to a pattern X, this shortcut won't add wildcard *; It will set SearchType 0 to SearchObject instead.

Constant Value: 16 (0x00000010)

public static final int WILDCARD_ENDS

When applied to a pattern X, this shortcut prefixes the pattern with the match any field wildcard: *X.

Constant Value: 8 (0x00000008)

public static final int WILDCARD_EXACTLY

When applied to a pattern X, this shortcut wraps the pattern in quotes: "X". For New Search Engine, this shortcut won't add wildcard *; It will set SearchType 1 to SearchObject instead.

Constant Value: 2 (0x00000002)