org.gridgain.scalar.pimps

ScalarCachePimp

class ScalarCachePimp[K, V] extends ScalarCacheProjectionPimp[K, V] with Ordered[GridCache[K, V]]

Overview

Defines Scalar "pimp" for GridCache on Java side.

Essentially this class extends Java GridProjection interface with Scala specific API adapters using primarily implicit conversions defined in ScalarConversions object. What it means is that you can use functions defined in this class on object of Java GridProjection 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 GridGain counterparts in ScalarConversions object

Suffix '$' 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.

Linear Supertypes
Ordered[GridCache[K, V]], Comparable[GridCache[K, V]], ScalarCacheProjectionPimp[K, V], Iterable[GridCacheEntry[K, V]], IterableLike[GridCacheEntry[K, V], Iterable[GridCacheEntry[K, V]]], Equals, GenIterable[GridCacheEntry[K, V]], GenIterableLike[GridCacheEntry[K, V], Iterable[GridCacheEntry[K, V]]], Traversable[GridCacheEntry[K, V]], GenTraversable[GridCacheEntry[K, V]], GenericTraversableTemplate[GridCacheEntry[K, V], Iterable], TraversableLike[GridCacheEntry[K, V], Iterable[GridCacheEntry[K, V]]], GenTraversableLike[GridCacheEntry[K, V], Iterable[GridCacheEntry[K, V]]], Parallelizable[GridCacheEntry[K, V], ParIterable[GridCacheEntry[K, V]]], TraversableOnce[GridCacheEntry[K, V]], GenTraversableOnce[GridCacheEntry[K, V]], FilterMonadic[GridCacheEntry[K, V], Iterable[GridCacheEntry[K, V]]], HasNewBuilder[GridCacheEntry[K, V], Iterable[org.gridgain.grid.cache.GridCacheEntry[K,V]] @scala.annotation.unchecked.uncheckedVariance], PimpedType[GridCacheProjection[K, V]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalarCachePimp
  2. Ordered
  3. Comparable
  4. ScalarCacheProjectionPimp
  5. Iterable
  6. IterableLike
  7. Equals
  8. GenIterable
  9. GenIterableLike
  10. Traversable
  11. GenTraversable
  12. GenericTraversableTemplate
  13. TraversableLike
  14. GenTraversableLike
  15. Parallelizable
  16. TraversableOnce
  17. GenTraversableOnce
  18. FilterMonadic
  19. HasNewBuilder
  20. PimpedType
  21. AnyRef
  22. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalarCachePimp()

Type Members

  1. type EntryPred = (GridCacheEntry[K, V]) ? Boolean

    Type alias.

    Type alias.

    Attributes
    protected
    Definition Classes
    ScalarCacheProjectionPimp
  2. type KvPred = (K, V) ? Boolean

    Type alias.

    Type alias.

    Attributes
    protected
    Definition Classes
    ScalarCacheProjectionPimp
  3. type Self = Iterable[GridCacheEntry[K, V]]

    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  4. class WithFilter extends FilterMonadic[A, Repr]

    Definition Classes
    TraversableLike

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef ? Any
  2. final def ##(): Int

    Definition Classes
    AnyRef ? Any
  3. def ++[B >: GridCacheEntry[K, V], That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[GridCacheEntry[K, V]], B, That]): That

    Definition Classes
    TraversableLike ? GenTraversableLike
  4. def ++:[B >: GridCacheEntry[K, V], That](that: Traversable[B])(implicit bf: CanBuildFrom[Iterable[GridCacheEntry[K, V]], B, That]): That

    Definition Classes
    TraversableLike
  5. def ++:[B >: GridCacheEntry[K, V], That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[GridCacheEntry[K, V]], B, That]): That

    Definition Classes
    TraversableLike
  6. def +=(kv1: (K, V), kv2: (K, V), kvs: (K, V)*): Unit

    Operator alias for the same function putAll$.

    Operator alias for the same function putAll$.

    kv1

    Key-value pair to store in cache.

    kv2

    Key-value pair to store in cache.

    kvs

    Optional key-value pairs to store in cache.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection#putAll(...)

  7. def +=(kv: (K, V), p: EntryPred*): Boolean

    Operator alias for the same function putx$.

    Operator alias for the same function putx$.

    kv

    Key-Value pair to store in cache.

    p

    Optional filter to check prior to putting value in cache. Note that filter check is atomic with put operation.

    returns

    True if value was stored in cache, false otherwise.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection#putx(...)

  8. def -=(k1: K, k2: K, ks: K*): Unit

    Operator alias for the same function remove$.

    Operator alias for the same function remove$.

    k1

    1st key to remove.

    k2

    2nd key to remove.

    ks

    Optional sequence of additional keys to remove.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection#removeAll(...)

  9. def -=(k: K, p: EntryPred*): V

    Operator alias for the same function remove$.

    Operator alias for the same function remove$.

    k

    Key whose mapping is to be removed from cache.

    p

    Optional filters to check prior to removing value form cache. Note that filter is checked atomically together with remove operation.

    returns

    Previous value associated with specified key, or null if there was no value for this key.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection#remove(...)

  10. def /:[B](z: B)(op: (B, GridCacheEntry[K, V]) ? B): B

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  11. def :\[B](z: B)(op: (GridCacheEntry[K, V], B) ? B): B

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  12. def <(that: GridCache[K, V]): Boolean

    Definition Classes
    Ordered
  13. def <=(that: GridCache[K, V]): Boolean

    Definition Classes
    Ordered
  14. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef ? Any
  15. def >(that: GridCache[K, V]): Boolean

    Definition Classes
    Ordered
  16. def >=(that: GridCache[K, V]): Boolean

    Definition Classes
    Ordered
  17. def addString(b: StringBuilder): StringBuilder

    Definition Classes
    TraversableOnce
  18. def addString(b: StringBuilder, sep: String): StringBuilder

    Definition Classes
    TraversableOnce
  19. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
    TraversableOnce
  20. def aggregate[B](z: ? B)(seqop: (B, GridCacheEntry[K, V]) ? B, combop: (B, B) ? B): B

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  21. def apply(k: K): V

    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.

    k

    Key to retrieve the value for.

    returns

    Value for the given key.

    Definition Classes
    ScalarCacheProjectionPimp
  22. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  23. def canEqual(that: Any): Boolean

    Definition Classes
    IterableLike ? Equals
  24. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def collect[B, That](pf: PartialFunction[GridCacheEntry[K, V], B])(implicit bf: CanBuildFrom[Iterable[GridCacheEntry[K, V]], B, That]): That

    Definition Classes
    TraversableLike ? GenTraversableLike
  26. def collectFirst[B](pf: PartialFunction[GridCacheEntry[K, V], B]): Option[B]

    Definition Classes
    TraversableOnce
  27. def companion: GenericCompanion[Iterable]

    Definition Classes
    Iterable ? GenIterable ? Traversable ? GenTraversable ? GenericTraversableTemplate
  28. def compare(that: GridCache[K, V]): Int

    Compares this cache name to the given cache name.

    Compares this cache name to the given cache name.

    that

    Another cache instance to compare names with.

    Definition Classes
    ScalarCachePimp ? Ordered
  29. def compareTo(that: GridCache[K, V]): Int

    Definition Classes
    Ordered ? Comparable
  30. def copyToArray[B >: GridCacheEntry[K, V]](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    IterableLike ? TraversableLike ? TraversableOnce ? GenTraversableOnce
  31. def copyToArray[B >: GridCacheEntry[K, V]](xs: Array[B]): Unit

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  32. def copyToArray[B >: GridCacheEntry[K, V]](xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  33. def copyToBuffer[B >: GridCacheEntry[K, V]](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  34. def count(p: (GridCacheEntry[K, V]) ? Boolean): Int

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  35. def drop(n: Int): Iterable[GridCacheEntry[K, V]]

    Definition Classes
    IterableLike ? TraversableLike ? GenTraversableLike
  36. def dropRight(n: Int): Iterable[GridCacheEntry[K, V]]

    Definition Classes
    IterableLike
  37. def dropWhile(p: (GridCacheEntry[K, V]) ? Boolean): Iterable[GridCacheEntry[K, V]]

    Definition Classes
    TraversableLike ? GenTraversableLike
  38. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  39. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef ? Any
  40. def exists(p: (GridCacheEntry[K, V]) ? Boolean): Boolean

    Definition Classes
    IterableLike ? TraversableLike ? TraversableOnce ? GenTraversableOnce
  41. def filter(p: (GridCacheEntry[K, V]) ? Boolean): Iterable[GridCacheEntry[K, V]]

    Definition Classes
    TraversableLike ? GenTraversableLike
  42. def filterNot(p: (GridCacheEntry[K, V]) ? Boolean): Iterable[GridCacheEntry[K, V]]

    Definition Classes
    TraversableLike ? GenTraversableLike
  43. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  44. def find(p: (GridCacheEntry[K, V]) ? Boolean): Option[GridCacheEntry[K, V]]

    Definition Classes
    IterableLike ? TraversableLike ? TraversableOnce ? GenTraversableOnce
  45. def flatMap[B, That](f: (GridCacheEntry[K, V]) ? GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[GridCacheEntry[K, V]], B, That]): That

    Definition Classes
    TraversableLike ? GenTraversableLike ? FilterMonadic
  46. def flatten[B](implicit asTraversable: (GridCacheEntry[K, V]) ? GenTraversableOnce[B]): Iterable[B]

    Definition Classes
    GenericTraversableTemplate
  47. def fold[A1 >: GridCacheEntry[K, V]](z: A1)(op: (A1, A1) ? A1): A1

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  48. def foldLeft[B](z: B)(op: (B, GridCacheEntry[K, V]) ? B): B

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  49. def foldRight[B](z: B)(op: (GridCacheEntry[K, V], B) ? B): B

    Definition Classes
    IterableLike ? TraversableOnce ? GenTraversableOnce
  50. def forall(p: (GridCacheEntry[K, V]) ? Boolean): Boolean

    Definition Classes
    IterableLike ? TraversableLike ? TraversableOnce ? GenTraversableOnce
  51. def foreach[U](f: (GridCacheEntry[K, V]) ? U): Unit

    Definition Classes
    IterableLike ? TraversableLike ? GenTraversableLike ? TraversableOnce ? GenTraversableOnce ? FilterMonadic
  52. def genericBuilder[B]: Builder[B, Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
  53. final def getClass(): Class[_]

    Definition Classes
    AnyRef ? Any
  54. def getOrElse(k: K, default: ? V): V

    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.

    k

    The key.

    default

    A computation that yields a default value in case key is not in cache.

    returns

    The cache value associated with key if it exists, otherwise the result of the default computation.

    Definition Classes
    ScalarCacheProjectionPimp
  55. def groupBy[K](f: (GridCacheEntry[K, V]) ? K): Map[K, Iterable[GridCacheEntry[K, V]]]

    Definition Classes
    TraversableLike ? GenTraversableLike
  56. def grouped(size: Int): Iterator[Iterable[GridCacheEntry[K, V]]]

    Definition Classes
    IterableLike
  57. def hasDefiniteSize: Boolean

    Definition Classes
    TraversableLike ? TraversableOnce ? GenTraversableOnce
  58. def hashCode(): Int

    Definition Classes
    AnyRef ? Any
  59. def head: GridCacheEntry[K, V]

    Definition Classes
    IterableLike ? TraversableLike ? GenTraversableLike
  60. def headOption: Option[GridCacheEntry[K, V]]

    Definition Classes
    TraversableLike ? GenTraversableLike
  61. var impl: GridCacheProjection[K, V]

    Attributes
    protected
    Definition Classes
    ScalarCacheProjectionPimp
  62. def init: Iterable[GridCacheEntry[K, V]]

    Definition Classes
    TraversableLike ? GenTraversableLike
  63. def inits: Iterator[Iterable[GridCacheEntry[K, V]]]

    Definition Classes
    TraversableLike
  64. def isEmpty: Boolean

    Definition Classes
    IterableLike ? TraversableLike ? TraversableOnce ? GenTraversableOnce
  65. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  66. final def isTraversableAgain: Boolean

    Definition Classes
    TraversableLike ? GenTraversableLike ? GenTraversableOnce
  67. def iterator: Iterator[GridCacheEntry[K, V]]

    Gets iterator for cache entries.

    Gets iterator for cache entries.

    Definition Classes
    ScalarCacheProjectionPimp ? IterableLike ? GenIterableLike
  68. def last: GridCacheEntry[K, V]

    Definition Classes
    TraversableLike ? GenTraversableLike
  69. def lastOption: Option[GridCacheEntry[K, V]]

    Definition Classes
    TraversableLike ? GenTraversableLike
  70. def map[B, That](f: (GridCacheEntry[K, V]) ? B)(implicit bf: CanBuildFrom[Iterable[GridCacheEntry[K, V]], B, That]): That

    Definition Classes
    TraversableLike ? GenTraversableLike ? FilterMonadic
  71. def max[B >: GridCacheEntry[K, V]](implicit cmp: Ordering[B]): GridCacheEntry[K, V]

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  72. def maxBy[B](f: (GridCacheEntry[K, V]) ? B)(implicit cmp: Ordering[B]): GridCacheEntry[K, V]

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  73. def min[B >: GridCacheEntry[K, V]](implicit cmp: Ordering[B]): GridCacheEntry[K, V]

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  74. def minBy[B](f: (GridCacheEntry[K, V]) ? B)(implicit cmp: Ordering[B]): GridCacheEntry[K, V]

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  75. def mkString: String

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  76. def mkString(sep: String): String

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  77. def mkString(start: String, sep: String, end: String): String

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  78. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  79. def newBuilder: Builder[GridCacheEntry[K, V], Iterable[GridCacheEntry[K, V]]]

    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate ? HasNewBuilder
  80. def nonEmpty: Boolean

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  81. final def notify(): Unit

    Definition Classes
    AnyRef
  82. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  83. def opt(k: K, p: EntryPred = null): Option[V]

    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.

    k

    Key to retrieve the value for.

    p

    Filter to check prior to getting the value. Note that filter check together with getting the value is an atomic operation.

    returns

    Value for the given key.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection.get(...)

  84. def par: ParIterable[GridCacheEntry[K, V]]

    Definition Classes
    Parallelizable
  85. def parCombiner: Combiner[GridCacheEntry[K, V], ParIterable[GridCacheEntry[K, V]]]

    Attributes
    protected[this]
    Definition Classes
    TraversableLike ? Parallelizable
  86. def partition(p: (GridCacheEntry[K, V]) ? Boolean): (Iterable[GridCacheEntry[K, V]], Iterable[GridCacheEntry[K, V]])

    Definition Classes
    TraversableLike ? GenTraversableLike
  87. def product[B >: GridCacheEntry[K, V]](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  88. def put$(kv: (K, V), p: EntryPred*): V

    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.

    Transactions

    This method is transactional and will enlist the entry into ongoing transaction if there is one.

    Cache Flags

    This method is not available if any of the following flags are set on projection: GridCacheFlag#LOCAL, GridCacheFlag#READ.

    kv

    Key-Value pair to store in cache.

    p

    Optional filter to check prior to putting value in cache. Note that filter check is atomic with put operation.

    returns

    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.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection#put(...)

  89. def putAll$(kvs: Seq[(K, V)]): Unit

    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.

    Transactions

    This method is transactional and will enlist the entry into ongoing transaction if there is one.

    Cache Flags

    This method is not available if any of the following flags are set on projection: GridCacheFlag#LOCAL, GridCacheFlag#READ.

    kvs

    Key-value pairs to store in cache. If null this function is no-op.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection#putAll(...)

  90. def putAll$(kv1: (K, V), kv2: (K, V), kvs: (K, V)*): Unit

    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.

    Transactions

    This method is transactional and will enlist the entry into ongoing transaction if there is one.

    Cache Flags

    This method is not available if any of the following flags are set on projection: GridCacheFlag#LOCAL, GridCacheFlag#READ.

    kv1

    Key-value pair to store in cache.

    kv2

    Key-value pair to store in cache.

    kvs

    Optional key-value pairs to store in cache.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection#putAll(...)

  91. def putOpt$(kv: (K, V), p: EntryPred*): Option[V]

    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.

    Transactions

    This method is transactional and will enlist the entry into ongoing transaction if there is one.

    Cache Flags

    This method is not available if any of the following flags are set on projection: GridCacheFlag#LOCAL, GridCacheFlag#READ.

    kv

    Key-Value pair to store in cache.

    p

    Optional filter to check prior to putting value in cache. Note that filter check is atomic with put operation.

    returns

    Previous value associated with specified key as an option.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection#put(...)

  92. def putx$(kv: (K, V), p: EntryPred*): Boolean

    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.

    Transactions

    This method is transactional and will enlist the entry into ongoing transaction if there is one.

    Cache Flags

    This method is not available if any of the following flags are set on projection: GridCacheFlag#LOCAL, GridCacheFlag#READ.

    kv

    Key-Value pair to store in cache.

    p

    Optional filter to check prior to putting value in cache. Note that filter check is atomic with put operation.

    returns

    True if value was stored in cache, false otherwise.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection#putx(...)

  93. def reduce[A1 >: GridCacheEntry[K, V]](op: (A1, A1) ? A1): A1

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  94. def reduceLeft[B >: GridCacheEntry[K, V]](op: (B, GridCacheEntry[K, V]) ? B): B

    Definition Classes
    TraversableOnce
  95. def reduceLeftOption[B >: GridCacheEntry[K, V]](op: (B, GridCacheEntry[K, V]) ? B): Option[B]

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  96. def reduceOption[A1 >: GridCacheEntry[K, V]](op: (A1, A1) ? A1): Option[A1]

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  97. def reduceRight[B >: GridCacheEntry[K, V]](op: (GridCacheEntry[K, V], B) ? B): B

    Definition Classes
    IterableLike ? TraversableOnce ? GenTraversableOnce
  98. def reduceRightOption[B >: GridCacheEntry[K, V]](op: (GridCacheEntry[K, V], B) ? B): Option[B]

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  99. def remove$(k: K, p: EntryPred*): V

    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.

    Transactions

    This method is transactional and will enlist the entry into ongoing transaction if there is one.

    Cache Flags

    This method is not available if any of the following flags are set on projection: GridCacheFlag#LOCAL, GridCacheFlag#READ.

    k

    Key whose mapping is to be removed from cache.

    p

    Optional filters to check prior to removing value form cache. Note that filter is checked atomically together with remove operation.

    returns

    Previous value associated with specified key, or null if there was no value for this key.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection#remove(...)

  100. def removeAll$(k1: K, k2: K, ks: K*): Unit

    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.

    Transactions

    This method is transactional and will enlist the entry into ongoing transaction if there is one.

    Cache Flags

    This method is not available if any of the following flags are set on projection: GridCacheFlag#LOCAL, GridCacheFlag#READ.

    k1

    1st key to remove.

    k2

    2nd key to remove.

    ks

    Optional sequence of additional keys to remove.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection#removeAll(...)

  101. def removeAll$(ks: Seq[K]): Unit

    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.

    Transactions

    This method is transactional and will enlist the entry into ongoing transaction if there is one.

    Cache Flags

    This method is not available if any of the following flags are set on projection: GridCacheFlag#LOCAL, GridCacheFlag#READ.

    ks

    Sequence of additional keys to remove. If null - this function is no-op.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection#removeAll(...)

  102. def removeOpt$(k: K, p: EntryPred*): Option[V]

    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.

    Transactions

    This method is transactional and will enlist the entry into ongoing transaction if there is one.

    Cache Flags

    This method is not available if any of the following flags are set on projection: GridCacheFlag#LOCAL, GridCacheFlag#READ.

    k

    Key whose mapping is to be removed from cache.

    p

    Optional filters to check prior to removing value form cache. Note that filter is checked atomically together with remove operation.

    returns

    Previous value associated with specified key as an option.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection#remove(...)

  103. def repr: Iterable[GridCacheEntry[K, V]]

    Definition Classes
    TraversableLike ? GenTraversableLike
  104. def reversed: List[GridCacheEntry[K, V]]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  105. def sameElements[B >: GridCacheEntry[K, V]](that: GenIterable[B]): Boolean

    Definition Classes
    IterableLike ? GenIterableLike
  106. def scan(kvp: KvPred)(implicit m: Manifest[V]): Iterable[(K, V)]

    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.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  107. def scan(cls: Class[_ <: V], kvp: KvPred): Iterable[(K, V)]

    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.

    cls

    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.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  108. def scan(grid: GridProjection, kvp: KvPred)(implicit m: Manifest[V]): Iterable[(K, V)]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  109. def scan(grid: GridProjection = null, cls: Class[_ <: V], kvp: KvPred): Iterable[(K, V)]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  110. def scan[B >: GridCacheEntry[K, V], That](z: B)(op: (B, B) ? B)(implicit cbf: CanBuildFrom[Iterable[GridCacheEntry[K, V]], B, That]): That

    Definition Classes
    TraversableLike ? GenTraversableLike
  111. def scanLeft[B, That](z: B)(op: (B, GridCacheEntry[K, V]) ? B)(implicit bf: CanBuildFrom[Iterable[GridCacheEntry[K, V]], B, That]): That

    Definition Classes
    TraversableLike ? GenTraversableLike
  112. def scanReduce[R1, R2](kvp: KvPred, rmtRdc: (Iterable[(K, V)]) ? R1, locRdc: (Iterable[R1]) ? R2)(implicit m: Manifest[V]): R2

    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.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    locRdc

    Reduce function that will be called on local node.

    returns

    Reduced value.

    Definition Classes
    ScalarCacheProjectionPimp
  113. def scanReduce[R1, R2](cls: Class[_ <: V], kvp: KvPred, rmtRdc: (Iterable[(K, V)]) ? R1, locRdc: (Iterable[R1]) ? R2): R2

    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.

    cls

    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.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    locRdc

    Reduce function that will be called on local node.

    returns

    Reduced value.

    Definition Classes
    ScalarCacheProjectionPimp
  114. def scanReduce[R1, R2](grid: GridProjection, kvp: KvPred, rmtRdc: (Iterable[(K, V)]) ? R1, locRdc: (Iterable[R1]) ? R2)(implicit m: Manifest[V]): R2

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    locRdc

    Reduce function that will be called on local node.

    returns

    Reduced value.

    Definition Classes
    ScalarCacheProjectionPimp
  115. def scanReduce[R1, R2](grid: GridProjection = null, cls: Class[_ <: V], kvp: KvPred, rmtRdc: (Iterable[(K, V)]) ? R1, locRdc: (Iterable[R1]) ? R2): R2

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    locRdc

    Reduce function that will be called on local node.

    returns

    Reduced value.

    Definition Classes
    ScalarCacheProjectionPimp
  116. def scanReduceRemote[R](kvp: KvPred, rmtRdc: (Iterable[(K, V)]) ? R)(implicit m: Manifest[V]): Iterable[R]

    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.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    returns

    Collection of reduced values.

    Definition Classes
    ScalarCacheProjectionPimp
  117. def scanReduceRemote[R](cls: Class[_ <: V], kvp: KvPred, rmtRdc: (Iterable[(K, V)]) ? R): Iterable[R]

    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.

    cls

    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.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    returns

    Collection of reduced values.

    Definition Classes
    ScalarCacheProjectionPimp
  118. def scanReduceRemote[R](grid: GridProjection, kvp: KvPred, rmtRdc: (Iterable[(K, V)]) ? R)(implicit m: Manifest[V]): Iterable[R]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    returns

    Collection of reduced values.

    Definition Classes
    ScalarCacheProjectionPimp
  119. def scanReduceRemote[R](grid: GridProjection = null, cls: Class[_ <: V], kvp: KvPred, rmtRdc: (Iterable[(K, V)]) ? R): Iterable[R]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    returns

    Collection of reduced values.

    Definition Classes
    ScalarCacheProjectionPimp
  120. def scanRight[B, That](z: B)(op: (GridCacheEntry[K, V], B) ? B)(implicit bf: CanBuildFrom[Iterable[GridCacheEntry[K, V]], B, That]): That

    Definition Classes
    TraversableLike ? GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  121. def scanTransform[T](kvp: KvPred, trans: (V) ? T)(implicit m: Manifest[V]): Iterable[(K, T)]

    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.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    trans

    Transform function that will be applied to each returned value.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  122. def scanTransform[T](cls: Class[_ <: V], kvp: KvPred, trans: (V) ? T): Iterable[(K, T)]

    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.

    cls

    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.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    trans

    Transform function that will be applied to each returned value.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  123. def scanTransform[T](grid: GridProjection, kvp: KvPred, trans: (V) ? T)(implicit m: Manifest[V]): Iterable[(K, T)]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    trans

    Transform function that will be applied to each returned value.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  124. def scanTransform[T](grid: GridProjection = null, cls: Class[_ <: V], kvp: KvPred, trans: (V) ? T): Iterable[(K, T)]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    kvp

    Filter to be used prior to returning key-value pairs to user. See GridCacheQuery for more details.

    trans

    Transform function that will be applied to each returned value.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  125. def seq: Iterable[GridCacheEntry[K, V]]

    Definition Classes
    Iterable ? GenIterable ? Traversable ? GenTraversable ? Parallelizable ? TraversableOnce ? GenTraversableOnce
  126. def size: Int

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  127. def slice(from: Int, until: Int): Iterable[GridCacheEntry[K, V]]

    Definition Classes
    IterableLike ? TraversableLike ? GenTraversableLike
  128. def sliding(size: Int, step: Int): Iterator[Iterable[GridCacheEntry[K, V]]]

    Definition Classes
    IterableLike
  129. def sliding(size: Int): Iterator[Iterable[GridCacheEntry[K, V]]]

    Definition Classes
    IterableLike
  130. def span(p: (GridCacheEntry[K, V]) ? Boolean): (Iterable[GridCacheEntry[K, V]], Iterable[GridCacheEntry[K, V]])

    Definition Classes
    TraversableLike ? GenTraversableLike
  131. def splitAt(n: Int): (Iterable[GridCacheEntry[K, V]], Iterable[GridCacheEntry[K, V]])

    Definition Classes
    TraversableLike ? GenTraversableLike
  132. def sql(clause: String, args: Any*)(implicit m: Manifest[V]): Iterable[(K, V)]

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    args

    Optional list of query arguments.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  133. def sql(cls: Class[_ <: V], clause: String, args: Any*): Iterable[(K, V)]

    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.

    cls

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    args

    Optional list of query arguments.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  134. def sql(grid: GridProjection, clause: String, args: Any*)(implicit m: Manifest[V]): Iterable[(K, V)]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    args

    Optional list of query arguments.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  135. def sql(grid: GridProjection = null, cls: Class[_ <: V], clause: String): Iterable[(K, V)]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  136. def sql(grid: GridProjection, cls: Class[_ <: V], clause: String, args: Any*): Iterable[(K, V)]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    args

    Optional list of query arguments.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  137. def sqlFields(grid: GridProjection = null, clause: String): IndexedSeq[IndexedSeq[Any]]

    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.

    grid

    Optional grid projection on which this query will be executed. If null the global projection will be used.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    returns

    Sequence of sequences of field values.

    Definition Classes
    ScalarCacheProjectionPimp
  138. def sqlFields(grid: GridProjection, clause: String, args: Any*): IndexedSeq[IndexedSeq[Any]]

    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.

    grid

    Optional grid projection on which this query will be executed. If null the global projection will be used.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    args

    Optional list of query arguments.

    returns

    Sequence of sequences of field values.

    Definition Classes
    ScalarCacheProjectionPimp
  139. def sqlReduce[R1, R2](clause: String, rmtRdc: (Iterable[(K, V)]) ? R1, locRdc: (Iterable[R1]) ? R2, args: Any*)(implicit m: Manifest[V]): R2

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    locRdc

    Reduce function that will be called on local node.

    args

    Optional list of query arguments.

    returns

    Reduced value.

    Definition Classes
    ScalarCacheProjectionPimp
  140. def sqlReduce[R1, R2](cls: Class[_ <: V], clause: String, rmtRdc: (Iterable[(K, V)]) ? R1, locRdc: (Iterable[R1]) ? R2, args: Any*): R2

    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.

    cls

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    locRdc

    Reduce function that will be called on local node.

    args

    Optional list of query arguments.

    returns

    Reduced value.

    Definition Classes
    ScalarCacheProjectionPimp
  141. def sqlReduce[R1, R2](grid: GridProjection, clause: String, rmtRdc: (Iterable[(K, V)]) ? R1, locRdc: (Iterable[R1]) ? R2, args: Any*)(implicit m: Manifest[V]): R2

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    locRdc

    Reduce function that will be called on local node.

    args

    Optional list of query arguments.

    returns

    Reduced value.

    Definition Classes
    ScalarCacheProjectionPimp
  142. def sqlReduce[R1, R2](grid: GridProjection = null, cls: Class[_ <: V], clause: String, rmtRdc: (Iterable[(K, V)]) ? R1, locRdc: (Iterable[R1]) ? R2): R2

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    locRdc

    Reduce function that will be called on local node.

    returns

    Reduced value.

    Definition Classes
    ScalarCacheProjectionPimp
  143. def sqlReduce[R1, R2](grid: GridProjection, cls: Class[_ <: V], clause: String, rmtRdc: (Iterable[(K, V)]) ? R1, locRdc: (Iterable[R1]) ? R2, args: Any*): R2

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    locRdc

    Reduce function that will be called on local node.

    args

    Optional list of query arguments.

    returns

    Reduced value.

    Definition Classes
    ScalarCacheProjectionPimp
  144. def sqlReduceRemote[R](clause: String, rmtRdc: (Iterable[(K, V)]) ? R, args: Any*)(implicit m: Manifest[V]): Iterable[R]

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    args

    Optional list of query arguments.

    returns

    Collection of reduced values.

    Definition Classes
    ScalarCacheProjectionPimp
  145. def sqlReduceRemote[R](cls: Class[_ <: V], clause: String, rmtRdc: (Iterable[(K, V)]) ? R, args: Any*): Iterable[R]

    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.

    cls

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    args

    Optional list of query arguments.

    returns

    Collection of reduced values.

    Definition Classes
    ScalarCacheProjectionPimp
  146. def sqlReduceRemote[R](grid: GridProjection, clause: String, rmtRdc: (Iterable[(K, V)]) ? R, args: Any*)(implicit m: Manifest[V]): Iterable[R]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    args

    Optional list of query arguments.

    returns

    Collection of reduced values.

    Definition Classes
    ScalarCacheProjectionPimp
  147. def sqlReduceRemote[R](grid: GridProjection = null, cls: Class[_ <: V], clause: String, rmtRdc: (Iterable[(K, V)]) ? R): Iterable[R]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    returns

    Collection of reduced values.

    Definition Classes
    ScalarCacheProjectionPimp
  148. def sqlReduceRemote[R](grid: GridProjection, cls: Class[_ <: V], clause: String, rmtRdc: (Iterable[(K, V)]) ? R, args: Any*): Iterable[R]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    args

    Optional list of query arguments.

    returns

    Collection of reduced values.

    Definition Classes
    ScalarCacheProjectionPimp
  149. def sqlTransform[T](clause: String, trans: (V) ? T, args: Any*)(implicit m: Manifest[V]): Iterable[(K, T)]

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    trans

    Transform function that will be applied to each returned value.

    args

    Optional list of query arguments.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  150. def sqlTransform[T](cls: Class[_ <: V], clause: String, trans: (V) ? T, args: Any*): Iterable[(K, T)]

    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.

    cls

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    trans

    Transform function that will be applied to each returned value.

    args

    Optional list of query arguments.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  151. def sqlTransform[T](grid: GridProjection, clause: String, trans: (V) ? T, args: Any*)(implicit m: Manifest[V]): Iterable[(K, T)]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    trans

    Transform function that will be applied to each returned value.

    args

    Optional list of query arguments.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  152. def sqlTransform[T](grid: GridProjection = null, cls: Class[_ <: V], clause: String, trans: (V) ? T): Iterable[(K, T)]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    trans

    Transform function that will be applied to each returned value.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  153. def sqlTransform[T](grid: GridProjection, cls: Class[_ <: V], clause: String, trans: (V) ? T, args: Any*): Iterable[(K, T)]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    clause

    Query SQL clause. See GridCacheQuery for more details.

    trans

    Transform function that will be applied to each returned value.

    args

    Optional list of query arguments.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  154. def stringPrefix: String

    Definition Classes
    TraversableLike ? GenTraversableLike
  155. def sum[B >: GridCacheEntry[K, V]](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  156. final def synchronized[T0](arg0: ? T0): T0

    Definition Classes
    AnyRef
  157. def tail: Iterable[GridCacheEntry[K, V]]

    Definition Classes
    TraversableLike ? GenTraversableLike
  158. def tails: Iterator[Iterable[GridCacheEntry[K, V]]]

    Definition Classes
    TraversableLike
  159. def take(n: Int): Iterable[GridCacheEntry[K, V]]

    Definition Classes
    IterableLike ? TraversableLike ? GenTraversableLike
  160. def takeRight(n: Int): Iterable[GridCacheEntry[K, V]]

    Definition Classes
    IterableLike
  161. def takeWhile(p: (GridCacheEntry[K, V]) ? Boolean): Iterable[GridCacheEntry[K, V]]

    Definition Classes
    IterableLike ? TraversableLike ? GenTraversableLike
  162. def text(clause: String)(implicit m: Manifest[V]): Iterable[(K, V)]

    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.

    clause

    Query text clause. See GridCacheQuery for more details.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  163. def text(cls: Class[_ <: V], clause: String): Iterable[(K, V)]

    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.

    cls

    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.

    clause

    Query text clause. See GridCacheQuery for more details.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  164. def text(grid: GridProjection, clause: String)(implicit m: Manifest[V]): Iterable[(K, V)]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    clause

    Query text clause. See GridCacheQuery for more details.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  165. def text(grid: GridProjection = null, cls: Class[_ <: V], clause: String): Iterable[(K, V)]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    clause

    Query text clause. See GridCacheQuery for more details.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  166. def textReduce[R1, R2](clause: String, rmtRdc: (Iterable[(K, V)]) ? R1, locRdc: (Iterable[R1]) ? R2)(implicit m: Manifest[V]): R2

    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.

    clause

    Query text clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    locRdc

    Reduce function that will be called on local node.

    returns

    Reduced value.

    Definition Classes
    ScalarCacheProjectionPimp
  167. def textReduce[R1, R2](cls: Class[_ <: V], clause: String, rmtRdc: (Iterable[(K, V)]) ? R1, locRdc: (Iterable[R1]) ? R2): R2

    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.

    cls

    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.

    clause

    Query text clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    locRdc

    Reduce function that will be called on local node.

    returns

    Reduced value.

    Definition Classes
    ScalarCacheProjectionPimp
  168. def textReduce[R1, R2](grid: GridProjection, clause: String, rmtRdc: (Iterable[(K, V)]) ? R1, locRdc: (Iterable[R1]) ? R2)(implicit m: Manifest[V]): R2

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    clause

    Query text clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    locRdc

    Reduce function that will be called on local node.

    returns

    Reduced value.

    Definition Classes
    ScalarCacheProjectionPimp
  169. def textReduce[R1, R2](grid: GridProjection = null, cls: Class[_ <: V], clause: String, rmtRdc: (Iterable[(K, V)]) ? R1, locRdc: (Iterable[R1]) ? R2): R2

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    clause

    Query text clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    locRdc

    Reduce function that will be called on local node.

    returns

    Reduced value.

    Definition Classes
    ScalarCacheProjectionPimp
  170. def textReduceRemote[R](clause: String, rmtRdc: (Iterable[(K, V)]) ? R)(implicit m: Manifest[V]): Iterable[R]

    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.

    clause

    Query text clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    returns

    Collection of reduced values.

    Definition Classes
    ScalarCacheProjectionPimp
  171. def textReduceRemote[R](cls: Class[_ <: V], clause: String, rmtRdc: (Iterable[(K, V)]) ? R): Iterable[R]

    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.

    cls

    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.

    clause

    Query text clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    returns

    Collection of reduced values.

    Definition Classes
    ScalarCacheProjectionPimp
  172. def textReduceRemote[R](grid: GridProjection, clause: String, rmtRdc: (Iterable[(K, V)]) ? R)(implicit m: Manifest[V]): Iterable[R]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    clause

    Query text clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    returns

    Collection of reduced values.

    Definition Classes
    ScalarCacheProjectionPimp
  173. def textReduceRemote[R](grid: GridProjection = null, cls: Class[_ <: V], clause: String, rmtRdc: (Iterable[(K, V)]) ? R): Iterable[R]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    clause

    Query text clause. See GridCacheQuery for more details.

    rmtRdc

    Reduce function that will be called on each remote node.

    returns

    Collection of reduced values.

    Definition Classes
    ScalarCacheProjectionPimp
  174. def textTransform[T](clause: String, trans: (V) ? T)(implicit m: Manifest[V]): Iterable[(K, T)]

    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.

    clause

    Query text clause. See GridCacheQuery for more details.

    trans

    Transform function that will be applied to each returned value.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  175. def textTransform[T](cls: Class[_ <: V], clause: String, trans: (V) ? T): Iterable[(K, T)]

    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.

    cls

    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.

    clause

    Query text clause. See GridCacheQuery for more details.

    trans

    Transform function that will be applied to each returned value.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  176. def textTransform[T](grid: GridProjection, clause: String, trans: (V) ? T)(implicit m: Manifest[V]): Iterable[(K, T)]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    clause

    Query text clause. See GridCacheQuery for more details.

    trans

    Transform function that will be applied to each returned value.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  177. def textTransform[T](grid: GridProjection = null, cls: Class[_ <: V], clause: String, trans: (V) ? T): Iterable[(K, T)]

    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

    Grid projection on which this query will be executed. If null the global projection will be used.

    cls

    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.

    clause

    Query text clause. See GridCacheQuery for more details.

    trans

    Transform function that will be applied to each returned value.

    returns

    Collection of cache key-value pairs.

    Definition Classes
    ScalarCacheProjectionPimp
  178. def thisCollection: Iterable[GridCacheEntry[K, V]]

    Attributes
    protected[this]
    Definition Classes
    IterableLike ? TraversableLike
  179. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, GridCacheEntry[K, V], Col[GridCacheEntry[K, V]]]): Col[GridCacheEntry[K, V]]

    Definition Classes
    TraversableLike ? TraversableOnce ? GenTraversableOnce
  180. def toArray[B >: GridCacheEntry[K, V]](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  181. def toBuffer[B >: GridCacheEntry[K, V]]: Buffer[B]

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  182. def toCollection(repr: Iterable[GridCacheEntry[K, V]]): Iterable[GridCacheEntry[K, V]]

    Attributes
    protected[this]
    Definition Classes
    IterableLike ? TraversableLike
  183. def toIndexedSeq: IndexedSeq[GridCacheEntry[K, V]]

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  184. def toIterable: Iterable[GridCacheEntry[K, V]]

    Definition Classes
    IterableLike ? TraversableOnce ? GenTraversableOnce
  185. def toIterator: Iterator[GridCacheEntry[K, V]]

    Definition Classes
    IterableLike ? TraversableLike ? GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  186. def toList: List[GridCacheEntry[K, V]]

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  187. def toMap[T, U](implicit ev: <:<[GridCacheEntry[K, V], (T, U)]): Map[T, U]

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  188. def toSeq: Seq[GridCacheEntry[K, V]]

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  189. def toSet[B >: GridCacheEntry[K, V]]: Set[B]

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  190. def toStream: Stream[GridCacheEntry[K, V]]

    Definition Classes
    IterableLike ? TraversableLike ? GenTraversableOnce
  191. def toString(): String

    Definition Classes
    TraversableLike ? Any
  192. def toTraversable: Traversable[GridCacheEntry[K, V]]

    Definition Classes
    TraversableLike ? TraversableOnce ? GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  193. def toVector: Vector[GridCacheEntry[K, V]]

    Definition Classes
    TraversableOnce ? GenTraversableOnce
  194. def transpose[B](implicit asTraversable: (GridCacheEntry[K, V]) ? GenTraversableOnce[B]): Iterable[Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  195. def unzip[A1, A2](implicit asPair: (GridCacheEntry[K, V]) ? (A1, A2)): (Iterable[A1], Iterable[A2])

    Definition Classes
    GenericTraversableTemplate
  196. def unzip3[A1, A2, A3](implicit asTriple: (GridCacheEntry[K, V]) ? (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Definition Classes
    GenericTraversableTemplate
  197. lazy val value: GridCacheProjection[K, V]

  198. def view(from: Int, until: Int): IterableView[GridCacheEntry[K, V], Iterable[GridCacheEntry[K, V]]]

    Definition Classes
    IterableLike ? TraversableLike
  199. def view: IterableView[GridCacheEntry[K, V], Iterable[GridCacheEntry[K, V]]]

    Definition Classes
    IterableLike ? TraversableLike
  200. def viewByEntry(p: EntryPred): GridCacheProjection[K, V]

    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.

    p

    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.

    returns

    Projection based on given filter.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection.projection(...)

  201. def viewByKv(p: (K, V) ? Boolean): GridCacheProjection[K, V]

    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.

    p

    Key-value predicate for this projection. If null, then the same projection is returned.

    returns

    Projection for given key-value predicate.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection.projection(...)

  202. def viewByType[A, B](k: Class[A], v: Class[B]): GridCacheProjection[A, B]

    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.

    Cache Flags

    The resulting projection will have flag GridCacheFlag#STRICT set on it.

    k

    Key type.

    v

    Value type.

    returns

    Cache projection for given key and value types.

    Definition Classes
    ScalarCacheProjectionPimp
    See also

    org.gridgain.grid.cache.GridCacheProjection.projection(...)

  203. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  204. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  205. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  206. def withFilter(p: (GridCacheEntry[K, V]) ? Boolean): FilterMonadic[GridCacheEntry[K, V], Iterable[GridCacheEntry[K, V]]]

    Definition Classes
    TraversableLike ? FilterMonadic
  207. def zip[A1 >: GridCacheEntry[K, V], B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[GridCacheEntry[K, V]], (A1, B), That]): That

    Definition Classes
    IterableLike ? GenIterableLike
  208. def zipAll[B, A1 >: GridCacheEntry[K, V], That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[GridCacheEntry[K, V]], (A1, B), That]): That

    Definition Classes
    IterableLike ? GenIterableLike
  209. def zipWithIndex[A1 >: GridCacheEntry[K, V], That](implicit bf: CanBuildFrom[Iterable[GridCacheEntry[K, V]], (A1, Int), That]): That

    Definition Classes
    IterableLike ? GenIterableLike

Inherited from Ordered[GridCache[K, V]]

Inherited from Comparable[GridCache[K, V]]

Inherited from ScalarCacheProjectionPimp[K, V]

Inherited from Iterable[GridCacheEntry[K, V]]

Inherited from IterableLike[GridCacheEntry[K, V], Iterable[GridCacheEntry[K, V]]]

Inherited from Equals

Inherited from GenIterable[GridCacheEntry[K, V]]

Inherited from GenIterableLike[GridCacheEntry[K, V], Iterable[GridCacheEntry[K, V]]]

Inherited from Traversable[GridCacheEntry[K, V]]

Inherited from GenTraversable[GridCacheEntry[K, V]]

Inherited from GenericTraversableTemplate[GridCacheEntry[K, V], Iterable]

Inherited from TraversableLike[GridCacheEntry[K, V], Iterable[GridCacheEntry[K, V]]]

Inherited from GenTraversableLike[GridCacheEntry[K, V], Iterable[GridCacheEntry[K, V]]]

Inherited from Parallelizable[GridCacheEntry[K, V], ParIterable[GridCacheEntry[K, V]]]

Inherited from TraversableOnce[GridCacheEntry[K, V]]

Inherited from GenTraversableOnce[GridCacheEntry[K, V]]

Inherited from FilterMonadic[GridCacheEntry[K, V], Iterable[GridCacheEntry[K, V]]]

Inherited from HasNewBuilder[GridCacheEntry[K, V], Iterable[org.gridgain.grid.cache.GridCacheEntry[K,V]] @scala.annotation.unchecked.uncheckedVariance]

Inherited from PimpedType[GridCacheProjection[K, V]]

Inherited from AnyRef

Inherited from Any

Ungrouped

GridGain™ - Scalar DSL, ver. 6.5.6-p1
2014 Copyright © GridGain Systems