Skip to content

Commit b4eb7c4

Browse files
committed
Small re-org of examples. Add README.
1 parent 3ccfcc1 commit b4eb7c4

File tree

5 files changed

+22
-63
lines changed

5 files changed

+22
-63
lines changed

examples/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
### Coherence Python Client Examples
2+
3+
All examples in this directory assume that the Coherence Python Client has
4+
been installed.
5+
6+
```bash
7+
python3 -m pip install coherence
8+
```
9+
10+
Be sure a Coherence gRPC proxy is available for the examples to work against.
11+
12+
```bash
13+
docker run -d -p 1408:1408 ghcr.io/oracle/coherence-ce:22.06.4
14+
```
15+
16+
### The Examples
17+
* basics.py - basic CRUD operations
18+
* python_object_keys_and_values.py - shows how to use standard Python objects as keys or values of a cache
19+
* filters.py - using filters to filter results
20+
* processors.py - using entry processors to mutate cache entries on the server without get/put
21+
* aggregators.py - using entry aggregators to query a subset of entries to produce a result
22+
* events.py - demonstrates cache lifecycle and cache entry events

examples/basic/README.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

examples/basic/python_object_values.py

Lines changed: 0 additions & 55 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)