| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |
class Database(couch : Request, database : String)
extends
Request
def this(hostname : String, port : Int, database : String)
Construct a Database request using host and port
|
def this(database : String)
Construct a Database request to a default installation of CouchDB on localhost (port 5984)
|
def this(couch : Request, database : String)
|
| >|.. |
def >|
|
Handler[Unit] | Handlers |
| DELETE.. |
def DELETE
|
Request | Request |
| HEAD.. |
def HEAD
|
Request | Request |
| POST.. |
def POST
|
Request | Request |
| all.. |
def all
Access all documents in the database with a queryable interface
|
AllDocs | |
| as_source.. |
def as_source
|
Handler[Source] | Handlers |
| as_str.. |
def as_str
|
Handler[String] | Handlers |
| create.. |
def create
Attempt to create the database (PUT)
|
Handler[Unit] | |
| creds.. |
val creds
|
Option[Credentials] | Request |
| defaultCharset.. |
val defaultCharset
|
String | Request |
| delete.. |
def delete
Destroy the database (DELETE)
|
Handler[Unit] | |
| gzip.. |
def gzip
|
Request | Request |
| host.. |
val host
|
Option[HttpHost] | Request |
| info.. |
def info
Retrieve information about the database (GET)
|
Handler[DatabaseInfo] | |
| req.. |
def req
|
HttpRequestBase | Request |
| request.. |
val request
|
Request | Request |
| secure.. |
def secure
|
Request | Request |
| to_uri.. |
def to_uri
|
URI | Request |
| xfs.. |
val xfs
|
List[Function1] | Request |
| !=.. |
final def !=(arg0 : Any)
|
Boolean | Any |
| !=.. |
final def !=(arg0 : Object)
|
Boolean | AnyRef |
| /.. |
def /(arg0 : String)
|
Request | Request |
| <&.. |
def <&(arg0 : Request)
|
Request | Request |
| <:<.. |
def <:<(arg0 : Map[String, String])
|
Request | Request |
| <<.. |
def <<(arg0 : Map[String, Any])
|
Request | Request |
| <<.. |
def <<(arg0 : String)
|
Request | Request |
| <<#.. |
def <<#(doc : JObject)
Alias for post
|
Handler[Box[JObject]] | |
| <<<.. |
def <<<(arg0 : Any)
|
Request | Request |
| <<<.. |
def <<<(arg0 : File, arg1 : String)
|
Request | Request |
| <<?.. |
def <<?(arg0 : Map[String, Any])
|
Request | Request |
| <>.. |
def <>[T](arg0 : (Elem) => T)
|
Handler[T] | Handlers |
| ==.. |
final def ==(arg0 : Object)
|
Boolean | AnyRef |
| ==.. |
final def ==(arg0 : Any)
|
Boolean | Any |
| >&.. |
def >&[T](arg0 : Handler[T])
|
Handler[T] | Request |
| >+.. |
def >+[A, B](arg0 : (Handlers) => (Handler[A], Handler[B]))
|
Handler[(A, B)] | Handlers |
| >-.. |
def >-[T](arg0 : (String) => T)
|
Handler[T] | Handlers |
| >:>.. |
def >:>[T](arg0 : (Map[String, Set[String]]) => T)
|
Handler[T] | Handlers |
| >>.. |
def >>[T](arg0 : (InputStream) => T)
|
Handler[T] | Handlers |
| >>.. |
def >>[T](arg0 : (InputStream, String) => T)
|
Handler[T] | Handlers |
| >>>.. |
def >>>[OS <: OutputStream](arg0 : OS)
|
Handler[OS] | Handlers |
| >\.. |
def >\(arg0 : String)
|
Request | Request |
| >~.. |
def >~[T](arg0 : (Source) => T)
|
Handler[T] | Handlers |
| apply.. |
def apply(ids : Seq[String])
Access a series of documents by ID
|
AllDocs | |
| apply.. |
def apply(id : String)
Access a particular document in the database by ID
|
Document | |
| apply.. |
def apply(doc : JObject)
Access a particular document in the database with _id from a given JObject
|
Document | |
| as.. |
def as(arg0 : String, arg1 : String)
|
Request | Request |
| asInstanceOf.. |
final def asInstanceOf[T0]
|
T0 | Any |
| as_!.. |
def as_!(arg0 : String, arg1 : String)
|
Request | Request |
| clone.. |
protected def clone
|
Object | AnyRef |
| createIfNotCreated.. |
def createIfNotCreated(http : Http)
Create the database iff it doesn't already exist
|
Unit | |
| design.. |
def design(name : String)
Access a particular design document in the database by name
|
Design | |
| eq.. |
final def eq(arg0 : Object)
|
Boolean | AnyRef |
| equals.. |
def equals(arg0 : Any)
|
Boolean | AnyRef |
| finalize.. |
protected def finalize
|
Unit | AnyRef |
| getClass.. |
final def getClass
|
Class[Any] | AnyRef |
| hashCode.. |
def hashCode
|
Int | AnyRef |
| isInstanceOf.. |
final def isInstanceOf[T0]
|
Boolean | Any |
| ne.. |
final def ne(arg0 : Object)
|
Boolean | AnyRef |
| next.. |
def next(arg0 : Function1)
|
Request | Request |
| next_uri.. |
def next_uri(arg0 : (String) => String)
|
Request | Request |
| notify.. |
final def notify
|
Unit | AnyRef |
| notifyAll.. |
final def notifyAll
|
Unit | AnyRef |
| post.. |
def post(doc : JObject)
Store a document in the database, generating a new unique ID for it and returning the document with _id and _rev updated
|
Handler[Box[JObject]] | |
| store.. |
def store(doc : JObject)
Inserts or updates a document in the database, using the standard _id field to do so
[details]
Returns the updated document.
|
Handler[Box[JObject]] | |
| synchronized.. |
final def synchronized[T0](arg0 : T0)
|
T0 | AnyRef |
| toString.. |
def toString
|
String | AnyRef |
| wait.. |
final def wait
|
Unit | AnyRef |
| wait.. |
final def wait(arg0 : Long)
|
Unit | AnyRef |
| wait.. |
final def wait(arg0 : Long, arg1 : Int)
|
Unit | AnyRef |
| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |