Type alias.
Type alias.
Type alias.
Type alias.
Operator alias for the same function putAll$.
Operator alias for the same function putAll$.
Key-value pair to store in cache.
Key-value pair to store in cache.
Optional key-value pairs to store in cache.
org.gridgain.grid.cache.GridCacheProjection#putAll(...)
Operator alias for the same function putx$.
Operator alias for the same function putx$.
Key-Value pair to store in cache.
Optional filter to check prior to putting value in cache. Note that filter check is atomic with put operation.
True if value was stored in cache, false otherwise.
org.gridgain.grid.cache.GridCacheProjection#putx(...)
Operator alias for the same function remove$.
Operator alias for the same function remove$.
1st key to remove.
2nd key to remove.
Optional sequence of additional keys to remove.
org.gridgain.grid.cache.GridCacheProjection#removeAll(...)
Operator alias for the same function remove$.
Operator alias for the same function remove$.
Key whose mapping is to be removed from cache.
Optional filters to check prior to removing value form cache. Note that filter is checked atomically together with remove operation.
Previous value associated with specified key, or null
if there was no value for this key.
org.gridgain.grid.cache.GridCacheProjection#remove(...)
Retrieves value mapped to the specified key from cache.
Retrieves value mapped to the specified key from cache. The return value of null
means entry did not pass the provided filter or cache has no mapping for the key.
Key to retrieve the value for.
Value for the given key.
Compares this cache name to the given cache name.
Compares this cache name to the given cache name.
Another cache instance to compare names with.
Returns the value associated with a key, or a default value if the key is not contained in the map.
Returns the value associated with a key, or a default value if the key is not contained in the map.
The key.
A computation that yields a default value in case key is not in cache.
The cache value associated with key if it exists, otherwise the result
of the default computation.
Gets iterator for cache entries.
Gets iterator for cache entries.
Retrieves value mapped to the specified key from cache as an option.
Retrieves value mapped to the specified key from cache as an option. The return value
of null means entry did not pass the provided filter or cache has no mapping for the key.
Key to retrieve the value for.
Filter to check prior to getting the value. Note that filter check together with getting the value is an atomic operation.
Value for the given key.
org.gridgain.grid.cache.GridCacheProjection.get(...)
Stores given key-value pair in cache.
Stores given key-value pair in cache. If filters are provided, then entries will be stored in cache only if they pass the filter. Note that filter check is atomic, so value stored in cache is guaranteed to be consistent with the filters.
If write-through is enabled, the stored value will be persisted to GridCacheStore
via GridCacheStore#put(String, GridCacheTx, Object, Object) method.
This method is transactional and will enlist the entry into ongoing transaction if there is one.
This method is not available if any of the following flags are set on projection:
GridCacheFlag#LOCAL, GridCacheFlag#READ.
Key-Value pair to store in cache.
Optional filter to check prior to putting value in cache. Note that filter check is atomic with put operation.
Previous value associated with specified key, or null
if entry did not pass the filter, or if there was no mapping for the key in swap
or in persistent storage.
org.gridgain.grid.cache.GridCacheProjection#put(...)
Stores given key-value pairs from the sequence in cache.
Stores given key-value pairs from the sequence in cache.
If write-through is enabled, the stored values will be persisted to GridCacheStore
via GridCacheStore#putAll(String, GridCacheTx, Map) method.
This method is transactional and will enlist the entry into ongoing transaction if there is one.
This method is not available if any of the following flags are set on projection:
GridCacheFlag#LOCAL, GridCacheFlag#READ.
Key-value pairs to store in cache. If null this function is no-op.
org.gridgain.grid.cache.GridCacheProjection#putAll(...)
Stores given key-value pairs in cache.
Stores given key-value pairs in cache.
If write-through is enabled, the stored values will be persisted to GridCacheStore
via GridCacheStore#putAll(String, GridCacheTx, Map) method.
This method is transactional and will enlist the entry into ongoing transaction if there is one.
This method is not available if any of the following flags are set on projection:
GridCacheFlag#LOCAL, GridCacheFlag#READ.
Key-value pair to store in cache.
Key-value pair to store in cache.
Optional key-value pairs to store in cache.
org.gridgain.grid.cache.GridCacheProjection#putAll(...)
Stores given key-value pair in cache.
Stores given key-value pair in cache. If filters are provided, then entries will be stored in cache only if they pass the filter. Note that filter check is atomic, so value stored in cache is guaranteed to be consistent with the filters.
If write-through is enabled, the stored value will be persisted to GridCacheStore
via GridCacheStore#put(String, GridCacheTx, Object, Object) method.
This method is transactional and will enlist the entry into ongoing transaction if there is one.
This method is not available if any of the following flags are set on projection:
GridCacheFlag#LOCAL, GridCacheFlag#READ.
Key-Value pair to store in cache.
Optional filter to check prior to putting value in cache. Note that filter check is atomic with put operation.
Previous value associated with specified key as an option.
org.gridgain.grid.cache.GridCacheProjection#put(...)
Stores given key-value pair in cache.
Stores given key-value pair in cache. If filters are provided, then entries will be stored in cache only if they pass the filter. Note that filter check is atomic, so value stored in cache is guaranteed to be consistent with the filters.
If write-through is enabled, the stored value will be persisted to GridCacheStore
via GridCacheStore#put(String, GridCacheTx, Object, Object) method.
This method is transactional and will enlist the entry into ongoing transaction if there is one.
This method is not available if any of the following flags are set on projection:
GridCacheFlag#LOCAL, GridCacheFlag#READ.
Key-Value pair to store in cache.
Optional filter to check prior to putting value in cache. Note that filter check is atomic with put operation.
True if value was stored in cache, false otherwise.
org.gridgain.grid.cache.GridCacheProjection#putx(...)
Removes given key mapping from cache.
Removes given key mapping from cache. If cache previously contained value for the given key,
then this value is returned. Otherwise, in case of GridCacheMode#REPLICATED caches,
the value will be loaded from swap and, if it's not there, and read-through is allowed,
from the underlying GridCacheStore storage. In case of GridCacheMode#PARTITIONED
caches, the value will be loaded from the primary node, which in its turn may load the value
from the swap storage, and consecutively, if it's not in swap and read-through is allowed,
from the underlying persistent storage. If value has to be loaded from persistent
storage, GridCacheStore#load(String, GridCacheTx, Object) method will be used.
If the returned value is not needed, method removex$(...) should
always be used instead of this one to avoid the overhead associated with returning of the
previous value.
If write-through is enabled, the value will be removed from 'GridCacheStore'
via GridCacheStore#remove(String, GridCacheTx, Object) method.
This method is transactional and will enlist the entry into ongoing transaction if there is one.
This method is not available if any of the following flags are set on projection:
GridCacheFlag#LOCAL, GridCacheFlag#READ.
Key whose mapping is to be removed from cache.
Optional filters to check prior to removing value form cache. Note that filter is checked atomically together with remove operation.
Previous value associated with specified key, or null
if there was no value for this key.
org.gridgain.grid.cache.GridCacheProjection#remove(...)
Removes given key mappings from cache.
Removes given key mappings from cache.
If write-through is enabled, the values will be removed from GridCacheStore
via GridCacheStore#removeAll(String, GridCacheTx, Collection) method.
This method is transactional and will enlist the entry into ongoing transaction if there is one.
This method is not available if any of the following flags are set on projection:
GridCacheFlag#LOCAL, GridCacheFlag#READ.
1st key to remove.
2nd key to remove.
Optional sequence of additional keys to remove.
org.gridgain.grid.cache.GridCacheProjection#removeAll(...)
Removes given key mappings from cache.
Removes given key mappings from cache.
If write-through is enabled, the values will be removed from GridCacheStore
via GridCacheStore#removeAll(String, GridCacheTx, Collection) method.
This method is transactional and will enlist the entry into ongoing transaction if there is one.
This method is not available if any of the following flags are set on projection:
GridCacheFlag#LOCAL, GridCacheFlag#READ.
Sequence of additional keys to remove. If null - this function is no-op.
org.gridgain.grid.cache.GridCacheProjection#removeAll(...)
Removes given key mapping from cache.
Removes given key mapping from cache. If cache previously contained value for the given key,
then this value is returned. Otherwise, in case of GridCacheMode#REPLICATED caches,
the value will be loaded from swap and, if it's not there, and read-through is allowed,
from the underlying GridCacheStore storage. In case of GridCacheMode#PARTITIONED
caches, the value will be loaded from the primary node, which in its turn may load the value
from the swap storage, and consecutively, if it's not in swap and read-through is allowed,
from the underlying persistent storage. If value has to be loaded from persistent
storage, GridCacheStore#load(String, GridCacheTx, Object) method will be used.
If the returned value is not needed, method removex$(...) should
always be used instead of this one to avoid the overhead associated with returning of the
previous value.
If write-through is enabled, the value will be removed from 'GridCacheStore'
via GridCacheStore#remove(String, GridCacheTx, Object) method.
This method is transactional and will enlist the entry into ongoing transaction if there is one.
This method is not available if any of the following flags are set on projection:
GridCacheFlag#LOCAL, GridCacheFlag#READ.
Key whose mapping is to be removed from cache.
Optional filters to check prior to removing value form cache. Note that filter is checked atomically together with remove operation.
Previous value associated with specified key as an option.
org.gridgain.grid.cache.GridCacheProjection#remove(...)
Creates and executes ad-hoc SCAN query on global projection returning its result.
Creates and executes ad-hoc SCAN query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Collection of cache key-value pairs.
Creates and executes ad-hoc SCAN query on global projection returning its result.
Creates and executes ad-hoc SCAN query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Collection of cache key-value pairs.
Creates and executes ad-hoc SCAN query on given projection returning its result.
Creates and executes ad-hoc SCAN query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Grid projection on which this query will be executed. If null the
global projection will be used.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Collection of cache key-value pairs.
Creates and executes ad-hoc SCAN query on given projection returning its result.
Creates and executes ad-hoc SCAN query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Collection of cache key-value pairs.
Creates and executes ad-hoc SCAN reduce query on global projection returning its result.
Creates and executes ad-hoc SCAN reduce query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Reduce function that will be called on local node.
Reduced value.
Creates and executes ad-hoc SCAN reduce query on global projection returning its result.
Creates and executes ad-hoc SCAN reduce query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Reduce function that will be called on local node.
Reduced value.
Creates and executes ad-hoc SCAN reduce query on given projection returning its result.
Creates and executes ad-hoc SCAN reduce query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Grid projection on which this query will be executed. If null the
global projection will be used.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Reduce function that will be called on local node.
Reduced value.
Creates and executes ad-hoc SCAN reduce query on given projection returning its result.
Creates and executes ad-hoc SCAN reduce query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Reduce function that will be called on local node.
Reduced value.
Creates and executes ad-hoc SCAN reduce query on global projection returning its result.
Creates and executes ad-hoc SCAN reduce query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Collection of reduced values.
Creates and executes ad-hoc SCAN reduce query on global projection returning its result.
Creates and executes ad-hoc SCAN reduce query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Collection of reduced values.
Creates and executes ad-hoc SCAN reduce query on given projection returning its result.
Creates and executes ad-hoc SCAN reduce query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Grid projection on which this query will be executed. If null the global projection will be used.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Collection of reduced values.
Creates and executes ad-hoc SCAN reduce query on given projection returning its result.
Creates and executes ad-hoc SCAN reduce query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Collection of reduced values.
(Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.
Creates and executes ad-hoc SCAN transform query on global projection returning its result.
Creates and executes ad-hoc SCAN transform query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Transform function that will be applied to each returned value.
Collection of cache key-value pairs.
Creates and executes ad-hoc SCAN transform query on global projection returning its result.
Creates and executes ad-hoc SCAN transform query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Transform function that will be applied to each returned value.
Collection of cache key-value pairs.
Creates and executes ad-hoc SCAN transform query on given projection returning its result.
Creates and executes ad-hoc SCAN transform query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Grid projection on which this query will be executed. If null the global projection will be used.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Transform function that will be applied to each returned value.
Collection of cache key-value pairs.
Creates and executes ad-hoc SCAN transform query on given projection returning its result.
Creates and executes ad-hoc SCAN transform query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.
Transform function that will be applied to each returned value.
Collection of cache key-value pairs.
Creates and executes ad-hoc SQL query on global projection returning its result.
Creates and executes ad-hoc SQL query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Query SQL clause. See GridCacheQuery for more details.
Optional list of query arguments.
Collection of cache key-value pairs.
Creates and executes ad-hoc SQL query on global projection returning its result.
Creates and executes ad-hoc SQL query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query SQL clause. See GridCacheQuery for more details.
Optional list of query arguments.
Collection of cache key-value pairs.
Creates and executes ad-hoc SQL query on given projection returning its result.
Creates and executes ad-hoc SQL query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query SQL clause. See GridCacheQuery for more details.
Optional list of query arguments.
Collection of cache key-value pairs.
Creates and executes ad-hoc SQL query on given projection returning its result.
Creates and executes ad-hoc SQL query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query SQL clause. See GridCacheQuery for more details.
Collection of cache key-value pairs.
Creates and executes ad-hoc SQL query on given projection returning its result.
Creates and executes ad-hoc SQL query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query SQL clause. See GridCacheQuery for more details.
Optional list of query arguments.
Collection of cache key-value pairs.
Creates and executes ad-hoc SQL no-arg fields query on given projection returning its result.
Creates and executes ad-hoc SQL no-arg fields query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Optional grid projection on which this query will be executed. If null the
global projection will be used.
Query SQL clause. See GridCacheQuery for more details.
Sequence of sequences of field values.
Creates and executes ad-hoc SQL fields query on given projection returning its result.
Creates and executes ad-hoc SQL fields query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Optional grid projection on which this query will be executed. If null the
global projection will be used.
Query SQL clause. See GridCacheQuery for more details.
Optional list of query arguments.
Sequence of sequences of field values.
Creates and executes ad-hoc SQL reduce query on global projection returning its result.
Creates and executes ad-hoc SQL reduce query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Query SQL clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Reduce function that will be called on local node.
Optional list of query arguments.
Reduced value.
Creates and executes ad-hoc SQL reduce query on global projection returning its result.
Creates and executes ad-hoc SQL reduce query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query SQL clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Reduce function that will be called on local node.
Optional list of query arguments.
Reduced value.
Creates and executes ad-hoc SQL reduce query on given projection returning its result.
Creates and executes ad-hoc SQL reduce query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query SQL clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Reduce function that will be called on local node.
Optional list of query arguments.
Reduced value.
Creates and executes ad-hoc SQL reduce query on given projection returning its result.
Creates and executes ad-hoc SQL reduce query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query SQL clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Reduce function that will be called on local node.
Reduced value.
Creates and executes ad-hoc SQL reduce query on given projection returning its result.
Creates and executes ad-hoc SQL reduce query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query SQL clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Reduce function that will be called on local node.
Optional list of query arguments.
Reduced value.
Creates and executes ad-hoc SQL reduce query on global projection returning its result.
Creates and executes ad-hoc SQL reduce query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Query SQL clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Optional list of query arguments.
Collection of reduced values.
Creates and executes ad-hoc SQL reduce query on global projection returning its result.
Creates and executes ad-hoc SQL reduce query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query SQL clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Optional list of query arguments.
Collection of reduced values.
Creates and executes ad-hoc SQL reduce query on given projection returning its result.
Creates and executes ad-hoc SQL reduce query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query SQL clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Optional list of query arguments.
Collection of reduced values.
Creates and executes ad-hoc SQL reduce query on given projection returning its result.
Creates and executes ad-hoc SQL reduce query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query SQL clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Collection of reduced values.
Creates and executes ad-hoc SQL reduce query on given projection returning its result.
Creates and executes ad-hoc SQL reduce query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query SQL clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Optional list of query arguments.
Collection of reduced values.
Creates and executes ad-hoc SQL transform query on global projection returning its result.
Creates and executes ad-hoc SQL transform query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Query SQL clause. See GridCacheQuery for more details.
Transform function that will be applied to each returned value.
Optional list of query arguments.
Collection of cache key-value pairs.
Creates and executes ad-hoc SQL transform query on global projection returning its result.
Creates and executes ad-hoc SQL transform query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query SQL clause. See GridCacheQuery for more details.
Transform function that will be applied to each returned value.
Optional list of query arguments.
Collection of cache key-value pairs.
Creates and executes ad-hoc SQL transform query on given projection returning its result.
Creates and executes ad-hoc SQL transform query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query SQL clause. See GridCacheQuery for more details.
Transform function that will be applied to each returned value.
Optional list of query arguments.
Collection of cache key-value pairs.
Creates and executes ad-hoc SQL transform query on given projection returning its result.
Creates and executes ad-hoc SQL transform query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query SQL clause. See GridCacheQuery for more details.
Transform function that will be applied to each returned value.
Collection of cache key-value pairs.
Creates and executes ad-hoc SQL transform query on given projection returning its result.
Creates and executes ad-hoc SQL transform query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query SQL clause. See GridCacheQuery for more details.
Transform function that will be applied to each returned value.
Optional list of query arguments.
Collection of cache key-value pairs.
Creates and executes ad-hoc TEXT query on global projection returning its result.
Creates and executes ad-hoc TEXT query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Query text clause. See GridCacheQuery for more details.
Collection of cache key-value pairs.
Creates and executes ad-hoc TEXT query on global projection returning its result.
Creates and executes ad-hoc TEXT query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query text clause. See GridCacheQuery for more details.
Collection of cache key-value pairs.
Creates and executes ad-hoc TEXT query on given projection returning its result.
Creates and executes ad-hoc TEXT query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query text clause. See GridCacheQuery for more details.
Collection of cache key-value pairs.
Creates and executes ad-hoc TEXT query on given projection returning its result.
Creates and executes ad-hoc TEXT query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query text clause. See GridCacheQuery for more details.
Collection of cache key-value pairs.
Creates and executes ad-hoc TEXT reduce query on global projection returning its result.
Creates and executes ad-hoc TEXT reduce query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Query text clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Reduce function that will be called on local node.
Reduced value.
Creates and executes ad-hoc TEXT reduce query on global projection returning its result.
Creates and executes ad-hoc TEXT reduce query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query text clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Reduce function that will be called on local node.
Reduced value.
Creates and executes ad-hoc TEXT reduce query on given projection returning its result.
Creates and executes ad-hoc TEXT reduce query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query text clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Reduce function that will be called on local node.
Reduced value.
Creates and executes ad-hoc TEXT reduce query on given projection returning its result.
Creates and executes ad-hoc TEXT reduce query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query text clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Reduce function that will be called on local node.
Reduced value.
Creates and executes ad-hoc TEXT reduce query on global projection returning its result.
Creates and executes ad-hoc TEXT reduce query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Query text clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Collection of reduced values.
Creates and executes ad-hoc TEXT reduce query on global projection returning its result.
Creates and executes ad-hoc TEXT reduce query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query text clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Collection of reduced values.
Creates and executes ad-hoc TEXT reduce query on given projection returning its result.
Creates and executes ad-hoc TEXT reduce query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query text clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Collection of reduced values.
Creates and executes ad-hoc TEXT reduce query on given projection returning its result.
Creates and executes ad-hoc TEXT reduce query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query text clause. See GridCacheQuery for more details.
Reduce function that will be called on each remote node.
Collection of reduced values.
Creates and executes ad-hoc TEXT transform query on global projection returning its result.
Creates and executes ad-hoc TEXT transform query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Query text clause. See GridCacheQuery for more details.
Transform function that will be applied to each returned value.
Collection of cache key-value pairs.
Creates and executes ad-hoc TEXT transform query on global projection returning its result.
Creates and executes ad-hoc TEXT transform query on global projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query text clause. See GridCacheQuery for more details.
Transform function that will be applied to each returned value.
Collection of cache key-value pairs.
Creates and executes ad-hoc TEXT transform query on given projection returning its result.
Creates and executes ad-hoc TEXT transform query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Note that query value class will be taken implicitly as exact type V of this
cache projection.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query text clause. See GridCacheQuery for more details.
Transform function that will be applied to each returned value.
Collection of cache key-value pairs.
Creates and executes ad-hoc TEXT transform query on given projection returning its result.
Creates and executes ad-hoc TEXT transform query on given projection returning its result.
Note that if query is executed more than once (potentially with different
arguments) it is more performant to create query via standard mechanism
and execute it multiple times with different arguments. The analogy is
similar to JDBC PreparedStatement. Note also that this function will return
all results at once without pagination and therefore memory limits should be
taken into account.
Grid projection on which this query will be executed. If null the
global projection will be used.
Query values class. Since cache can, in general, contain values of any subtype of V
query needs to know the exact type it should operate on.
Query text clause. See GridCacheQuery for more details.
Transform function that will be applied to each returned value.
Collection of cache key-value pairs.
(Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.
Gets cache projection based on given entry filter.
Gets cache projection based on given entry filter. This filter will be simply passed through
to all cache operations on this projection. Unlike viewByKv function, this filter
will not be used for pre-filtering.
Filter to be passed through to all cache operations. If null, then the
same projection is returned. If cache operation receives its own filter, then filters
will be anded.
Projection based on given filter.
org.gridgain.grid.cache.GridCacheProjection.projection(...)
Gets cache projection based on given key-value predicate.
Gets cache projection based on given key-value predicate. Whenever makes sense, this predicate will be used to pre-filter cache operations. If operation passed pre-filtering, this filter will be passed through to cache operations as well.
Key-value predicate for this projection. If null, then the
same projection is returned.
Projection for given key-value predicate.
org.gridgain.grid.cache.GridCacheProjection.projection(...)
Gets cache projection only for given key and value type.
Gets cache projection only for given key and value type. Only non-null key-value
pairs that have matching key and value pairs will be used in this projection.
Note that this method should be used instead of projection(...) on Java side as
it properly converts types from Scala counterparts to Java ones.
The resulting projection will have flag GridCacheFlag#STRICT set on it.
Key type.
Value type.
Cache projection for given key and value types.
org.gridgain.grid.cache.GridCacheProjection.projection(...)
|
|
Overview
Defines Scalar "pimp" for
GridCacheon Java side.Essentially this class extends Java
GridProjectioninterface with Scala specific API adapters using primarily implicit conversions defined inScalarConversionsobject. What it means is that you can use functions defined in this class on object of JavaGridProjectiontype. Scala will automatically (implicitly) convert it into Scalar's pimp and replace the original call with a call on that pimp.Note that Scalar provide extensive library of implicit conversion between Java and Scala GridGain counterparts in
ScalarConversionsobjectSuffix '$' In Names
Symbol
$is used in names when they conflict with the names in the base Java class that Scala pimp is shadowing or with Java package name that your Scala code is importing. Instead of giving two different names to the same function we've decided to simply mark Scala's side method with$suffix.