public Map configMap()

in bindings/java/src/main/java/org/apache/opendal/ServiceConfig.java [698:722]


        public Map<String, String> configMap() {
            final HashMap<String, String> map = new HashMap<>();
            if (token != null) {
                map.put("token", token);
            }
            if (accountId != null) {
                map.put("account_id", accountId);
            }
            if (databaseId != null) {
                map.put("database_id", databaseId);
            }
            if (root != null) {
                map.put("root", root);
            }
            if (table != null) {
                map.put("table", table);
            }
            if (keyField != null) {
                map.put("key_field", keyField);
            }
            if (valueField != null) {
                map.put("value_field", valueField);
            }
            return map;
        }