com.nhncorp.neptune.client.shell.select.generated
Class QueryParser

java.lang.Object
  extended by com.nhncorp.neptune.client.shell.select.generated.QueryParser
All Implemented Interfaces:
QueryParserConstants

public class QueryParser
extends java.lang.Object
implements QueryParserConstants


Field Summary
 Token jj_nt
          Next token.
 Token token
          Current token.
 QueryParserTokenManager token_source
          Generated Token Manager.
 
Fields inherited from interface com.nhncorp.neptune.client.shell.select.generated.QueryParserConstants
CLOSE_PAR, DEFAULT, DIGIT, DIGITS, ECHAR, END, EOF, EQUALS, K_AND, K_BETWEEN, K_FROM, K_OR, K_SELECT, K_TABLET_ROWS, K_TIMESTAMP, K_WHERE, LETTER, OPEN_PAR, QUOTEDSTRING, S_ALL, S_IDENTIFIER, S_NUMBER, SPECIAL_CHARS, TEXT, tokenImage
 
Constructor Summary
QueryParser(java.io.InputStream stream)
          Constructor with InputStream.
QueryParser(java.io.InputStream stream, java.lang.String encoding)
          Constructor with InputStream and supplied encoding
QueryParser(QueryParserTokenManager tm)
          Constructor with generated Token Manager.
QueryParser(java.io.Reader stream)
          Constructor.
 
Method Summary
 void disable_tracing()
          Disable tracing.
 void enable_tracing()
          Enable tracing.
 ParseException generateParseException()
          Generate ParseException.
 Token getNextToken()
          Get the next Token.
 Token getToken(int index)
          Get the specific Token.
 void parse(SelectQuery query)
           
 void parseExpression(java.util.List<WhereComponent> result)
           
 void parseQuery(SelectQuery query)
           
 java.util.List<java.lang.String> parseSelectColumn()
           
 java.util.List<WhereComponent> parseWhere()
           
 void primary(java.util.List<WhereComponent> result)
           
 void primary2(java.util.List<WhereComponent> result)
           
 void ReInit(java.io.InputStream stream)
          Reinitialise.
 void ReInit(java.io.InputStream stream, java.lang.String encoding)
          Reinitialise.
 void ReInit(QueryParserTokenManager tm)
          Reinitialise.
 void ReInit(java.io.Reader stream)
          Reinitialise.
 void term(java.util.List<WhereComponent> result)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public QueryParserTokenManager token_source
Generated Token Manager.


token

public Token token
Current token.


jj_nt

public Token jj_nt
Next token.

Constructor Detail

QueryParser

public QueryParser(java.io.InputStream stream)
Constructor with InputStream.


QueryParser

public QueryParser(java.io.InputStream stream,
                   java.lang.String encoding)
Constructor with InputStream and supplied encoding


QueryParser

public QueryParser(java.io.Reader stream)
Constructor.


QueryParser

public QueryParser(QueryParserTokenManager tm)
Constructor with generated Token Manager.

Method Detail

parse

public final void parse(SelectQuery query)
                 throws ParseException
Throws:
ParseException

parseQuery

public final void parseQuery(SelectQuery query)
                      throws ParseException
Throws:
ParseException

parseSelectColumn

public final java.util.List<java.lang.String> parseSelectColumn()
                                                         throws ParseException
Throws:
ParseException

parseWhere

public final java.util.List<WhereComponent> parseWhere()
                                                throws ParseException
Throws:
ParseException

parseExpression

public final void parseExpression(java.util.List<WhereComponent> result)
                           throws ParseException
Throws:
ParseException

term

public final void term(java.util.List<WhereComponent> result)
                throws ParseException
Throws:
ParseException

primary

public final void primary(java.util.List<WhereComponent> result)
                   throws ParseException
Throws:
ParseException

primary2

public final void primary2(java.util.List<WhereComponent> result)
                    throws ParseException
Throws:
ParseException

ReInit

public void ReInit(java.io.InputStream stream)
Reinitialise.


ReInit

public void ReInit(java.io.InputStream stream,
                   java.lang.String encoding)
Reinitialise.


ReInit

public void ReInit(java.io.Reader stream)
Reinitialise.


ReInit

public void ReInit(QueryParserTokenManager tm)
Reinitialise.


getNextToken

public final Token getNextToken()
Get the next Token.


getToken

public final Token getToken(int index)
Get the specific Token.


generateParseException

public ParseException generateParseException()
Generate ParseException.


enable_tracing

public final void enable_tracing()
Enable tracing.


disable_tracing

public final void disable_tracing()
Disable tracing.