C# Class MongoDB.Driver.IO.QueryMessage

Description of QueryMessage.
Inheritance: RequestMessage
Show file Open project: sdether/mongodb-csharp Class Usage Examples

Public Methods

Method Description
QueryMessage ( ) : System
QueryMessage ( Document query, String fullCollectionName ) : System
QueryMessage ( Document query, String fullCollectionName, Int32 numberToReturn, Int32 numberToSkip ) : System
QueryMessage ( Document query, String fullCollectionName, Int32 numberToReturn, Int32 numberToSkip, Document returnFieldSelector ) : System

Protected Methods

Method Description
CalculateBodySize ( BsonWriter writer ) : int
WriteBody ( BsonWriter writer ) : void

Method Details

CalculateBodySize() protected method

protected CalculateBodySize ( BsonWriter writer ) : int
writer MongoDB.Driver.Bson.BsonWriter
return int

QueryMessage() public method

public QueryMessage ( ) : System
return System

QueryMessage() public method

public QueryMessage ( Document query, String fullCollectionName ) : System
query Document
fullCollectionName String
return System

QueryMessage() public method

public QueryMessage ( Document query, String fullCollectionName, Int32 numberToReturn, Int32 numberToSkip ) : System
query Document
fullCollectionName String
numberToReturn System.Int32
numberToSkip System.Int32
return System

QueryMessage() public method

public QueryMessage ( Document query, String fullCollectionName, Int32 numberToReturn, Int32 numberToSkip, Document returnFieldSelector ) : System
query Document
fullCollectionName String
numberToReturn System.Int32
numberToSkip System.Int32
returnFieldSelector Document
return System

WriteBody() protected method

protected WriteBody ( BsonWriter writer ) : void
writer MongoDB.Driver.Bson.BsonWriter
return void