package
sohva
Type Members
-
final
case class
Attachment(content_type: String, revpos: Int, digest: String, length: Int, stub: Boolean, encoded_length: Option[Int] = scala.None, encoding: Option[String] = scala.None) extends Product with Serializable
-
-
case class
AuthInfo(authentication_db: String, authentication_handlers: List[String], authenticated: String) extends Product with Serializable
-
case class
AuthResult(ok: Boolean, userCtx: UserCtx, info: Option[AuthInfo]) extends Product with Serializable
-
trait
CList[Result[_]] extends AnyRef
-
case class
Change(seq: Int, id: String, rev: String, deleted: Boolean, doc: Option[JObject]) extends Product with Serializable
-
-
case class
Configuration(sections: Map[String, Map[String, String]]) extends Product with Serializable
-
-
-
-
-
trait
CouchDB[Result[_]] extends AnyRef
-
-
final
case class
CouchInfo(couchdb: String, version: String) extends Product with Serializable
-
case class
CouchUser(name: String, password: String, roles: List[String], oauth: Option[OAuthData] = scala.None, type: String = "user") extends IdRev with Product with Serializable
-
trait
Database[Result[_]] extends AnyRef
-
abstract
class
DbRef extends AnyRef
-
sealed
trait
DbResult extends AnyRef
-
trait
Design[Result[_]] extends AnyRef
-
case class
DesignDoc(_id: String, language: String, views: Map[String, ViewDoc] = ..., validate_doc_update: Option[String] = scala.None, updates: Map[String, String] = ..., filters: Map[String, String] = ..., shows: Map[String, String] = ..., lists: Map[String, String] = ..., rewrites: List[RewriteRule] = immutable.this.Nil) extends IdRev with Product with Serializable
-
type
Doc = AnyRef { ... /* 2 definitions in type refinement */ }
-
final
case class
DocUpdate(ok: Boolean, id: String, rev: String) extends Product with Serializable
-
final
case class
ErrorResult(id: Option[String], error: String, reason: String) extends DbResult with Product with Serializable
-
trait
IdRev extends AnyRef
-
final
case class
InfoResult(compact_running: Boolean, db_name: String, disk_format_version: Int, disk_size: Int, doc_count: Int, doc_del_count: Int, instance_start_time: String, purge_seq: Int, update_seq: Int) extends Product with Serializable
-
-
case class
LastSeq(last_seq: Int) extends Product with Serializable
-
case class
LocalDb(name: String) extends DbRef with Product with Serializable
-
final
case class
LoginPasswordCredentials(username: String, password: String) extends CouchCredentials with Product with Serializable
-
final
case class
OAuthCredentials(consumerKey: String, consumerSecret: String, token: String, secret: String) extends CouchCredentials with Product with Serializable
-
case class
OAuthData(consumer_keys: Map[String, String], tokens: Map[String, String]) extends Product with Serializable
-
-
final
case class
OkResult(ok: Boolean, id: Option[String], rev: Option[String]) extends DbResult with Product with Serializable
-
final
case class
RawRow(id: Option[String], key: JValue, value: JValue, doc: Option[JObject]) extends Product with Serializable
-
final
case class
RawViewResult(total_rows: Long, offset: Long, rows: List[RawRow], update_seq: Option[Long]) extends Product with Serializable
-
case class
RemoteDb(url: URL) extends DbRef with Product with Serializable
-
case class
Replication(_id: String, source: DbRef, target: DbRef, continuous: Option[Boolean] = scala.None, create_target: Option[Boolean] = scala.None, _replication_id: Option[String] = scala.None, _replication_state: Option[String] = scala.None, _replication_state_time: Option[String] = scala.None, doc_ids: List[String] = immutable.this.Nil, user_ctx: Option[UserCtx] = scala.None) extends IdRev with Product with Serializable
-
-
case class
RewriteRule(from: String, to: String, method: String, query: Map[String, String]) extends Product with Serializable
-
case class
Row[Key, Value, Doc](id: Option[String], key: Key, value: Value, doc: Option[Doc] = scala.None) extends Product with Serializable
-
case class
SecurityDoc(admins: SecurityList = EmptySecurityList, members: SecurityList = EmptySecurityList) extends Product with Serializable
-
case class
SecurityList(names: List[String] = immutable.this.Nil, roles: List[String] = immutable.this.Nil) extends Product with Serializable
-
trait
Session[Result[_]] extends CouchDB[Result]
-
trait
Show[Result[_]] extends AnyRef
-
case class
SohvaException(msg: String, cause: Throwable = null) extends Exception with Product with Serializable
-
case class
SohvaJsonException(msg: String, inner: Exception) extends Exception with Product with Serializable
-
-
trait
Update[Result[_]] extends AnyRef
-
case class
UserCtx(name: String, roles: List[String]) extends Product with Serializable
-
case class
UserInfo(name: String, roles: List[String]) extends Product with Serializable
-
trait
Users[Result[_]] extends AnyRef
-
trait
View[Result[_]] extends AnyRef
-
case class
ViewDoc(map: String, reduce: Option[String]) extends Product with Serializable
-
final
case class
ViewResult[Key, Value, Doc](total_rows: Int, offset: Int, rows: List[Row[Key, Value, Doc]], update_seq: Option[Int]) extends Product with Serializable
Value Members
-
object
Change extends Serializable
-
-
-
-
object
LastSeq extends Serializable
-
-
def
bytes2string(bytes: Array[Byte]): String
-
-
implicit
def
doc2idrev(d: Doc): IdRev
-
def
hash(s: String): String
-
implicit
def
map2idrev(m: Map[String, Any]): IdRev
-
def
passwordSha(password: String): (String, String)
-
-
Inherited from AnyRef
Inherited from Any
Contains all the classes needed to interact with a couchdb server. Classes in this package allows the user to: