Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

CompressedCollection.cpp File Reference

#include "indri/CompressedCollection.hpp"
#include "zlib.h"
#include "string-set.h"
#include "indri/XMLNode.hpp"
#include "Exception.hpp"
#include "RVLCompress.hpp"
#include "indri/RVLDecompressStream.hpp"
#include "indri/RVLCompressStream.hpp"
#include "indri/Buffer.hpp"
#include "indri/Path.hpp"
#include "indri/Parameters.hpp"
#include "indri/File.hpp"
#include "indri/ScopedLock.hpp"
#include <algorithm>

Functions

void * zlib_alloc (void *opaque, uInt items, uInt size)
void zlib_free (void *opaque, void *address)
void zlib_deflate (z_stream_s &stream, indri::file::SequentialWriteBuffer *outfile)
void zlib_deflate_finish (z_stream_s &stream, indri::file::SequentialWriteBuffer *outfile)
void zlib_read_document (z_stream_s &stream, indri::file::File &infile, UINT64 offset, indri::utility::Buffer &outputBuffer)
int copy_quad (char *buffer)
std::vector< std::string > keys_to_vector (indri::utility::HashTable< const char *, lemur::file::Keyfile * > &table)
bool keyfile_next (lemur::file::Keyfile &keyfile, char *key, int keyLength, indri::utility::Buffer &value)
bool keyfile_next (lemur::file::Keyfile &keyfile, int &key, indri::utility::Buffer &value)
void remove_deleted_entries (indri::utility::Buffer &value, indri::index::DeletedDocumentList &deletedList)
bool keyfile_get (lemur::file::Keyfile &keyfile, int key, indri::utility::Buffer &value)
bool keyfile_get (lemur::file::Keyfile &keyfile, char *key, indri::utility::Buffer &value)

Variables

const int INPUT_BUFFER_SIZE = 1024
const int OUTPUT_BUFFER_SIZE = 128*1024
const char POSITIONS_KEY [] = "#POSITIONS#"
const char TEXT_KEY [] = "#TEXT#"
const char CONTENT_KEY [] = "#CONTENT#"
const char CONTENTLENGTH_KEY [] = "#CONTENTLENGTH#"

Function Documentation

int copy_quad char *  buffer  )  [static]
 

bool keyfile_get lemur::file::Keyfile keyfile,
char *  key,
indri::utility::Buffer value
[static]
 

bool keyfile_get lemur::file::Keyfile keyfile,
int  key,
indri::utility::Buffer value
[static]
 

bool keyfile_next lemur::file::Keyfile keyfile,
int &  key,
indri::utility::Buffer value
[static]
 

bool keyfile_next lemur::file::Keyfile keyfile,
char *  key,
int  keyLength,
indri::utility::Buffer value
[static]
 

std::vector<std::string> keys_to_vector indri::utility::HashTable< const char *, lemur::file::Keyfile * > &  table  )  [static]
 

void remove_deleted_entries indri::utility::Buffer value,
indri::index::DeletedDocumentList deletedList
[static]
 

void* zlib_alloc void *  opaque,
uInt  items,
uInt  size
[static]
 

void zlib_deflate z_stream_s &  stream,
indri::file::SequentialWriteBuffer outfile
[static]
 

void zlib_deflate_finish z_stream_s &  stream,
indri::file::SequentialWriteBuffer outfile
[static]
 

void zlib_free void *  opaque,
void *  address
[static]
 

void zlib_read_document z_stream_s &  stream,
indri::file::File infile,
UINT64  offset,
indri::utility::Buffer outputBuffer
[static]
 


Variable Documentation

const char CONTENT_KEY[] = "#CONTENT#"
 

const char CONTENTLENGTH_KEY[] = "#CONTENTLENGTH#"
 

const int INPUT_BUFFER_SIZE = 1024
 

const int OUTPUT_BUFFER_SIZE = 128*1024
 

const char POSITIONS_KEY[] = "#POSITIONS#"
 

const char TEXT_KEY[] = "#TEXT#"
 


Generated on Tue Jun 15 11:02:56 2010 for Lemur by doxygen 1.3.4