net.esper.eql.spec
Class StatementSpecUnMapContext

java.lang.Object
  extended by net.esper.eql.spec.StatementSpecUnMapContext

public class StatementSpecUnMapContext
extends Object

Un-mapping context for mapping from an internal specifications to an SODA object model.


Constructor Summary
StatementSpecUnMapContext()
          Ctor.
 
Method Summary
 void add(int index, SubstitutionParameterExpression subsParam)
          Adds a substitution parameters.
 void addAll(Map<Integer,SubstitutionParameterExpression> inner)
          Adds all substitution parameters.
 Map<Integer,SubstitutionParameterExpression> getIndexedParams()
          Returns all indexed parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatementSpecUnMapContext

public StatementSpecUnMapContext()
Ctor.

Method Detail

add

public void add(int index,
                SubstitutionParameterExpression subsParam)
Adds a substitution parameters.

Parameters:
index - is the index of the parameter
subsParam - is the parameter expression node

getIndexedParams

public Map<Integer,SubstitutionParameterExpression> getIndexedParams()
Returns all indexed parameters.

Returns:
map of parameter index and parameter expression node

addAll

public void addAll(Map<Integer,SubstitutionParameterExpression> inner)
Adds all substitution parameters. Checks if indexes already exists and throws an exception if they do.

Parameters:
inner - to indexes and parameters to add