|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.soda.DotExpressionItem
public class DotExpressionItem
Dot-expresson item is for use in "(inner_expression).dot_expression".
Each item represent an individual chain item and may either be a method name with method parameters, or a (nested) property name typically with an empty list of parameters or for mapped properties a non-empty list of parameters.
Constructor Summary | |
---|---|
DotExpressionItem()
Ctor. |
|
DotExpressionItem(java.lang.String name,
java.util.List<Expression> parameters,
boolean isProperty)
Ctor. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns method name or nested property name. |
java.util.List<Expression> |
getParameters()
Returns method parameters or parameters for mapped properties or empty list if this item represents a simple nested property. |
boolean |
isProperty()
Returns true if this dot-item is a property name. |
protected static void |
render(java.util.List<DotExpressionItem> chain,
java.io.StringWriter writer,
boolean prefixDot)
Render to EPL. |
void |
setName(java.lang.String name)
Sets the method name or nested property name. |
void |
setParameters(java.util.List<Expression> parameters)
Sets method parameters or parameters for mapped properties or empty list if this item represents a simple nested property. |
void |
setProperty(boolean property)
Set to true if this dot-item is a property name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DotExpressionItem()
public DotExpressionItem(java.lang.String name, java.util.List<Expression> parameters, boolean isProperty)
name
- the property (or nested property) or method nameparameters
- are optional and should only be provided if this chain item is a method;
Parameters are expressions for parameters to the method (use only for methods and not for properties unless mapped property).isProperty
- true if this is a nested property nameMethod Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- method name or nested property name to setpublic java.util.List<Expression> getParameters()
public void setParameters(java.util.List<Expression> parameters)
parameters
- expressions to setpublic boolean isProperty()
public void setProperty(boolean property)
property
- true for property, false for methodprotected static void render(java.util.List<DotExpressionItem> chain, java.io.StringWriter writer, boolean prefixDot)
chain
- chain to renderwriter
- writer to output toprefixDot
- indicator whether to prefix with "."
|
© 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 |