Class MsKeyword

java.lang.Object
org.pgcodekeeper.core.database.ms.utils.MsKeyword

public class MsKeyword extends Object
  • Method Details

    • getKeywords

      public static Map<String,KeywordCategory> getKeywords()
    • isKeyword

      public static boolean isKeyword(String id)
      Checks if a word is an allowed keyword.

      A keyword is considered allowed if it's either not a keyword at all, or it's an unreserved keyword.

      Parameters:
      id - the word to check
      Returns:
      true if the word is not a keyword or is an unreserved keyword, false if it's a reserved keyword