This is an automated email from the ASF dual-hosted git repository.

rong pushed a commit to branch pipe-table-model-3
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit ba244dfe3368243d37fe8dcceff69955c3ebecf3
Author: Steve Yurong Su <[email protected]>
AuthorDate: Sun Sep 29 15:13:19 2024 +0800

    Create PipeTableModelPattern.java
---
 .../pattern/PipeTableModelPattern.java             | 62 ++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/table/datastructure/pattern/PipeTableModelPattern.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/table/datastructure/pattern/PipeTableModelPattern.java
new file mode 100644
index 00000000000..c00a9d3e3b4
--- /dev/null
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/table/datastructure/pattern/PipeTableModelPattern.java
@@ -0,0 +1,62 @@
+/*
+ * 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.iotdb.db.pipe.table.datastructure.pattern;
+
+import org.apache.iotdb.commons.pipe.datastructure.pattern.PipePattern;
+import org.apache.tsfile.file.metadata.IDeviceID;
+
+// TODO: refactor the inheritance hierarchy of PipePattern
+// TODO: refactor the name of each class in the inheritance hierarchy of 
PipePattern
+public class PipeTableModelPattern extends PipePattern {
+
+  protected PipeTableModelPattern(String pattern) {
+    super(pattern);
+  }
+
+  @Override
+  public String getDefaultPattern() {
+    return "";
+  }
+
+  @Override
+  public boolean isLegal() {
+    return false;
+  }
+
+  @Override
+  public boolean coversDb(String db) {
+    return false;
+  }
+
+  @Override
+  public boolean coversDevice(IDeviceID device) {
+    return false;
+  }
+
+  @Override
+  public boolean mayOverlapWithDevice(IDeviceID device) {
+    return false;
+  }
+
+  @Override
+  public boolean matchesMeasurement(IDeviceID device, String measurement) {
+    return false;
+  }
+}

Reply via email to