public class SimpleIndexUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
CASE_SENSITIVE_INDEX_FILE_NAMES |
| Constructor and Description |
|---|
SimpleIndexUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.teiid.internal.core.index.Index[] |
getIndexes(String indexName,
org.teiid.internal.core.index.Index[] indexes)
Return an array of indexes given a indexName.
|
static org.teiid.core.index.IEntryResult[] |
queryIndex(org.teiid.internal.core.index.Index[] indexes,
char[] pattern,
boolean isPrefix,
boolean isCaseSensitive,
boolean returnFirstMatch)
Return all index file records that match the specified record prefix
or pattern.
|
public static final boolean CASE_SENSITIVE_INDEX_FILE_NAMES
public static org.teiid.core.index.IEntryResult[] queryIndex(org.teiid.internal.core.index.Index[] indexes,
char[] pattern,
boolean isPrefix,
boolean isCaseSensitive,
boolean returnFirstMatch)
throws org.teiid.core.TeiidException
monitor - an optional ProgressMonitorindexes - the array of MtkIndex instances to querypattern - MetamatrixCoreExceptionorg.teiid.core.TeiidExceptionpublic static org.teiid.internal.core.index.Index[] getIndexes(String indexName, org.teiid.internal.core.index.Index[] indexes)
indexName - The shortName of the index fileselector - The indexSelector to lookup indexesMetamatrixCoreException - If there is an error looking up indexesCopyright © 2012 JBoss by Red Hat. All Rights Reserved.