org.apache.ignite.scalar

# pimps

#### package pimps

Contains Scala "Pimp" implementations for main Ignite entities.

Linear Supertypes
AnyRef, Any
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. pimps
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Type Members

1. #### trait PimpedType[X] extends AnyRef

   Sub class to create a wrapper type for `X` as documentation that the sub class follows the 'pimp my library' pattern.

   Sub class to create a wrapper type for `X` as documentation that the sub class follows the 'pimp my library' pattern. http://www.artima.com/weblogs/viewpost.jsp?thread=179766

   The companion object provides an implicit conversion to unwrap `value`.

2. #### class ScalarCachePimp[K, V] extends PimpedType[IgniteCache[K, V]] with Iterable[Entry[K, V]] with Ordered[IgniteCache[K, V]]

   Defines Scalar "pimp" for `IgniteCache` on Java side.

   #### Overview

   Defines Scalar "pimp" for `IgniteCache` on Java side.

   Essentially this class extends Java `IgniteCache` interface with Scala specific API adapters using primarily implicit conversions defined in `ScalarConversions` object. What it means is that you can use functions defined in this class on object of Java `IgniteCache` type. Scala will automatically (implicitly) convert it into Scalar's pimp and replace the original call with a call on that pimp.

   Note that Scalar provide extensive library of implicit conversion between Java and Scala Ignite counterparts in `ScalarConversions` 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.

3. #### class ScalarGridPimp extends ScalarProjectionPimp[IgniteCluster] with ScalarTaskThreadContext[IgniteCluster]

   Defines Scalar "pimp" for `Grid` on Java side.

   #### Overview

   Defines Scalar "pimp" for `Grid` 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 Ignite 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.

4. #### class ScalarProjectionPimp[A <: ClusterGroup] extends PimpedType[A] with Iterable[ClusterNode] with ScalarTaskThreadContext[A]

   Defines Scalar "pimp" for `GridProjection` on Java side.

   #### Overview

   Defines Scalar "pimp" for `GridProjection` 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 Ignite 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.

5. #### trait ScalarTaskThreadContext[T <: ClusterGroup] extends ScalarConversions

   This trait provide mixin for properly typed version of `GridProjection#with...()` methods.

   This trait provide mixin for properly typed version of `GridProjection#with...()` methods.

   Method on `GridProjection` always returns an instance of type `GridProjection` even when called on a sub-class. This trait's methods return the instance of the same type it was called on.

### Value Members

1. #### object PimpedType

2. #### object ScalarCachePimp

   Companion object.

3. #### object ScalarGridPimp

   Companion object.

4. #### object ScalarProjectionPimp

   Companion object.

### Inherited from AnyRef

### Inherited from Any

### Ungrouped