This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 4d4e28fd96 [hotfix] Remove CreateDatabaseResponse class
4d4e28fd96 is described below
commit 4d4e28fd96abf9a5027e236a981412ca1b09c8d9
Author: JingsongLi <[email protected]>
AuthorDate: Thu Mar 20 13:51:57 2025 +0800
[hotfix] Remove CreateDatabaseResponse class
---
.../rest/responses/CreateDatabaseResponse.java | 60 ----------------------
1 file changed, 60 deletions(-)
diff --git
a/paimon-core/src/main/java/org/apache/paimon/rest/responses/CreateDatabaseResponse.java
b/paimon-core/src/main/java/org/apache/paimon/rest/responses/CreateDatabaseResponse.java
deleted file mode 100644
index df71ff0e28..0000000000
---
a/paimon-core/src/main/java/org/apache/paimon/rest/responses/CreateDatabaseResponse.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.paimon.rest.responses;
-
-import org.apache.paimon.rest.RESTResponse;
-
-import
org.apache.paimon.shade.jackson2.com.fasterxml.jackson.annotation.JsonCreator;
-import
org.apache.paimon.shade.jackson2.com.fasterxml.jackson.annotation.JsonGetter;
-import
org.apache.paimon.shade.jackson2.com.fasterxml.jackson.annotation.JsonIgnoreProperties;
-import
org.apache.paimon.shade.jackson2.com.fasterxml.jackson.annotation.JsonProperty;
-
-import java.util.Map;
-
-/** Response for creating database. */
-@JsonIgnoreProperties(ignoreUnknown = true)
-public class CreateDatabaseResponse implements RESTResponse {
-
- private static final String FIELD_NAME = "name";
- private static final String FIELD_OPTIONS = "options";
-
- @JsonProperty(FIELD_NAME)
- private final String name;
-
- @JsonProperty(FIELD_OPTIONS)
- private final Map<String, String> options;
-
- @JsonCreator
- public CreateDatabaseResponse(
- @JsonProperty(FIELD_NAME) String name,
- @JsonProperty(FIELD_OPTIONS) Map<String, String> options) {
- this.name = name;
- this.options = options;
- }
-
- @JsonGetter(FIELD_NAME)
- public String getName() {
- return name;
- }
-
- @JsonGetter(FIELD_OPTIONS)
- public Map<String, String> getOptions() {
- return options;
- }
-}