Class SQLArchiveSnapshotOPToken


  • public class SQLArchiveSnapshotOPToken
    extends AbstractSQLSnapshotOPToken
    SQLArchiveSnapshotOPToken is used for parsing and specifying the AST used for archiving snapshots.

    Syntax:

    ARCHIVE SNAPSHOT 'snapshot-name' 'service'

    Since:
    12.2.1
    Author:
    tam 2014.08.04
    • Field Detail

    • Constructor Detail

      • SQLArchiveSnapshotOPToken

        public SQLArchiveSnapshotOPToken​(String id)
        Construct a new SQLArchiveSnapshotOPToken.
        Parameters:
        id - the string representing the command
    • Method Detail

      • 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