SqlCompleter extends StringsCompleter { WhitespaceArgumentDelimiter getSqlDelimiter() { return this.sqlDelimiter; } SqlCompleter(Set<String> allCompletions, Set<String> dataModelCompletions); @Override int complete(String buffer, int cursor, List<CharSequence> candidates); void updateDataModelMetaData(Connection connection); static Set<String> getSqlKeywordsCompletions(Connection connection); static Set<String> getDataModelMetadataCompletions(Connection connection);  }
@Test public void testSqlDelimiterCharacters() { assertTrue(sqlCompleter.getSqlDelimiter().isDelimiterChar("r.", 1)); assertTrue(sqlCompleter.getSqlDelimiter().isDelimiterChar("SS;", 2)); assertTrue(sqlCompleter.getSqlDelimiter().isDelimiterChar(":", 0)); assertTrue(sqlCompleter.getSqlDelimiter().isDelimiterChar("ttt,", 3)); }