|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.type.PrimitiveValueBase
com.espertech.esper.type.StringValue
public final class StringValue
Placeholder for a String value in an event expression.
Constructor Summary | |
---|---|
StringValue()
Constructor. |
|
StringValue(java.lang.String stringValue)
Constructor. |
Method Summary | |
---|---|
PrimitiveValueType |
getType()
Returns the type of primitive value this instance represents. |
java.lang.Object |
getValueObject()
Returns a value object. |
void |
parse(java.lang.String value)
Parse the string literal value into the specific data type. |
static java.lang.String |
parseString(java.lang.String value)
Parse the string literal consisting of text between double-quotes or single-quotes. |
static java.lang.String[] |
parseString(java.lang.String[] values)
Parse the string array returning a string array. |
void |
setString(java.lang.String x)
Set a string value. |
java.lang.String |
toString()
|
Methods inherited from class com.espertech.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(java.lang.String stringValue)
stringValue
- sets initial valuepublic StringValue()
Method Detail |
---|
public PrimitiveValueType getType()
PrimitiveValue
public static java.lang.String[] parseString(java.lang.String[] values)
values
- - string array
public final void parse(java.lang.String value)
PrimitiveValue
value
- is the textual value to parsepublic final java.lang.Object getValueObject()
PrimitiveValue
public final void setString(java.lang.String x)
PrimitiveValue
setString
in interface PrimitiveValue
setString
in class PrimitiveValueBase
x
- is the value to setpublic final java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String parseString(java.lang.String value)
value
- is the text wthin double or single quotes
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |