net.esper.eql.spec
Class StatementSpecMapContext

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

public class StatementSpecMapContext
extends Object

Context for mapping a SODA statement to a statement specification, or multiple for subqueries, and obtaining certain optimization information from a statement.


Constructor Summary
StatementSpecMapContext(EngineImportService engineImportService, VariableService variableService)
          Ctor.
 
Method Summary
 EngineImportService getEngineImportService()
          Returns the engine import service.
 VariableService getVariableService()
          Returns the variable service.
 boolean isHasVariables()
          Returns true if a statement has variables.
 void setHasVariables(boolean hasVariables)
          Set to true to indicate that a statement has variables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatementSpecMapContext

public StatementSpecMapContext(EngineImportService engineImportService,
                               VariableService variableService)
Ctor.

Parameters:
engineImportService - engine imports
variableService - variable names
Method Detail

getEngineImportService

public EngineImportService getEngineImportService()
Returns the engine import service.

Returns:
service

getVariableService

public VariableService getVariableService()
Returns the variable service.

Returns:
service

isHasVariables

public boolean isHasVariables()
Returns true if a statement has variables.

Returns:
true for variables found

setHasVariables

public void setHasVariables(boolean hasVariables)
Set to true to indicate that a statement has variables.

Parameters:
hasVariables - true for variables, false for none

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com