abstract
class
Grater[X <: AnyRef] extends Logging
Instance Constructors
-
new
Grater(clazz: Class[X])(implicit ctx: Context)
Type Members
-
type
OutHandler = PartialFunction[(Any, Field), Option[(String, Any)]]
Abstract Value Members
-
abstract
def
asDBObject(o: X): DBObject
-
abstract
def
asObject[A](dbo: A)(implicit arg0: (A) ⇒ MongoDBObject): X
-
abstract
def
fromJSON(j: JObject): X
-
abstract
def
fromMap(m: Map[String, Any]): X
-
abstract
def
iterateOut[T](o: X)(f: ((String, Any)) ⇒ T): Iterator[T]
-
abstract
def
toJSON(o: X): JObject
-
abstract
def
toMap(o: X): Map[String, Any]
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
val
clazz: Class[X]
-
def
clone(): AnyRef
-
implicit
val
ctx: Context
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(that: Any): Boolean
-
def
finalize(): Unit
-
def
fromJSON(s: String): X
-
def
fromJSONArray(s: String): List[X]
-
def
fromJSONArray(j: JArray): List[X]
-
final
def
getClass(): java.lang.Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
lazy val
log: Logger
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toCompactJSON(o: X): String
-
def
toCompactJSONArray(t: Traversable[X]): String
-
def
toJSONArray(t: Traversable[X]): JArray
-
def
toPrettyJSON(o: X): String
-
def
toPrettyJSONArray(t: Traversable[X]): String
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from Logging
Inherited from AnyRef
Inherited from Any