diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/Executor.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/Executor.java index 3f20623ead98f591dc3ae28337c3a01ad5af60cf..cafdc22bb4805c113774b7cd034f9602e047d76e 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/Executor.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/Executor.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp; import org.apache.iotdb.tsfile.read.ReadOnlyTsFile; diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/QueryProcessor.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/QueryProcessor.java index 5ad0063f64d5ba5cfdfda4055c5415f964b68c5c..1d5eb26b0c618ae03462c5955eda610565fd653f 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/QueryProcessor.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/QueryProcessor.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp; import org.apache.iotdb.tsfile.read.TsFileSequenceReader; diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/BasicOperator.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/BasicOperator.java index 2c0f9fad4799aaf78a484d32c898f4a1c1b13640..f95dded28c0a72a24c06b658af0e2eb39979aef0 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/BasicOperator.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/BasicOperator.java @@ -1,7 +1,25 @@ +/** + * 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.tsfile.qp.common; -import org.apache.iotdb.tsfile.qp.exception.BasicOperatorException; +import org.apache.iotdb.tsfile.qp.exception.BasicOperatorException; /** * basic operators include < > >= <= !=. @@ -13,14 +31,6 @@ public class BasicOperator extends FilterOperator { private String seriesPath; private String seriesValue; - public String getSeriesPath() { - return seriesPath; - } - - public String getSeriesValue() { - return seriesValue; - } - public BasicOperator(int tokenIntType, String path, String value) { super(tokenIntType); this.seriesPath = this.singlePath = path; @@ -29,6 +39,14 @@ public class BasicOperator extends FilterOperator { this.isSingle = true; } + public String getSeriesPath() { + return seriesPath; + } + + public String getSeriesValue() { + return seriesValue; + } + public void setReversedTokenIntType() throws BasicOperatorException { int intType = SQLConstant.reverseWords.get(tokenIntType); setTokenIntType(intType); @@ -44,7 +62,7 @@ public class BasicOperator extends FilterOperator { public BasicOperator clone() { BasicOperator ret; ret = new BasicOperator(this.tokenIntType, seriesPath, seriesValue); - ret.tokenSymbol=tokenSymbol; + ret.tokenSymbol = tokenSymbol; ret.isLeaf = isLeaf; ret.isSingle = isSingle; return ret; diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/FilterOperator.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/FilterOperator.java index 5f52e579859e7c4120175a69b67a1e469063a400..a16d81cfe4624ea4c40791acc7adcc31f1f31cad 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/FilterOperator.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/FilterOperator.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.common; import org.apache.iotdb.tsfile.utils.StringContainer; diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/Operator.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/Operator.java index 4775d55dc6829a4d0ead2217915aac0149843545..4253a304f694fc98d472647ae5cb8705b08b4ab4 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/Operator.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/Operator.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.common; /** diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/SQLConstant.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/SQLConstant.java index 683e909382a6e9948532dbfceca48f9669682e86..4ee0e470e0fd3505e9513002269ca52919889828 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/SQLConstant.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/SQLConstant.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.common; import java.util.HashMap; diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/SingleQuery.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/SingleQuery.java index 8aaba1d4a9856aed7b176a4bbf8e30c7943a946b..595a55785898976fe3784582c9dcaaa73718ecd3 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/SingleQuery.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/SingleQuery.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.common; diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/TSQueryPlan.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/TSQueryPlan.java index 36cd2a89019a06d46ff00a444005dce66c965650..055e2656c93b9af465f92f7e6d0b6b29771a17e2 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/TSQueryPlan.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/common/TSQueryPlan.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.common; import java.util.ArrayList; diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/BasicOperatorException.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/BasicOperatorException.java index 7e54f5d984ccbfcc1c250ec66f74a2343ec66823..e5ba02fa8a8ecf2bf629a17b6f3857eb62dfff7c 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/BasicOperatorException.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/BasicOperatorException.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.exception; diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/DNFOptimizeException.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/DNFOptimizeException.java index b3e252cd2dafa94f3a5e9ed8c8396b29ec5f36a8..dbe2091dae67bd53f4fab42a49d9aa7eb5f123cf 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/DNFOptimizeException.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/DNFOptimizeException.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.exception; diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/LogicalOptimizeException.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/LogicalOptimizeException.java index 4e1faa99cc04bd164123279a64dc379dccc3e2c4..8a43d5de93c2ba4cb107e034c50c1a19f1c6885c 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/LogicalOptimizeException.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/LogicalOptimizeException.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.exception; /** diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/MergeFilterException.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/MergeFilterException.java index d0b4627b8518c284e4a235c851a3bfa518ed74b2..79c0b6512bfb8c498777e88ae70dc7a07ba79ba8 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/MergeFilterException.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/MergeFilterException.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.exception; diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/QueryOperatorException.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/QueryOperatorException.java index 707d64adc8ddf9fd8558020e5c2ecb4b137d5f08..08a8559d838f1d2f7d9103630bf351bd0f18f188 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/QueryOperatorException.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/QueryOperatorException.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.exception; public class QueryOperatorException extends LogicalOptimizeException { diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/QueryProcessorException.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/QueryProcessorException.java index 0490b720be42e0db017fc33aaff2cfbb0c723c90..89d4c75a6b019c932c5903b523b7a0bdde0999c3 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/QueryProcessorException.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/QueryProcessorException.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.exception; /** diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/RemoveNotException.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/RemoveNotException.java index 0b13ce1b760848d9b6716b23dbdbafd1ba20f138..4196b6d76e20a0d3ed79286a17dab0e111737ad1 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/RemoveNotException.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/exception/RemoveNotException.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.exception; diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/DNFFilterOptimizer.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/DNFFilterOptimizer.java index abb93494c96a7096a76c34b5d4ab7ba9c8bffc05..a270cd501a6d2b9bfb1929a6d9d3b207e3c66660 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/DNFFilterOptimizer.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/DNFFilterOptimizer.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.optimizer; import org.apache.iotdb.tsfile.qp.common.FilterOperator; diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/IFilterOptimizer.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/IFilterOptimizer.java index 72598d26c7985da005d022939a170a2d19140986..74f6689fd4360c3cd43067cbd84ffc1d3f7bd173 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/IFilterOptimizer.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/IFilterOptimizer.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.optimizer; import org.apache.iotdb.tsfile.qp.common.FilterOperator; diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/MergeSingleFilterOptimizer.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/MergeSingleFilterOptimizer.java index 1a677690634887a4b06de31f7ad1feb793a86a03..641f6ad392ed0460ea97eb1fec1624949f6505a5 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/MergeSingleFilterOptimizer.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/MergeSingleFilterOptimizer.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.optimizer; import org.apache.iotdb.tsfile.qp.common.FilterOperator; diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/PhysicalOptimizer.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/PhysicalOptimizer.java index c83af36921c4b80c2cc3b5b365088a4fa945de63..68b64e496efdd99d01c6a324092ea87b9e73cd68 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/PhysicalOptimizer.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/PhysicalOptimizer.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.optimizer; import org.apache.iotdb.tsfile.qp.common.*; diff --git a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/RemoveNotOptimizer.java b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/RemoveNotOptimizer.java index 51b19ee2474a9521be17d58db8f97efbf8a05898..f76c06a5919cb5bcea22777dcd4210607c1b0cae 100755 --- a/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/RemoveNotOptimizer.java +++ b/spark-tsfile/src/main/java/org/apache/iotdb/tsfile/qp/optimizer/RemoveNotOptimizer.java @@ -1,3 +1,21 @@ +/** + * 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.tsfile.qp.optimizer;