クラス: Mongo::Operation::GetMore::Result
- 継承:
-
操作::結果
- オブジェクト
- 操作::結果
- Mongo::Operation::GetMore::Result
- 定義:
- lib/mongo/操作/get_ more/result.rb
Overview
get more コマンドの結果のカスタム動作を定義します。
インスタンス メソッドの概要を折りたたむ
-
#cursor_id ⇒ Integer
private
カーソル ID を取得します。
-
ドキュメント数: 配列[BSON::Document]<BSON::Document>
結果内のドキュメントを取得します。
-
# post_batch_resume_token 詳しくは、 BSON ::Document | nil
private
結果のバッチ書込み再開トークンを取得します。
インスタンス メソッドの詳細
#cursor_id ⇒ Integer
このメソッドは、プライベート API の一部です。 このメソッドは将来削除または変更される可能性があるため、可能な限り使用しないでください。
カーソル ID を取得します。
34 35 36 |
ファイル 'lib/mongo/操作/get_ more/result.rb' は、34 行を実行します。 デフォルト cursor_id cursor_document ? cursor_document[CURSOR_ID] : スーパー end |
ドキュメント 数 : 配列[BSON::Document]<BSON::Document>
結果内のドキュメントを取得します。
56 57 58 |
ファイル 'lib/mongo/操作/get_ more/result.rb' は、56 行を実行します。 デフォルト ドキュメント cursor_document[Next_バッチ] end |
# post_batch_resume_token 詳しくは、 BSON ::Document | nil
このメソッドは、プライベート API の一部です。 このメソッドは将来削除または変更される可能性があるため、可能な限り使用しないでください。
結果のバッチ書込み再開トークンを取得する
43 44 45 |
ファイル 'lib/mongo/操作/get_ more/result.rb' は、43 行を実行します。 デフォルト post_batch_resume_token cursor_document ? cursor_document['postBatchResumeToken'] : nil end |