Class SqliteStatementResolver

java.lang.Object
com.sap.cds.jdbc.generic.GenericStatementResolver
com.sap.cds.jdbc.sqlite.SqliteStatementResolver
All Implemented Interfaces:
StatementResolver

public class SqliteStatementResolver extends GenericStatementResolver
  • Constructor Details

    • SqliteStatementResolver

      public SqliteStatementResolver()
  • Method Details

    • collate

      public Optional<String> collate(Locale locale)
    • upsert

      public String upsert(String table, Stream<String> keyColumns, Stream<String> upsertColumns, Stream<String> upsertValues)
      UPSERT is a clause added to INSERT that causes the INSERT to behave as an UPDATE or a no-op if the INSERT would violate a uniqueness constraint. UPSERT is not standard SQL. UPSERT in SQLite follows the syntax established by PostgreSQL, with generalizations. https://www.sqlite.org/lang_upsert.html The REPLACE command is not used, since it deletes and inserts: https://www.sqlite.org/lang_replace.html https://www.sqlite.org/lang_conflict.html
    • lockClause

      public Stream<String> lockClause(CqnLock lock)