SequoiaDB
 All Classes Namespaces Files Functions Variables Enumerations Properties Pages
Classes | Enumerations
Package SequoiaDB.Bson

Classes

class  BsonUtils
 A static class containing BSON utility methods. More...
 
class  BsonArray
 Represents a BSON array. More...
 
class  BsonBinaryData
 Represents BSON binary data. More...
 
class  BsonBoolean
 Represents a BSON boolean value. More...
 
class  BsonDateTime
 Represents a BSON DateTime value. More...
 
class  BsonDecimal
 Represents a BSON decimal value. More...
 
class  BsonDocument
 Represents a BSON document. More...
 
class  BsonDocumentWrapper
 Represents a BsonDocument wrapper. More...
 
class  BsonDouble
 Represents a BSON double value. More...
 
class  BsonElement
 Represents a BSON element. More...
 
class  BsonInt32
 Represents a BSON int value. More...
 
class  BsonInt64
 Represents a BSON long value. More...
 
class  BsonJavaScript
 Represents a BSON JavaScript value. More...
 
class  BsonJavaScriptWithScope
 Represents a BSON JavaScript value with a scope. More...
 
class  BsonMaxKey
 Represents the BSON MaxKey value. More...
 
class  BsonMinKey
 Represents the BSON MinKey value. More...
 
class  BsonNull
 Represents the BSON Null value. More...
 
class  BsonObjectId
 Represents a BSON ObjectId value (see also ObjectId). More...
 
class  BsonRegularExpression
 Represents a BSON regular expression value. More...
 
class  BsonString
 Represents a BSON string value. More...
 
class  BsonSymbol
 Represents a BSON symbol value. More...
 
class  BsonSymbolTable
 Represents the symbol table of BsonSymbols. More...
 
class  BsonTimestamp
 Represents a BSON timestamp value. More...
 
class  BsonTypeMapper
 A static class that maps between .NET objects and BsonValues. More...
 
class  BsonTypeMapperOptions
 Represents options used by the BsonTypeMapper. More...
 
class  BsonUndefined
 Represents the BSON undefined value. More...
 
class  BsonValue
 Represents a BSON value (this is an abstract class, see the various subclasses). More...
 
class  GuidConverter
 A static class containing methods to convert to and from Guids and byte arrays in various byte orders. More...
 
interface  IConvertibleToBsonDocument
 An interface implemented by objects that convert themselves to a BsonDocument. More...
 
interface  ICustomBsonTypeMapper
 An interface for custom mappers that map an object to a BsonValue. More...
 
struct  ObjectId
 Represents an ObjectId (see also BsonObjectId). More...
 

Enumerations

enum  BsonBinarySubType {
  Binary = 0x00, Function = 0x01, OldBinary = 0x02, UuidLegacy = 0x03,
  UuidStandard = 0x04, MD5 = 0x05, UserDefined = 0x80
}
 Represents the binary data subtype of a BsonBinaryData. More...
 
enum  BsonType {
  EndOfDocument = 0x00, Double = 0x01, String = 0x02, Document = 0x03,
  Array = 0x04, Binary = 0x05, Undefined = 0x06, ObjectId = 0x07,
  Boolean = 0x08, DateTime = 0x09, Null = 0x0a, RegularExpression = 0x0b,
  DBPointer = 0x0c, JavaScript = 0x0d, Symbol = 0x0e, JavaScriptWithScope = 0x0f,
  Int32 = 0x10, Timestamp = 0x11, Int64 = 0x12, Decimal = 0x64,
  MinKey = 0xff, MaxKey = 0x7f
}
 Represents the type of a BSON element. More...
 
enum  DuplicateNameHandling { Overwrite, Ignore, ThrowException }
 Represents how duplicate names should be handled. More...
 
enum  GuidRepresentation {
  Unspecified = 0, Standard, CSharpLegacy, JavaLegacy,
  PythonLegacy
}
 Represents the representation to use when converting a Guid to a BSON binary value. More...
 

Enumeration Type Documentation

Represents the binary data subtype of a BsonBinaryData.

Enumerator:
Binary 

Binary data.

Function 

A function.

OldBinary 

Obsolete binary data subtype (use Binary instead).

UuidLegacy 

A UUID in a driver dependent legacy byte order.

UuidStandard 

A UUID in standard network byte order.

MD5 

An MD5 hash.

UserDefined 

User defined binary data.

Represents the type of a BSON element.

Enumerator:
EndOfDocument 

Not a real BSON type. Used to signal the end of a document.

Double 

A BSON double.

String 

A BSON string.

Document 

A BSON document.

Array 

A BSON array.

Binary 

BSON binary data.

Undefined 

A BSON undefined value.

ObjectId 

A BSON ObjectId.

Boolean 

A BSON bool.

DateTime 

A BSON DateTime.

Null 

A BSON null value.

RegularExpression 

A BSON regular expression.

DBPointer 

A BSON DBPointer - Deprecated.

JavaScript 

BSON JavaScript code.

Symbol 

A BSON symbol.

JavaScriptWithScope 

BSON JavaScript code with a scope (a set of variables with values).

Int32 

A BSON 32-bit integer.

Timestamp 

A BSON timestamp.

Int64 

A BSON 64-bit integer.

Decimal 

A BSON decimal value.

MinKey 

A BSON MinKey value.

MaxKey 

A BSON MaxKey value.

Represents how duplicate names should be handled.

Enumerator:
Overwrite 

Overwrite original value with new value.

Ignore 

Ignore duplicate name and keep original value.

ThrowException 

Throw an exception.

Represents the representation to use when converting a Guid to a BSON binary value.

Enumerator:
Unspecified 

The representation for Guids is unspecified, so conversion between Guids and Bson binary data is not possible.

Standard 

Use the new standard representation for Guids (binary subtype 4 with bytes in network byte order).

CSharpLegacy 

Use the representation used by older versions of the C# driver (including most community provided C# drivers).

JavaLegacy 

Use the representation used by older versions of the Java driver.

PythonLegacy 

Use the representation used by older versions of the Python driver.