OpenQuizz
Une application de gestion des contenus pédagogiques
_GetMore Class Reference
Inheritance diagram for _GetMore:
Collaboration diagram for _GetMore:

Public Member Functions

def __init__ (self, db, coll, ntoreturn, cursor_id, codec_options, read_preference, session, client, max_await_time_ms, exhaust_mgr)
 
def namespace (self)
 
def use_command (self, sock_info, exhaust)
 
def as_command (self, sock_info)
 
def get_message (self, dummy0, sock_info, use_cmd=False)
 

Data Fields

 db
 
 coll
 
 ntoreturn
 
 cursor_id
 
 codec_options
 
 read_preference
 
 session
 
 client
 
 max_await_time_ms
 
 exhaust_mgr
 

Static Public Attributes

 name
 

Detailed Description

A getmore operation.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  db,
  coll,
  ntoreturn,
  cursor_id,
  codec_options,
  read_preference,
  session,
  client,
  max_await_time_ms,
  exhaust_mgr 
)

Member Function Documentation

◆ as_command()

def as_command (   self,
  sock_info 
)
Return a getMore command document for this query.

◆ get_message()

def get_message (   self,
  dummy0,
  sock_info,
  use_cmd = False 
)
Get a getmore message.

Reimplemented in _RawBatchGetMore.

◆ namespace()

def namespace (   self)

◆ use_command()

def use_command (   self,
  sock_info,
  exhaust 
)

Reimplemented in _RawBatchGetMore.

Field Documentation

◆ client

client

◆ codec_options

codec_options

◆ coll

coll

◆ cursor_id

cursor_id

◆ db

db

◆ exhaust_mgr

exhaust_mgr

◆ max_await_time_ms

max_await_time_ms

◆ name

name
static

◆ ntoreturn

ntoreturn

◆ read_preference

read_preference

◆ session

session

The documentation for this class was generated from the following file: