Class SQLTruncateCacheOPToken


public class SQLTruncateCacheOPToken extends SQLOPToken
SQLTruncateCacheOPToken is used for parsing and specifying the AST used for truncate cache.

Syntax:

TRUNCATE CACHE 'cache-name'

Author:
bbc 2015.09.01
  • Field Details

  • Constructor Details

    • SQLTruncateCacheOPToken

      public SQLTruncateCacheOPToken(String id)
      Construct a new SQLTruncateCacheOPToken with the given parameters.
      Parameters:
      id - the id
  • 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