Class SQLSelectOPToken


public class SQLSelectOPToken extends SQLOPToken
SQLSelectOPToken is used for parsing and specifying the AST used for a select statement.

Syntax:

SELECT (* | alias | (properties* aggregators*) FROM 'cache-name' [[AS] alias] [WHERE conditional-expression] [GROUP [BY] properties+]

Author:
djl 2009.09.10
  • Field Details

  • Constructor Details

    • SQLSelectOPToken

      public SQLSelectOPToken(String id)
      Construct a new SQLSelectOPToken with the given parameters.
      Parameters:
      id - string identifier for this token
  • Method Details

    • nud

      public Term nud(OPParser parser)
      Description copied from class: IdentifierOPToken
      Process this token in the context of parser p with the null denotation. A nud method typically will have no interest in the token to the left. The processing results in an Abstract Syntax Tree Node that captures the meaning
      Overrides:
      nud in class IdentifierOPToken
      Parameters:
      parser - the parser that is the context for parsing
      Returns:
      an AstNode