Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #828 from komainu8/logical_range_filter_doc
doc logical_range_filter: add execution examples of logical_table Patch by Yasuhiro Horimoto. Thanks!!!
- Loading branch information
Showing
3 changed files
with
100 additions
and
4 deletions.
There are no files selected for viewing
70 changes: 70 additions & 0 deletions
70
doc/source/example/reference/commands/logical_range_filter/logical_table_existent.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| Execution example:: | ||
|
|
||
| logical_range_filter --logical_table Entries --shard_key created_at | ||
|
|
||
| # [ | ||
| # [ | ||
| # 0, | ||
| # 1519131606.676006, | ||
| # 0.0006020069122314453 | ||
| # ], | ||
| # [ | ||
| # [ | ||
| # [ | ||
| # "_key", | ||
| # "ShortText" | ||
| # ], | ||
| # [ | ||
| # "content", | ||
| # "Text" | ||
| # ], | ||
| # [ | ||
| # "created_at", | ||
| # "Time" | ||
| # ], | ||
| # [ | ||
| # "n_likes", | ||
| # "UInt32" | ||
| # ], | ||
| # [ | ||
| # "tag", | ||
| # "ShortText" | ||
| # ] | ||
| # ], | ||
| # [ | ||
| # "The first post!", | ||
| # "Welcome! This is my first post!", | ||
| # 1436281200.0, | ||
| # 5, | ||
| # "Hello" | ||
| # ], | ||
| # [ | ||
| # "Groonga", | ||
| # "I started to use Groonga. It's very fast!", | ||
| # 1436284800.0, | ||
| # 10, | ||
| # "Groonga" | ||
| # ], | ||
| # [ | ||
| # "Mroonga", | ||
| # "I also started to use Mroonga. It's also very fast! Really fast!", | ||
| # 1436288400.0, | ||
| # 15, | ||
| # "Groonga" | ||
| # ], | ||
| # [ | ||
| # "Good-bye Senna", | ||
| # "I migrated all Senna system!", | ||
| # 1436367600.0, | ||
| # 3, | ||
| # "Senna" | ||
| # ], | ||
| # [ | ||
| # "Good-bye Tritonn", | ||
| # "I also migrated all Tritonn system!", | ||
| # 1436371200.0, | ||
| # 3, | ||
| # "Senna" | ||
| # ] | ||
| # ] | ||
| # ] |
18 changes: 18 additions & 0 deletions
18
doc/source/example/reference/commands/logical_range_filter/logical_table_nonexistent.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| Execution example:: | ||
|
|
||
| logical_range_filter --logical_table Nonexistent --shard_key created_at | ||
| # [ | ||
| # [ | ||
| # -22, | ||
| # 1519132441.586192, | ||
| # 0.0005924701690673828, | ||
| # "[logical_range_filter] no shard exists: logical_table: <Nonexistent>: shard_key: <created_at>", | ||
| # [ | ||
| # [ | ||
| # "Groonga::Sharding::LogicalRangeFilterCommand::Executor.execute", | ||
| # "/tmp/local/lib/groonga/plugins/sharding/logical_range_filter.rb", | ||
| # 193 | ||
| # ] | ||
| # ] | ||
| # ] | ||
| # ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters