summaryrefslogtreecommitdiff
path: root/dist/api_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'dist/api_data.py')
-rw-r--r--dist/api_data.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/dist/api_data.py b/dist/api_data.py
index a86647a27f2..f58a48b4a0b 100644
--- a/dist/api_data.py
+++ b/dist/api_data.py
@@ -772,6 +772,33 @@ methods = {
type='boolean'),
]),
+'WT_SESSION.join' : Method([
+ Config('compare', '"eq"', r'''
+ modifies the set of items to be returned so that the index key
+ satisfies the given comparison relative to the key set in this
+ cursor''',
+ choices=['eq', 'ge', 'gt', 'le', 'lt']),
+ Config('count', '', r'''
+ set an approximate count of the elements that would be included in
+ the join. This is used in sizing the bloom filter, and also influences
+ evaluation order for cursors in the join. When the count is equal
+ for multiple bloom filters in a composition of joins, the bloom
+ filter may be shared''',
+ type='int'),
+ Config('bloom_bit_count', '16', r'''
+ the number of bits used per item for the bloom filter''',
+ min='2', max='1000'),
+ Config('bloom_hash_count', '8', r'''
+ the number of hash values per item for the bloom filter''',
+ min='2', max='100'),
+ Config('strategy', '', r'''
+ when set to bloom, a bloom filter is created and populated for
+ this index. This has an up front cost but may reduce the number
+ of accesses to the main table when iterating the joined cursor.
+ The bloom setting requires that count be set''',
+ choices=['bloom', 'default']),
+]),
+
'WT_SESSION.log_flush' : Method([
Config('sync', 'on', r'''
forcibly flush the log and wait for it to achieve the synchronization