类:Mongo::Operation::ParallelScan::Result
- 定义于:
- lib/ Mongo/operation/parallel_scan/result.rb
Overview
定义并行扫描中结果的自定义行为。
常量摘要折叠
- CURSORS =
此常量是私有 API 的一部分。 应尽可能避免使用此常量,因为它将来可能会被删除或更改。
结果中游标字段的名称。
'cursors'.冻结
从Result继承的常量
Result::CURSOR 、 Result::CURSOR_ID 、 Result::FIRST_BATCH 、 Result::N 、 Result::NAMESPACE 、 Result::NEXT_BATCH 、 Result::OK 、 Result::RESULT
实例属性摘要
从Result继承的属性
#connection 、 #connection_description 、 #connection_global_id 、 #context 、 #replies
实例方法摘要折叠
-
#cursor_ids ⇒ Array<Integer>
private
从结果中获取所有游标 ID。
-
# 个documents ⇒ Array<BSON::Document>
从并行扫描中获取文档。
从Result继承的方法
#acknowledged? 、 #cluster_time 、 #cursor_id 、 #each 、 #error 、 #has_cursor_id? 、 #initialize 、 #inspect 、 #labels 、 #namespace 、 #ok? 、 #operation_time 、 #reply 、 #returned_count 、 #snapshot_timestamp 、 #successful? 、 #topology_version 、 #validate! , #write_concern_error? , #liter_count
构造函数详情
该类从Mongo::Operation::Result继承了一个构造函数