Package org.apache.opendal
Class ServiceConfig.D1
java.lang.Object
org.apache.opendal.ServiceConfig.D1
- All Implemented Interfaces:
ServiceConfig
- Enclosing interface:
- ServiceConfig
Configuration for service d1.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.opendal.ServiceConfig
ServiceConfig.AliyunDrive, ServiceConfig.Alluxio, ServiceConfig.Atomicserver, ServiceConfig.Azblob, ServiceConfig.Azdls, ServiceConfig.Azfile, ServiceConfig.B2, ServiceConfig.Cacache, ServiceConfig.CloudflareKv, ServiceConfig.Compfs, ServiceConfig.Cos, ServiceConfig.D1, ServiceConfig.Dashmap, ServiceConfig.Dbfs, ServiceConfig.Dropbox, ServiceConfig.Etcd, ServiceConfig.Fs, ServiceConfig.Gcs, ServiceConfig.Gdrive, ServiceConfig.Ghac, ServiceConfig.Github, ServiceConfig.Gridfs, ServiceConfig.HdfsNative, ServiceConfig.Http, ServiceConfig.Huggingface, ServiceConfig.Icloud, ServiceConfig.Ipfs, ServiceConfig.Ipmfs, ServiceConfig.Koofr, ServiceConfig.Lakefs, ServiceConfig.Memcached, ServiceConfig.Memory, ServiceConfig.MiniMoka, ServiceConfig.Moka, ServiceConfig.Mongodb, ServiceConfig.Monoiofs, ServiceConfig.Mysql, ServiceConfig.NebulaGraph, ServiceConfig.Obs, ServiceConfig.Onedrive, ServiceConfig.Opfs, ServiceConfig.Oss, ServiceConfig.Pcloud, ServiceConfig.Persy, ServiceConfig.Postgresql, ServiceConfig.Redb, ServiceConfig.Redis, ServiceConfig.S3, ServiceConfig.Seafile, ServiceConfig.Sftp, ServiceConfig.Sled, ServiceConfig.Sqlite, ServiceConfig.Surrealdb, ServiceConfig.Swift, ServiceConfig.Upyun, ServiceConfig.VercelArtifacts, ServiceConfig.VercelBlob, ServiceConfig.Webdav, ServiceConfig.Webhdfs, ServiceConfig.YandexDisk -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringSet the account id of cloudflare api.final StringSet the database id of cloudflare api.final StringSet the key field of D1 Database.final StringSet the working directory of OpenDAL.final StringSet the table of D1 Database.final StringSet the token of cloudflare api.final StringSet the value field of D1 Database. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
token
Set the token of cloudflare api.
-
accountId
Set the account id of cloudflare api.
-
databaseId
Set the database id of cloudflare api.
-
root
Set the working directory of OpenDAL.
-
table
Set the table of D1 Database.
-
keyField
Set the key field of D1 Database.
-
valueField
Set the value field of D1 Database.
-
-
Constructor Details
-
D1
public D1()
-
-
Method Details
-
scheme
Description copied from interface:ServiceConfigThe scheme of the service.- Specified by:
schemein interfaceServiceConfig- Returns:
- the scheme
-
configMap
Description copied from interface:ServiceConfigConvert the structured config to a type erased config map.- Specified by:
configMapin interfaceServiceConfig- Returns:
- the config map
-