CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
catalog_sql.h File Reference
#include <inttypes.h>
#include <string>
#include "compression.h"
#include "directory_entry.h"
#include "file_chunk.h"
#include "hash.h"
#include "shortstring.h"
#include "sql.h"
Include dependency graph for catalog_sql.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  catalog::CatalogDatabase
 
class  catalog::SqlCatalog
 
class  catalog::SqlDirent
 
class  catalog::SqlDirentWrite
 
class  catalog::SqlListContentHashes
 
class  catalog::SqlLookup
 
class  catalog::SqlListing
 
class  catalog::SqlLookupPathHash
 
class  catalog::SqlLookupInode
 
class  catalog::SqlLookupDanglingMountpoints
 
class  catalog::SqlDirentTouch
 
class  catalog::SqlNestedCatalogLookup
 
class  catalog::SqlNestedCatalogListing
 
class  catalog::SqlOwnNestedCatalogListing
 
class  catalog::SqlDirentInsert
 
class  catalog::SqlDirentUpdate
 
class  catalog::SqlDirentUnlink
 
class  catalog::SqlIncLinkcount
 
class  catalog::SqlChunkInsert
 
class  catalog::SqlChunksRemove
 
class  catalog::SqlChunksListing
 
class  catalog::SqlChunksCount
 
class  catalog::SqlMaxHardlinkGroup
 
class  catalog::SqlGetCounter
 
class  catalog::SqlUpdateCounter
 
class  catalog::SqlCreateCounter
 
class  catalog::SqlAllChunks
 
class  catalog::SqlLookupXattrs
 

Namespaces

 catalog
 

Macros

#define __STDC_FORMAT_MACROS
 

Macro Definition Documentation

#define __STDC_FORMAT_MACROS

This file is part of the CernVM file system.

This file provides classes to wrap often used catalog SQL statements. In particular, it wraps around sqlite3 prepared statement syntax.

Usage example: SqlLookup statement(<database>); statement.BindPathHash(<hash>); if (statement.FetchRow()) { statement.GetDirectoryEntry(<catalog>); } statement.Reset();

Definition at line 20 of file catalog_sql.h.