|
1 | | -.. Licensed to the Apache Software Foundation (ASF) under one or more |
2 | | - contributor license agreements. See the NOTICE file distributed with |
3 | | - this work for additional information regarding copyright ownership. |
4 | | - The ASF licenses this file to You under the Apache License, Version 2.0 |
5 | | - (the "License"); you may not use this file except in compliance with |
6 | | - the License. You may obtain a copy of the License at |
| 1 | +.. Copyright 2019 GridGain Systems, Inc. and Contributors. |
7 | 2 |
|
8 | | -.. http://www.apache.org/licenses/LICENSE-2.0 |
| 3 | +.. Licensed under the GridGain Community Edition License (the "License"); |
| 4 | + you may not use this file except in compliance with the License. |
| 5 | + You may obtain a copy of the License at |
| 6 | +
|
| 7 | +.. https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license |
9 | 8 |
|
10 | 9 | .. Unless required by applicable law or agreed to in writing, software |
11 | 10 | distributed under the License is distributed on an "AS IS" BASIS, |
|
19 | 18 | Cache Properties |
20 | 19 | ================ |
21 | 20 |
|
22 | | -The :mod:`~pyignite.datatypes.prop_codes` module contains a list of ordinal |
| 21 | +The :mod:`~pygridgain.datatypes.prop_codes` module contains a list of ordinal |
23 | 22 | values, that represent various cache settings. |
24 | 23 |
|
25 | | -Please refer to the `Apache Ignite Data Grid`_ documentation on cache |
| 24 | +Please refer to the `GridGain Data Grid`_ documentation on cache |
26 | 25 | synchronization, rebalance, affinity and other cache configuration-related |
27 | 26 | matters. |
28 | 27 |
|
29 | 28 | +---------------------------------------+----------+----------+-------------------------------------------------------+ |
30 | 29 | | Property | Ordinal | Property | Description | |
31 | 30 | | name | value | type | | |
32 | 31 | +=======================================+==========+==========+=======================================================+ |
33 | | -| Read/write cache properties, used to configure cache via :py:meth:`~pyignite.client.Client.create_cache` or | |
34 | | -| :py:meth:`~pyignite.client.Client.get_or_create_cache` | |
| 32 | +| Read/write cache properties, used to configure cache via :py:meth:`~pygridgain.client.Client.create_cache` or | |
| 33 | +| :py:meth:`~pygridgain.client.Client.get_or_create_cache` | |
35 | 34 | +---------------------------------------+----------+----------+-------------------------------------------------------+ |
36 | 35 | | PROP_NAME | 0 | str | Cache name. This is the only *required* property. | |
37 | 36 | +---------------------------------------+----------+----------+-------------------------------------------------------+ |
@@ -96,7 +95,7 @@ matters. |
96 | 95 | +---------------------------------------+----------+----------+-------------------------------------------------------+ |
97 | 96 | | PROP_STATISTICS_ENABLED | 406 | bool | Statistics enabled | |
98 | 97 | +---------------------------------------+----------+----------+-------------------------------------------------------+ |
99 | | -| Read-only cache properties. Can not be set, but only retrieved via :py:meth:`~pyignite.cache.Cache.settings` | |
| 98 | +| Read-only cache properties. Can not be set, but only retrieved via :py:meth:`~pygridgain.cache.Cache.settings` | |
100 | 99 | +---------------------------------------+----------+----------+-------------------------------------------------------+ |
101 | 100 | | PROP_INVALIDATE | -1 | bool | Invalidate | |
102 | 101 | +---------------------------------------+----------+----------+-------------------------------------------------------+ |
@@ -130,7 +129,7 @@ Query field |
130 | 129 | - `is_key_field`: (optional) boolean value, `False` by default, |
131 | 130 | - `is_notnull_constraint_field`: boolean value, |
132 | 131 | - `default_value`: (optional) anything that can be converted to `type_name` |
133 | | - type. `None` (:py:class:`~pyignite.datatypes.null_object.Null`) by default, |
| 132 | + type. `None` (:py:class:`~pygridgain.datatypes.null_object.Null`) by default, |
134 | 133 | - `precision` − (optional) decimal precision: total number of digits |
135 | 134 | in decimal value. Defaults to -1 (use cluster default). Ignored for |
136 | 135 | non-decimal SQL types (other than `java.math.BigDecimal`), |
@@ -160,4 +159,4 @@ A dict of the following format: |
160 | 159 | - `type_name`: name of the complex object, |
161 | 160 | - `affinity_key_field_name`: name of the affinity key field. |
162 | 161 |
|
163 | | -.. _Apache Ignite Data Grid: https://apacheignite.readme.io/docs/data-grid |
| 162 | +.. _GridGain Data Grid: https://www.gridgain.com/technology/in-memory-computing-platform/data-grid |
0 commit comments