|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.type.PrimitiveValueBase
net.esper.type.StringValue
public final class StringValue
Placeholder for a String value in an event expression.
Constructor Summary | |
---|---|
StringValue()
Constructor. |
|
StringValue(String stringValue)
Constructor. |
Method Summary | |
---|---|
PrimitiveValueType |
getType()
Returns the type of primitive value this instance represents. |
Object |
getValueObject()
Returns a value object. |
void |
parse(String value)
Parse the string literal value into the specific data type. |
static String |
parseString(String value)
Parse the string literal consisting of text between double-quotes or single-quotes. |
static String[] |
parseString(String[] values)
Parse the string array returning a string array. |
void |
setString(String x)
Set a string value. |
String |
toString()
|
Methods inherited from class net.esper.type.PrimitiveValueBase |
---|
parse, setBoolean, setByte, setDouble, setFloat, setInt, setLong, setShort |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringValue(String stringValue)
stringValue
- sets initial valuepublic StringValue()
Method Detail |
---|
public PrimitiveValueType getType()
PrimitiveValue
public static String[] parseString(String[] values)
values
- - string array
public final void parse(String value)
PrimitiveValue
value
- is the textual value to parsepublic final Object getValueObject()
PrimitiveValue
public final void setString(String x)
PrimitiveValue
setString
in interface PrimitiveValue
setString
in class PrimitiveValueBase
x
- is the value to setpublic final String toString()
toString
in class Object
public static String parseString(String value)
value
- is the text wthin double or single quotes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |