queryIndex
public static IEntryResult[] queryIndex(Index[] indexes,
char[] pattern,
boolean isPrefix,
boolean isCaseSensitive,
boolean returnFirstMatch)
throws TeiidException
Return all index file records that match the specified record prefix
or pattern. The pattern can be constructed from any combination of characters
including the multiple character wildcard '*' and single character
wildcard '?'. The prefix may be constructed from any combination of
characters excluding the wildcard characters. The prefix specifies a fixed
number of characters that the index record must start with.
- Parameters:
indexes
- the array of MtkIndex instances to query
pattern
-
- Returns:
- results
- Throws:
TeiidException