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.
IgniteCache#putAll(...)
Operator alias for the same function putx$
.
Operator alias for the same function putx$
.
Key-Value pair to store in cache.
True
if value was stored in cache, false
otherwise.
IgniteCache#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.
IgniteCache#removeAll(...)
Operator alias for the same function remove$
.
Operator alias for the same function remove$
.
Key whose mapping is to be removed from cache.
Previous value associated with specified key, or null
if there was no value for this key.
IgniteCache#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.
Value for the given key.
IgniteCache.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.
Key-Value pair to store in cache.
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.
IgniteCache#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.
Key-value pairs to store in cache. If null
this function is no-op.
IgniteCache#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.
Key-value pair to store in cache.
Key-value pair to store in cache.
Optional key-value pairs to store in cache.
IgniteCache#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.
Key-Value pair to store in cache.
Previous value associated with specified key as an option.
IgniteCache#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.
Key-Value pair to store in cache.
True
if value was stored in cache, false
otherwise.
IgniteCache#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 CacheMode#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 CacheMode#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.
Key whose mapping is to be removed from cache.
Previous value associated with specified key, or null
if there was no value for this key.
IgniteCache#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.
1st key to remove.
2nd key to remove.
Optional sequence of additional keys to remove.
IgniteCache#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.
Sequence of additional keys to remove. If null
- this function is no-op.
IgniteCache#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 CacheMode#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 CacheMode#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.
Key whose mapping is to be removed from cache.
Previous value associated with specified key as an option.
IgniteCache#remove(...)
Creates and executes ad-hoc SCAN
query returning its result.
Creates and executes ad-hoc SCAN
query 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 CacheQuery
for more details.
Collection of cache key-value pairs.
Creates and executes ad-hoc SCAN
query returning its result.
Creates and executes ad-hoc SCAN
query 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 CacheQuery
for more details.
Collection of cache key-value pairs.
(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 SQL
query returning its result.
Creates and executes ad-hoc SQL
query 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 CacheQuery
for more details.
Optional list of query arguments.
Collection of cache key-value pairs.
Creates and executes ad-hoc SQL
query returning its result.
Creates and executes ad-hoc SQL
query 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 CacheQuery
for more details.
Collection of cache key-value pairs.
Creates and executes ad-hoc SQL
query returning its result.
Creates and executes ad-hoc SQL
query 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 CacheQuery
for more details.
Optional list of query arguments.
Collection of cache key-value pairs.
Creates and executes ad-hoc SQL
no-arg fields query returning its result.
Creates and executes ad-hoc SQL
no-arg fields query 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 SQL clause. See CacheQuery
for more details.
Sequence of sequences of field values.
Creates and executes ad-hoc SQL
fields query returning its result.
Creates and executes ad-hoc SQL
fields query 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 SQL clause. See CacheQuery
for more details.
Optional list of query arguments.
Sequence of sequences of field values.
Creates and executes ad-hoc TEXT
query returning its result.
Creates and executes ad-hoc TEXT
query 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 CacheQuery
for more details.
Collection of cache key-value pairs.
Creates and executes ad-hoc TEXT
query returning its result.
Creates and executes ad-hoc TEXT
query 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 CacheQuery
for more details.
Collection of cache key-value pairs.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
Overview
Defines Scalar "pimp" for
IgniteCache
on Java side.Essentially this class extends Java
IgniteCache
interface with Scala specific API adapters using primarily implicit conversions defined inScalarConversions
object. What it means is that you can use functions defined in this class on object of JavaIgniteCache
type. 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 Ignite counterparts in
ScalarConversions
objectSuffix '$' 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.