This is an automated email from the ASF dual-hosted git repository.
caogaofei pushed a commit to branch beyyes/feature/show_datanodes
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/beyyes/feature/show_datanodes
by this push:
new 428a309c27 fix the line separator problem in ShowClusterStatement class
428a309c27 is described below
commit 428a309c273847f0b4b8305020c5742eb67d1779
Author: Beyyes <[email protected]>
AuthorDate: Sun May 29 18:11:05 2022 +0800
fix the line separator problem in ShowClusterStatement class
---
.../statement/metadata/ShowClusterStatement.java | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git
a/server/src/main/java/org/apache/iotdb/db/mpp/plan/statement/metadata/ShowClusterStatement.java
b/server/src/main/java/org/apache/iotdb/db/mpp/plan/statement/metadata/ShowClusterStatement.java
index c4761f2adf..a36583e0f5 100644
---
a/server/src/main/java/org/apache/iotdb/db/mpp/plan/statement/metadata/ShowClusterStatement.java
+++
b/server/src/main/java/org/apache/iotdb/db/mpp/plan/statement/metadata/ShowClusterStatement.java
@@ -1 +1,19 @@
-package org.apache.iotdb.db.mpp.plan.statement.metadata;
import org.apache.iotdb.db.mpp.plan.analyze.QueryType;
import org.apache.iotdb.db.mpp.plan.statement.IConfigStatement;
import org.apache.iotdb.db.mpp.plan.statement.StatementVisitor;
public class ShowClusterStatement extends ShowStatement implements
IConfigStatement {
@Override
public QueryType getQueryType() {
return QueryType.READ;
}
@Override
public <R, C> R accept(StatementVisitor<R, C> visitor, C context) {
return visitor.visitShowCluster(this, context);
}
}
\ No newline at end of file
+package org.apache.iotdb.db.mpp.plan.statement.metadata;
+
+import org.apache.iotdb.db.mpp.plan.analyze.QueryType;
+import org.apache.iotdb.db.mpp.plan.statement.IConfigStatement;
+import org.apache.iotdb.db.mpp.plan.statement.StatementVisitor;
+
+public class ShowClusterStatement extends ShowStatement implements
IConfigStatement {
+
+ @Override
+ public QueryType getQueryType() {
+ return QueryType.READ;
+ }
+
+ @Override
+ public <R, C> R accept(StatementVisitor<R, C> visitor, C context) {
+ return visitor.visitShowCluster(this, context);
+ }
+
+}