|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MatchType>
mondrian.olap.MatchType
public enum MatchType
MatchType
enumerates the allowable match modes when
searching for a member based on its unique name.
Enum Constant Summary | |
---|---|
AFTER
If no exact match, return the next member |
|
BEFORE
If no exact match, return the preceding member |
|
EXACT
Match the unique name exactly |
|
EXACT_SCHEMA
Match the unique name exactly, do not query database for members |
Method Summary | |
---|---|
boolean |
isExact()
Return true if either Exact or Exact Schema value is selected. |
static MatchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MatchType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MatchType EXACT_SCHEMA
public static final MatchType EXACT
public static final MatchType BEFORE
public static final MatchType AFTER
Method Detail |
---|
public static MatchType[] values()
for (MatchType c : MatchType.values()) System.out.println(c);
public static MatchType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic boolean isExact()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |