streamcruncher.api
Class ParserParameters

java.lang.Object
  extended by streamcruncher.api.ParserParameters

public class ParserParameters
extends java.lang.Object

This class should be used to wrap the "Running Query" along with the name and Output Event Stream's Table definition, which should then be submitted to the Kernel for parsing.

The names and Database types of the columns that will be selected/generated by the Query must be listed in the correct order. In addition to these, the Kernel will add an Id column to this list automatically as part of the parsing exercise.


Constructor Summary
ParserParameters()
           
 
Method Summary
 java.lang.String getQuery()
           
 java.lang.String getQueryName()
           
 java.lang.String[] getResultColumnTypes()
           
 void setQuery(java.lang.String rql)
           
 void setQueryName(java.lang.String queryName)
           
 void setResultColumnTypes(java.lang.String[] resultColumnTypes)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserParameters

public ParserParameters()
Method Detail

getQueryName

public java.lang.String getQueryName()
Returns:
the queryName

setQueryName

public void setQueryName(java.lang.String queryName)
Parameters:
queryName - the queryName to set

getResultColumnTypes

public java.lang.String[] getResultColumnTypes()
Returns:
the resultColumnTypes

setResultColumnTypes

public void setResultColumnTypes(java.lang.String[] resultColumnTypes)
Parameters:
resultColumnTypes - the resultColumnTypes to set

getQuery

public java.lang.String getQuery()
Returns:
the query

setQuery

public void setQuery(java.lang.String rql)
Parameters:
rql - the query to set


Copyright © 2006 - 2008 Ashwin Jayaprakash. All Rights Reserved. (Docs generated on 3-November-2007 )