summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/docs/examples.dox
blob: 26167ab0631a125830be73d5a32b34fae5312c37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*!
@example ex_access.c
Create, insert and access a simple table.

@example ex_backup.c
Shows how to use log-based incremental backup.

@example ex_backup_block.c
Shows how to use block-based incremental backup.

@example ex_call_center.c
A more complex schema based on a call center example, showing how to map
some SQL constructs onto the WiredTiger API.

@example ex_col_store.c
Shows how to use a column-store with column groups using example operations.

@example ex_cursor.c
Shows some common cursor types and operations.

@example ex_encrypt.c
Shows how to extend WiredTiger with a simple encryption algorithm.

@example ex_extending.c
Shows how to extend WiredTiger with application-specific collations,
extractors and cursor types.

@example ex_extractor.c
Shows how to extend WiredTiger with a more complex custom extractor.

@example ex_file_system.c
Shows how to extend WiredTiger with a custom file-system implementation.

@example ex_hello.c
This is an example of how to create and open a database.

@example ex_log.c
Shows how to access the database log files.

@example ex_pack.c
Shows basic packing and unpacking of fields.

@cond sharing
@notyet{inter-process sharing}
@example ex_process.c
Shows how to connect to a database from multiple processes.
@endcond

@example ex_schema.c
Shows how to create column-oriented data and access individual columns.

@example ex_stat.c
Shows how to access database and table statistics.

@example ex_storage_source.c
Shows how to extend WiredTiger with a custom storage source implementation.

@example ex_thread.c
Shows how to access a database with multiple threads.

@example nop_encrypt.c
Shows the basic framework for building an encryptor as a plug in library.

@example rotn_encrypt.c
Shows a simple encryptor as a plug in library.

 */