Class SQLOPToken

Direct Known Subclasses:
AbstractSQLSnapshotOPToken, SQLBackupOPToken, SQLCreateCacheOPToken, SQLCreateIndexOPToken, SQLDeleteOPToken, SQLDropCacheOPToken, SQLDropIndexOPToken, SQLExplainOPToken, SQLForceRecoveryOPToken, SQLInsertOPToken, SQLListArchivedSnapshotsOPToken, SQLListArchiverOPToken, SQLListServicesOPToken, SQLListSnapshotsOPToken, SQLRemoveSnapshotOPToken, SQLRestoreOPToken, SQLResumeServiceOPToken, SQLRetrieveSnapshotOPToken, SQLSelectOPToken, SQLSourceOPToken, SQLSuspendServiceOPToken, SQLTruncateCacheOPToken, SQLUpdateOPToken, SQLValidateSnapshotOPToken

public class SQLOPToken extends IdentifierOPToken
SQLOPToken provides useful convenience methods for subclasses.
Author:
djl 2010.05.04
  • Constructor Details

    • SQLOPToken

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

      public SQLOPToken(String id, String sNudASTName)
      Construct a new SQLOPToken with the given parameters.
      Parameters:
      id - string identifier for this token
      sNudASTName - the ast name to use for constructing an ast
  • Method Details

    • checkAlias

      protected Term checkAlias(OPParser p, String... expectedNextKeywords)
      Check to see if there is an alias and create a Term to hold the alias identifier if one exists
      Parameters:
      p - The current Parser
      expectedNextKeywords - The next keyword to expect
      Returns:
      the alias Term