|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.type.PrimitiveValueBase
public abstract class PrimitiveValueBase
Abstract class for literal values supplied in an event expression string and prepared expression values supplied by set methods.
Constructor Summary | |
---|---|
PrimitiveValueBase()
|
Method Summary | |
---|---|
void |
parse(java.lang.String[] values)
Parse the string literal values supplied in the array into the specific data type. |
void |
setBoolean(boolean x)
Set a boolean value. |
void |
setByte(byte x)
Set a byte value. |
void |
setDouble(double x)
Set a double value. |
void |
setFloat(float x)
Set a float value. |
void |
setInt(int x)
Set an int value. |
void |
setLong(long x)
Set a long value. |
void |
setShort(short x)
Set a short value. |
void |
setString(java.lang.String x)
Set a string value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.espertech.esper.type.PrimitiveValue |
---|
getType, getValueObject, parse |
Constructor Detail |
---|
public PrimitiveValueBase()
Method Detail |
---|
public void parse(java.lang.String[] values)
PrimitiveValue
parse
in interface PrimitiveValue
values
- are the textual values to parsepublic void setBoolean(boolean x) throws java.lang.UnsupportedOperationException
PrimitiveValue
setBoolean
in interface PrimitiveValue
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from booleanpublic void setByte(byte x) throws java.lang.UnsupportedOperationException
PrimitiveValue
setByte
in interface PrimitiveValue
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from booleanpublic void setDouble(double x) throws java.lang.UnsupportedOperationException
PrimitiveValue
setDouble
in interface PrimitiveValue
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from booleanpublic void setFloat(float x) throws java.lang.UnsupportedOperationException
PrimitiveValue
setFloat
in interface PrimitiveValue
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from booleanpublic void setInt(int x) throws java.lang.UnsupportedOperationException
PrimitiveValue
setInt
in interface PrimitiveValue
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from booleanpublic void setLong(long x) throws java.lang.UnsupportedOperationException
PrimitiveValue
setLong
in interface PrimitiveValue
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from booleanpublic void setShort(short x) throws java.lang.UnsupportedOperationException
PrimitiveValue
setShort
in interface PrimitiveValue
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from booleanpublic void setString(java.lang.String x) throws java.lang.UnsupportedOperationException
PrimitiveValue
setString
in interface PrimitiveValue
x
- is the value to set
java.lang.UnsupportedOperationException
- to indicate that the value cannot convert from boolean
|
© 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 |