Class ServiceConfig.Sqlite

java.lang.Object
org.apache.opendal.ServiceConfig.Sqlite
All Implemented Interfaces:
ServiceConfig
Enclosing interface:
ServiceConfig

public static class ServiceConfig.Sqlite extends Object implements ServiceConfig
Configuration for service sqlite.
  • Field Details

    • connectionString

      public final String connectionString

      Set the connection_string of the sqlite service.

      This connection string is used to connect to the sqlite service.

      The format of connect string resembles the url format of the sqlite client:

      • sqlite::memory:
      • sqlite:data.db
      • sqlite://data.db

      For more information, please visit https://docs.rs/sqlx/latest/sqlx/sqlite/struct.SqliteConnectOptions.html.

    • table

      public final String table

      Set the table name of the sqlite service to read/write.

    • keyField

      public final String keyField

      Set the key field name of the sqlite service to read/write.

      Default to key if not specified.

    • valueField

      public final String valueField

      Set the value field name of the sqlite service to read/write.

      Default to value if not specified.

    • root

      public final String root

      set the working directory, all operations will be performed under it.

      default: "/"

  • Constructor Details

    • Sqlite

      public Sqlite()
  • Method Details