You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ro...@apache.org on 2022/04/12 13:01:17 UTC

[iotdb] 01/03: Expression: tsBlockInputColumnIndex

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

rong pushed a commit to branch udf-operator
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 9a7199c8b18561a35c982c45c0d78a27fcaff0f5
Author: Steve Yurong Su <ro...@apache.org>
AuthorDate: Tue Apr 12 10:20:49 2022 +0800

    Expression: tsBlockInputColumnIndex
---
 .../java/org/apache/iotdb/db/query/expression/Expression.java | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/server/src/main/java/org/apache/iotdb/db/query/expression/Expression.java b/server/src/main/java/org/apache/iotdb/db/query/expression/Expression.java
index fc6a1d6e0c..619167bf96 100644
--- a/server/src/main/java/org/apache/iotdb/db/query/expression/Expression.java
+++ b/server/src/main/java/org/apache/iotdb/db/query/expression/Expression.java
@@ -46,8 +46,11 @@ import java.util.Set;
 public abstract class Expression {
 
   private String expressionStringCache;
+
   protected Boolean isConstantOperandCache = null;
 
+  protected Integer tsBlockInputColumnIndex = null;
+
   public boolean isBuiltInAggregationFunctionExpression() {
     return false;
   }
@@ -60,6 +63,14 @@ public abstract class Expression {
     return false;
   }
 
+  public Integer getTsBlockInputColumnIndex() {
+    return tsBlockInputColumnIndex;
+  }
+
+  public void setTsBlockInputColumnIndex(Integer tsBlockInputColumnIndex) {
+    this.tsBlockInputColumnIndex = tsBlockInputColumnIndex;
+  }
+
   public abstract void concat(
       List<PartialPath> prefixPaths,
       List<Expression> resultExpressions,