quickstep-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shix...@apache.org
Subject incubator-quickstep git commit: Fixed unused variables-2
Date Tue, 05 Jul 2016 16:10:57 GMT
Repository: incubator-quickstep
Updated Branches:
  refs/heads/SQL-window-aggregation 429f059d9 -> 9f2f0adf0


Fixed unused variables-2


Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/9f2f0adf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/9f2f0adf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/9f2f0adf

Branch: refs/heads/SQL-window-aggregation
Commit: 9f2f0adf0fdbe7676535112973bc598b8c9110e9
Parents: 429f059
Author: shixuan-fan <shixuan@apache.org>
Authored: Tue Jul 5 16:11:08 2016 +0000
Committer: shixuan-fan <shixuan@apache.org>
Committed: Tue Jul 5 16:11:08 2016 +0000

----------------------------------------------------------------------
 .../WindowAggregationOperator.hpp               | 22 ++++++++++++++++++++
 1 file changed, 22 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/9f2f0adf/relational_operators/WindowAggregationOperator.hpp
----------------------------------------------------------------------
diff --git a/relational_operators/WindowAggregationOperator.hpp b/relational_operators/WindowAggregationOperator.hpp
index 443e6c7..f3dfd14 100644
--- a/relational_operators/WindowAggregationOperator.hpp
+++ b/relational_operators/WindowAggregationOperator.hpp
@@ -128,6 +128,28 @@ class WindowAggregationWorkOrder : public WorkOrder {
 
   ~WindowAggregationWorkOrder() override {}
 
+  /**
+   * @brief Get the pointer to WindowAggregationOperationState.
+   * @note This is a quickfix for "unused variable". After the window aggregate
+   *       functions are built, these methods might be dropped.
+   *
+   * @return A pointer to the window aggregation operation state.
+   **/
+  WindowAggregationOperationState* state() {
+    return state_;
+  }
+
+  /**
+   * @brief Get the pointer to output destination.
+   * @note This is a quickfix for "unused variable". After the window aggregate
+   *       functions are built, these methods might be dropped.
+   *
+   * @return A pointer to the output destination.
+   **/
+  InsertDestination* output_destination() {
+    return output_destination_;
+  }
+
   void execute() override;
 
  private:


Mime
View raw message