Class SqlProviderSqlite.Default

java.lang.Object
one.microstream.afs.sql.types.SqlProvider.Abstract
one.microstream.afs.sql.types.SqlProviderSqlite.Default
All Implemented Interfaces:
SqlProvider, SqlProviderSqlite
Enclosing interface:
SqlProviderSqlite

public static class SqlProviderSqlite.Default
extends SqlProvider.Abstract
implements SqlProviderSqlite
  • Method Details

    • createDirectoryQueries

      public Iterable<String> createDirectoryQueries​(String tableName)
      Description copied from interface: SqlProvider
       create table [tableName] (
       'identifier' varchar(IDENTIFIER_COLUMN_LENGTH) not null,
       'start' bigint not null,
       'end' bigint not null,
       'blob' not null,
       primary key ('identifier', 'start')
       )
       
      Specified by:
      createDirectoryQueries in interface SqlProvider
      Parameters:
      tableName - the table to query
      Returns:
      the native query string