B-Trees
B-tree implementation in C++ to index documents based on numerical id's and title strings.
Commands.hpp
Go to the documentation of this file.
1 #ifndef _COMMANDS_HPP_INCLUDED_
2 #define _COMMANDS_HPP_INCLUDED_
3 
5 
34 void upload(const char* filePath);
35 
37 
45 void findrec(long id);
46 
48 
54 void seek1(long id);
55 
57 
67 void seek2(const char* title);
68 
69 #endif
void upload(const char *filePath)
Receives a CSV file and creates a database based on its contents.
Definition: Commands.cpp:226
void seek1(long id)
Seeks an entry by its id using the primary index.
Definition: Commands.cpp:418
void findrec(long id)
Finds an entry in the hashfile based on the entry's id.
Definition: Commands.cpp:394
void seek2(const char *title)
Seeks an entry by its title using the secondary index.
Definition: Commands.cpp:450