mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-28 17:51:06 -06:00
add collection bindings example
This commit is contained in:
parent
eb470df351
commit
8992dd12b9
21
nb/src/main/resources/examples/bindings-collections.yaml
Normal file
21
nb/src/main/resources/examples/bindings-collections.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
description: examples of collections bindings
|
||||
|
||||
scenarios:
|
||||
default:
|
||||
stdout: run driver===stdout format=readout
|
||||
|
||||
bindings:
|
||||
# This will always create a list like [5L, "five", "5-six"]
|
||||
list_functions: ListFunctions(Identity(),NumberNameToString(), Template("{}-{}",Identity(),NumberNameToString()));
|
||||
list_stepped: ListStepped(Identity(),NumberNameToString(),NumberNameToString())
|
||||
list_hashed: ListHashed(Identity(),ToString())
|
||||
list_sized: ListSized(HashRange(3,4),Identity(),NumberNameToString()))
|
||||
list_sized_stepped: ListSizedStepped(HashRange(3,4),Identity(),NumberNameToString()))
|
||||
list_sized_hashed: ListSizedHashed(HashRange(3,4),Identity(),ToString()))
|
||||
set_functions: SetFunctions(Identity(),NumberNameToString(), Template("{}-{}",Identity(),NumberNameToString()));
|
||||
set_stepped: SetStepped(Identity(),NumberNameToString(),NumberNameToString())
|
||||
set_hashed: SetHashed(Identity(),ToString())
|
||||
set_sized: SetSized(HashRange(3,4),Identity(),NumberNameToString()))
|
||||
set_sized_stepped: SetSizedStepped(HashRange(3,4),Identity(),NumberNameToString()))
|
||||
set_sized_hashed: SetSizedHashed(HashRange(3,4),Identity(),ToString()))
|
||||
|
Loading…
Reference in New Issue
Block a user