Package

com.mongodb.casbah

commons

Permalink

package commons

Visibility
  1. Public
  2. All

Type Members

  1. trait BaseImports extends AnyRef

    Permalink
  2. trait Implicits extends AnyRef

    Permalink
  3. trait Imports extends BaseImports with TypeImports with Implicits

    Permalink
  4. class Logger extends AnyRef

    Permalink

    Scala SLF4J wrapper

    Scala SLF4J wrapper

    Example:

    class Foo extends Logging {
    log.info("My foo is %s","alive")
    log.error(new Exception(),"My foo is %s","broken")
    }
    

    The logger uses String.format: http://download-llnw.oracle.com/javase/6/docs/api/java/lang/String.html#format(java.lang.String,%20java.lang.Object...)

  5. trait Logging extends AnyRef

    Permalink

    Base trait for all classes that wants to be able use the logging infrastructure.

  6. class MongoDBList extends Seq[Any] with Castable

    Permalink
  7. sealed class MongoDBListBuilder extends Builder[Any, Seq[Any]]

    Permalink
  8. class MongoDBObject extends Map[String, AnyRef] with MapLike[String, AnyRef, MongoDBObject] with Logging with Castable

    Permalink

    MapLike scala interface for Mongo DBObjects - proxies an existing DBObject.

    MapLike scala interface for Mongo DBObjects - proxies an existing DBObject. Cannot act as a DBObject or implement it's interface due to conflicts between the java methods and scala methods. Implicits and explicit methods allow you to convert to java though.

    Annotations
    @BeanInfo()
    Since

    1.0

  9. sealed class MongoDBObjectBuilder extends Builder[(String, Any), commons.Imports.DBObject]

    Permalink
  10. sealed trait NotNothing[A] extends AnyRef

    Permalink

    Nice trick from Miles Sabin using ambiguity in implicit resolution to disallow Nothing

  11. trait TypeImports extends AnyRef

    Permalink
  12. abstract class ValidBSONType[T] extends AnyRef

    Permalink

Value Members

  1. object BaseImports extends BaseImports

    Permalink
  2. object EnsureConversionHelpersRegistration

    Permalink
  3. object Implicits extends Implicits

    Permalink
  4. object Imports extends Imports

    Permalink
  5. object Logger

    Permalink

    Logger factory

    Logger factory

    ex.

    val logger = Logger("my.cool.logger") val logger = Logger(classOf[Banana]) val rootLogger = Logger.root

  6. object MongoDBList

    Permalink
  7. object MongoDBObject

    Permalink
  8. object NotNothing

    Permalink
  9. object TypeImports extends TypeImports

    Permalink
  10. object ValidBSONType

    Permalink
  11. package conversions

    Permalink

Ungrouped