rpm  5.4.15
Data Fields
gridfile Struct Reference
Collaboration diagram for gridfile:
Collaboration graph
[legend]

Data Fields

gridfsgfs
 
bsonmeta
 

The GridFS where the GridFile is located

More...
 
gridfs_offset pos
 

The GridFile's bson object where all its metadata is located

More...
 
bson_oid_t id
 

The position is the offset in the file

More...
 
char * remote_name
 

The files_id of the gridfile

More...
 
char * content_type
 

The name of the gridfile as a string

More...
 
gridfs_offset length
 

The gridfile's content type

More...
 
int chunk_num
 

The length of this gridfile

More...
 
char * pending_data
 

The number of the current chunk being written to

More...
 
size_t pending_len
 

A buffer storing data still to be written to chunks

More...
 
int flags
 

Length of pending_data buffer

More...
 
int chunkSize
 

Store here special flags such as: No MD5 calculation and Zlib Compression enabled

More...
 

Detailed Description

Definition at line 69 of file mongo.c.

Field Documentation

int gridfile::chunk_num
int gridfile::chunkSize

Store here special flags such as: No MD5 calculation and Zlib Compression enabled

Definition at line 81 of file mongo.c.

Referenced by gridfile_flush_pendingchunk(), gridfile_get_chunksize(), gridfile_init_chunkSize(), gridfile_writer_done(), and gridfile_writer_init().

char* gridfile::content_type

The name of the gridfile as a string

Definition at line 75 of file mongo.c.

Referenced by gridfile_writer_done(), and gridfile_writer_init().

int gridfile::flags
gridfs* gridfile::gfs
bson_oid_t gridfile::id

The position is the offset in the file

Definition at line 73 of file mongo.c.

Referenced by gridfile_flush_pendingchunk(), gridfile_get_chunks(), gridfile_get_id(), gridfile_write_buffer(), gridfile_writer_done(), and gridfile_writer_init().

gridfs_offset gridfile::length
bson* gridfile::meta
char* gridfile::pending_data
size_t gridfile::pending_len
gridfs_offset gridfile::pos
char* gridfile::remote_name

The files_id of the gridfile

Definition at line 74 of file mongo.c.

Referenced by gridfile_get_filename(), gridfile_writer_done(), and gridfile_writer_init().


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