[Groonga-commit] groonga/grnxx at 692f4b6 [master] Rename Pipeline::run() to Pipeline::flush().

Back to archive index

susumu.yata null+****@clear*****
Thu Jun 19 13:35:54 JST 2014


susumu.yata	2014-06-19 13:35:54 +0900 (Thu, 19 Jun 2014)

  New Revision: 692f4b640c2bb4d072b74120cc20f74bed2cd922
  https://github.com/groonga/grnxx/commit/692f4b640c2bb4d072b74120cc20f74bed2cd922

  Message:
    Rename Pipeline::run() to Pipeline::flush().

  Modified files:
    new-interface/pipeline.hpp

  Modified: new-interface/pipeline.hpp (+4 -5)
===================================================================
--- new-interface/pipeline.hpp    2014-06-19 13:11:17 +0900 (fb91218)
+++ new-interface/pipeline.hpp    2014-06-19 13:35:54 +0900 (564bf33)
@@ -10,18 +10,17 @@ class Pipeline {
   Pipeline();
   virtual ~Pipeline();
 
-  // 所属するテーブルを取得する.
-  virtual Table *table() const = 0;
-
   // パイプラインを通してレコードの一覧を取得する.
   // 成功すれば true を返す.
   // 失敗したときは *error にその内容を格納し, false を返す.
   //
+  // パイプラインは使い捨てなので,二回目の呼び出しは失敗する.
+  //
   // 失敗する状況としては,以下のようなものが挙げられる.
   // - 演算において例外が発生する.
   // - リソースを確保できない.
-  virtual bool run(Error *error,
-                   RecordSet *record_set);
+  virtual bool flush(Error *error,
+                     RecordSet *record_set);
 };
 
 }  // namespace grnxx
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index