Navigation Menu

Skip to content

Commit

Permalink
Rename Pipeline::run() to Pipeline::flush().
Browse files Browse the repository at this point in the history
  • Loading branch information
s-yata committed Jun 19, 2014
1 parent bfe2533 commit 692f4b6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions new-interface/pipeline.hpp
Expand Up @@ -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
Expand Down

0 comments on commit 692f4b6

Please sign in to comment.