Class SQLValidateSnapshotOPToken


public class SQLValidateSnapshotOPToken extends SQLOPToken
SQLValidateSnapshotOPToken is used for parsing and specifying the AST used for creating snapshots.

Syntax:

VALIDATE [ARCHIVED] SNAPSHOT '/path/to/snapshot' [VERBOSE]
or
VALIDATE SNAPSHOT 'snapshot-name' 'service-name' [VERBOSE]
or
VALIDATE ARCHIVED SNAPSHOT 'snapshot-name' 'service-name' [VERBOSE]

Since:
12.2.1
Author:
tam 2014.08.06
  • Field Details

  • Constructor Details

    • SQLValidateSnapshotOPToken

      public SQLValidateSnapshotOPToken(String id)
      Construct a new SQLValidateSnapshotOPToken.
      Parameters:
      id - the string representing the command
  • Method Details

    • nud

      public Term nud(OPParser p)
      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:
      p - the parser that is the context for parsing
      Returns:
      an AstNode