PageRenderTime 21ms CodeModel.GetById 13ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/src/main/scala/couch/db/View.scala

http://scouchdb.googlecode.com/
Scala | 19 lines | 13 code | 6 blank | 0 comment | 0 complexity | 59e66ffe51d9a76f68c10bfc67673f70 MD5 | raw file
 1package couch.db
 2
 3import scala.reflect._
 4
 5import couch.json._
 6
 7@BeanInfo
 8case class View(
 9  @JSONProperty {val ignoreIfNull = true}
10  val map: String, 
11  
12  @JSONProperty {val ignoreIfNull = true}
13  val reduce: String) {
14  
15  private [db] def this() = this(null, null)
16  
17  override def toString = 
18    "map: " + map + " reduce: " + reduce
19}