core/src/main/java/org/apache/calcite/sql/parser/SqlAbstractParserImpl.java
private String constructSql92ReservedWordList(
        @UnderInitialization MetadataImpl this) {
      StringBuilder sb = new StringBuilder();
      TreeSet<String> jdbcReservedSet = new TreeSet<>();
      jdbcReservedSet.addAll(tokenSet);
      jdbcReservedSet.removeAll(SQL_92_RESERVED_WORD_SET);
      jdbcReservedSet.removeAll(nonReservedKeyWordSet);
      int j = 0;
      for (String jdbcReserved : jdbcReservedSet) {
        if (j++ > 0) {
          sb.append(",");
        }
        sb.append(jdbcReserved);
      }
      return sb.toString();
    }
/**
     * Builds a comma-separated list of JDBC reserved words.
     */
Builds a comma-separated list of JDBC reserved words.
Builds a comma - separated list of JDBC reserved words .
private String constructSql92ReservedWordList(
        @UnderInitialization MetadataImpl this) {
      StringBuilder sb = new StringBuilder();
      TreeSet<String> jdbcReservedSet = new TreeSet<>();
      jdbcReservedSet.addAll(tokenSet);
      jdbcReservedSet.removeAll(SQL_92_RESERVED_WORD_SET);
      jdbcReservedSet.removeAll(nonReservedKeyWordSet);
      int j = 0;
      for (String jdbcReserved : jdbcReservedSet) {
        if (j++ > 0) {
          sb.append(",");
        }
        sb.append(jdbcReserved);
      }
      return sb.toString();
    }
private String constructSql92ReservedWordList ( @ UnderInitialization MetadataImpl this ) { StringBuilder sb = new StringBuilder ( ) ; TreeSet < String > jdbcReservedSet = new TreeSet < > ( ) ; jdbcReservedSet . addAll ( tokenSet ) ; jdbcReservedSet . removeAll ( SQL_92_RESERVED_WORD_SET ) ; jdbcReservedSet . removeAll ( nonReservedKeyWordSet ) ; int j = 0 ; for ( String jdbcReserved : jdbcReservedSet ) { if ( j ++ > 0 ) { sb . append ( "," ) ; } sb . append ( jdbcReserved ) ; } return sb . toString ( ) ; }
Builds a comma-separated list of JDBC reserved words.
Builds a comma - separated list of JDBC reserved words .