com.scalapenos

riak

package riak

A fast, non-blocking Scala client library for interacting with Riak.

This package also defines some type aliases provided as shortcuts to commonly used classes from other libraries. For example, ContentType is an alias for spray.http.ContentType and DateTime is an alias for org.joda.time.DateTime.

Version

0.8.0

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. riak
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class AllowSiblings(value: Boolean) extends RiakBucketProperty[Boolean] with Product with Serializable

  2. case class BucketOperationFailed(cause: String) extends RuntimeException with Product with Serializable

  3. class ConflicResolutionNotImplemented extends RuntimeException

  4. case class ConflictResolutionFailed(cause: String) extends RuntimeException with Product with Serializable

  5. type ContentType = spray.http.ContentType

  6. type DateTime = org.joda.time.DateTime

  7. implicit final class ETag extends AnyVal

  8. case class LastWriteWins(value: Boolean) extends RiakBucketProperty[Boolean] with Product with Serializable

  9. case class NumberOfReplicas(value: Int) extends RiakBucketProperty[Int] with Product with Serializable

  10. case class OperationFailed(cause: String) extends RuntimeException with Product with Serializable

  11. case class ParametersInvalid(cause: String) extends RuntimeException with Product with Serializable

  12. trait RiakBucket extends AnyRef

  13. final case class RiakBucketProperties(numberOfReplicas: Int, allowSiblings: Boolean, lastWriteWins: Boolean) extends Product with Serializable

  14. sealed trait RiakBucketProperty[T] extends AnyRef

  15. trait RiakClient extends AnyRef

  16. class RiakClientExtension extends Extension

  17. trait RiakConflictsResolver extends AnyRef

  18. sealed abstract class RiakDeserializationException extends RuntimeException

    Base exception used to denote problems while deserializing from raw Strings to some type T.

  19. case class RiakDeserializationFailed(data: String, targetType: String, cause: Throwable) extends RiakDeserializationException with Product with Serializable

    Exception used to denote a lower-level exception occurred while deserializing from raw Strings to some type T.

  20. trait RiakDeserializer[T] extends AnyRef

    A RiakDeserializer is a type class trait for implementing deserialization from some raw data (a String) and a ContentType to a type T.

  21. sealed trait RiakIndex extends AnyRef

  22. trait RiakIndexer[T] extends AnyRef

    Annotations
    @implicitNotFound( ... )
  23. final case class RiakLongIndex(name: String, value: Long) extends RiakIndex with Product with Serializable

  24. final case class RiakMeta[T](data: T, contentType: ContentType, vclock: VClock, etag: ETag, lastModified: DateTime, indexes: Set[RiakIndex] = ...)(implicit evidence$1: RiakSerializer[T], evidence$2: RiakIndexer[T]) extends Product with Serializable

  25. trait RiakSerializer[T] extends AnyRef

    A RiakSerializer is a type class trait for implementing serialization from some type T to a Tuple2 of raw data (a String) and a ContentType.

  26. final case class RiakStringIndex(name: String, value: String) extends RiakIndex with Product with Serializable

  27. case class RiakUnsupportedContentType(expected: ContentType, actual: ContentType) extends RiakDeserializationException with NoStackTrace with Product with Serializable

    Exception used to denote that deserializing failed because the raw data was of an unsupported ContentType.

  28. final case class RiakValue(data: String, contentType: ContentType, vclock: VClock, etag: ETag, lastModified: DateTime, indexes: Set[RiakIndex] = ...) extends Product with Serializable

  29. implicit final class VClock extends AnyVal

Value Members

  1. val ContentType: spray.http.ContentType.type

  2. val ContentTypes: spray.http.ContentTypes.type

  3. object DefaultConflictsResolver extends RiakConflictsResolver with Product with Serializable

  4. object ETag

  5. val MediaTypes: spray.http.MediaTypes.type

  6. object RiakBucketProperties extends Serializable

  7. object RiakClient

  8. object RiakClientExtension extends ExtensionId[RiakClientExtension] with ExtensionIdProvider

  9. object RiakDeserializer extends LowPriorityDefaultRiakDeserializerImplicits

    Contains lowest-priority default implementations of the RiakDeserializer type class.

  10. object RiakIndex

  11. object RiakIndexer extends LowPriorityDefaultRiakIndexerImplicits

  12. object RiakSerializer extends LowPriorityDefaultRiakSerializerImplicits

    Contains lowest-priority default implementations of the RiakSerializer type class.

  13. object RiakValue extends Serializable

  14. object VClock

  15. implicit def func2resolver(f: (Set[RiakValue]) ⇒ RiakValue): RiakConflictsResolver

  16. package serialization

Inherited from AnyRef

Inherited from Any

Ungrouped