|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<LQLBuilder.LQLMDEXType> com.endeca.portal.lql.LQLBuilder.LQLMDEXType
public static enum LQLBuilder.LQLMDEXType
Represents types that come from MDEX records generated by LQL.
Enum Constant Summary | |
---|---|
BOOLEAN
|
|
DATETIME
|
|
DOUBLE
|
|
DURATION
|
|
GEOCODE
|
|
INT
|
|
STRING
|
|
TIME
|
Method Summary | |
---|---|
LQLBuilder.Function |
getLQLFunction()
Returns the LQL conversion function to be used on a String typed expression (such as String literal or selecting a string attribute). |
java.lang.String |
getType()
Returns the "mdex:type" for this LQLMDEXType |
com.endeca.mdex.lql_parser.types.ExpressionBase |
makeLiteral(java.lang.String value)
Makes a literal for the mdex:type. |
static LQLBuilder.LQLMDEXType |
parseLQLMDEXType(java.lang.String value)
Create an LQLMDEXType from the string form of mdex:types returned from the engine. |
static LQLBuilder.LQLMDEXType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LQLBuilder.LQLMDEXType[] |
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 LQLBuilder.LQLMDEXType BOOLEAN
public static final LQLBuilder.LQLMDEXType DATETIME
public static final LQLBuilder.LQLMDEXType DOUBLE
public static final LQLBuilder.LQLMDEXType DURATION
public static final LQLBuilder.LQLMDEXType GEOCODE
public static final LQLBuilder.LQLMDEXType INT
public static final LQLBuilder.LQLMDEXType TIME
public static final LQLBuilder.LQLMDEXType STRING
Method Detail |
---|
public static LQLBuilder.LQLMDEXType[] values()
for (LQLBuilder.LQLMDEXType c : LQLBuilder.LQLMDEXType.values()) System.out.println(c);
public static LQLBuilder.LQLMDEXType 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 static LQLBuilder.LQLMDEXType parseLQLMDEXType(java.lang.String value)
value
- The string form of the mdex:type
public java.lang.String getType()
public LQLBuilder.Function getLQLFunction()
public com.endeca.mdex.lql_parser.types.ExpressionBase makeLiteral(java.lang.String value)
value
- the value to be converted to a literal
ExpressionBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |