[This is preliminary documentation and is subject to change.]
The RowConverter type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | RowConverter | Initializes a new instance of the RowConverter class |
Methods
Name | Description | |
---|---|---|
![]() ![]() | Amount_BSONtoCLR | |
![]() ![]() | Amount_CLRtoBSON | |
![]() | BSONDocumentToJSONMap |
Converts BSON document to JSON data map by directly mapping
BSON types into corresponding CLR types. The sub-documents get mapped into JSONDataObjects,
and BSON arrays get mapped into CLR object[]
|
![]() | BSONDocumentToRow |
Converts BSON document into Row by filling the supplied row instance making necessary type transforms to
suit Row.Schema field definitions per target name. If the passed row supports IAmorphousData, then
the fields either not found in row, or the fields that could not be type-converted to CLR type will be
stowed in amorphous data dictionary
|
![]() ![]() | ByteBuffer_CLRtoBSON | |
![]() ![]() | ByteBufferID_CLRtoBSON |
Encodes byte buffer purposed for id, using proper binary subtype
|
![]() | Configure | |
![]() | ConvertCLRtoBSON |
Converts CLR value to BSON. The following values are supported:
primitives+scaled decimal, enums, TypedRows, GDID, Guid, Amount, IDictionary, IEnumerable (including arrays).
If conversion could not be made then exception is thrown
|
![]() ![]() | Decimal_BSONtoCLR(BSONElement) | |
![]() ![]() | Decimal_BSONtoCLR(BSONInt32Element) | |
![]() ![]() | Decimal_BSONtoCLR(BSONInt64Element) | |
![]() ![]() | Decimal_CLRtoBSON | |
![]() | DirectConvertBSONValue |
Converts BSON to CLR value 1:1, without type change
|
![]() | DoConvertCLRtoBSON |
override to perform the conversion. the data is never null here, and ref cycles a ruled out
|
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() ![]() | GDID_BSONtoCLR | |
![]() ![]() | GDID_CLRtoBSON | |
![]() | GetAmorphousFieldAsBSON | |
![]() | GetFieldAsBSON | |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | InferSchemaFromBSONDocument |
Makes CRUD Schema out of BSON document. The types of all fields are object as documents do not have
a predictable type of every field (they are dynamic and can change form doc to doc)
|
![]() ![]() | MapBSONFieldNameToSchemaFieldDef |
Maps bsonFieldName to targeted fieldDef from specified schema using cache for TypedRows
|
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | RowToBSONDocument |
Converts row to BSON document suitable for storage in MONGO.DB.
Pass target name (name of particular store/epoch/implementation) to get targeted field metadata.
Note: the supplied row MAY NOT CONTAIN REFERENCE CYCLES - either direct or transitive
|
![]() | RowToBSONDocumentElement |
Converts row to BSON document suitable for storage in MONGO.DB.
Pass target name (name of particular store/epoch/implementation) to get targeted field metadata.
Note: the supplied row MAY NOT CONTAIN REFERENCE CYCLES - either direct or transitive
|
![]() | SetAmorphousFieldAsCLR | |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
![]() | TryConvertBSONtoCLR |
Tries to convert the BSON value into target CLR type. Returns true if conversion was successfull
|
![]() | TrySetFieldAsCLR |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() ![]() | DECIMAL_LONG_MUL | |
![]() | m_BSONtoCLR | |
![]() | m_CLRtoBSON | |
![]() ![]() | MAX_BYTE_BUFFER_SIZE |
Maximum size of a byte[] field.
Large filed (> 1Mbyte) should not be stored as fields in the database
|
![]() ![]() | MAX_DECIMAL | |
![]() ![]() | MIN_DECIMAL | |
![]() ![]() | s_BSONtoCLR | |
![]() ![]() | s_CLRtoBSON |
Properties
Name | Description | |
---|---|---|
![]() ![]() | DefaultInstance |
Returns the default instance
|
See Also