/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

  1. package couch.db
  2. import scala.reflect._
  3. import couch.json._
  4. @BeanInfo
  5. case class View(
  6. @JSONProperty {val ignoreIfNull = true}
  7. val map: String,
  8. @JSONProperty {val ignoreIfNull = true}
  9. val reduce: String) {
  10. private [db] def this() = this(null, null)
  11. override def toString =
  12. "map: " + map + " reduce: " + reduce
  13. }