[Groonga-commit] groonga/grnxx at d98683c [master] Remove GroupSet.

Back to archive index

susumu.yata null+****@clear*****
Wed Jun 25 17:55:59 JST 2014


susumu.yata	2014-06-25 17:55:59 +0900 (Wed, 25 Jun 2014)

  New Revision: d98683c7e826d37e249d93305e9eb00a13fd342d
  https://github.com/groonga/grnxx/commit/d98683c7e826d37e249d93305e9eb00a13fd342d

  Message:
    Remove GroupSet.

  Removed files:
    new-interface/group-set.hpp

  Deleted: new-interface/group-set.hpp (+0 -37) 100644
===================================================================
--- new-interface/group-set.hpp    2014-06-25 11:08:49 +0900 (c26bfb5)
+++ /dev/null
@@ -1,37 +0,0 @@
-#ifndef GRNXX_GROUP_SET_HPP
-#define GRNXX_GROUP_SET_HPP
-
-#include "grnxx/types.hpp"
-
-namespace grnxx {
-
-class GroupSet {
- public:
-  GroupSet();
-  ~GroupSet();
-
-  // 所属するテーブルを取得する.
-  Table *table() const;
-  // グループ数を取得する.
-  int64_t num_groups() const;
-
-  // 行数を取得する.
-  int64_t get_num_rows(int64_t i) const;
-  // 保存してある行の一覧を取得する.
-  RecordSet *get_record_set(int64_t i) const;
-
-  // 整列する.
-  // 成功すれば true を返す.
-  // 失敗したときは *error にその内容を格納し, false を返す.
-  //
-  // TODO: 整列条件の指定方法を決める.
-  //
-  // 失敗する状況としては,以下のようなものが挙げられる.
-  // - リソースが足りない.
-  // - 演算において例外が発生する.
-  bool sort(Error *error, const GroupSortConditions &conditions);
-};
-
-}  // namespace grnxx
-
-#endif  // GRNXX_GROUP_SET_HPP
-------------- next part --------------
HTML����������������������������...
Download 



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