com.foursquare

rogue

package rogue

Visibility
  1. Public
  2. All

Type Members

  1. trait !<:< [A, B] extends AnyRef

    Attributes
    sealed
    Annotations
    @implicitNotFound( ... )
  2. class AbstractListModifyField [V, DB, M, CC[X] <: Seq[X]] extends AnyRef

    Attributes
    abstract
  3. class AbstractListQueryField [F, V, DB, M, CC[X] <: Seq[X]] extends AbstractQueryField[CC[F], V, DB, M]

    Attributes
    abstract
  4. class AbstractModifyField [V, DB, M] extends AnyRef

    Attributes
    abstract
  5. class AbstractQueryField [F, V, DB, M] extends AnyRef

    Trait representing a field and all the operations on it.

  6. trait AddLimit [-In, +Out] extends Required[In, Unlimited]

    Annotations
    @implicitNotFound( ... )
  7. trait AddOrClause [-In, +Out] extends Required[In, HasNoOrClause]

    Annotations
    @implicitNotFound( ... )
  8. trait AddOrder [-In, +Out] extends Required[In, Unordered]

    Annotations
    @implicitNotFound( ... )
  9. trait AddSelect [-In, +Out, +One] extends Required[In, Unselected]

    Annotations
    @implicitNotFound( ... )
  10. trait AddShardAware [-In, +Specified, +AllOk] extends Required[In, ShardKeyNotSpecified]

  11. trait AddSkip [-In, +Out] extends Required[In, Unskipped]

    Annotations
    @implicitNotFound( ... )
  12. case class AllQueryClause [V] (fieldName: String, vs: List[V], expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[List[V], Index] with Product with Serializable

  13. trait AllShardsOk extends ShardAware

    Attributes
    sealed
  14. trait BSONType [T] extends AnyRef

  15. case class BetweenQueryClause [V] (fieldName: String, lower: V, upper: V, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[V, PartialIndexScan] with Product with Serializable

  16. class BsonRecordListModifyField [M, B] extends AbstractListModifyField[B, DBObject, M, List]

  17. class BsonRecordListQueryField [M, B] extends AbstractListQueryField[B, B, DBObject, M, List]

  18. class BsonRecordModifyField [M, B] extends AbstractModifyField[B, DBObject, M]

  19. class BsonRecordQueryField [M, B] extends AbstractQueryField[B, B, DBObject, M]

  20. class CaseClassListModifyField [V, M] extends AbstractListModifyField[V, DBObject, M, List]

  21. class CaseClassListQueryField [V, M] extends AbstractListQueryField[V, V, DBObject, M, List]

  22. class CaseClassQueryField [V, M] extends AnyRef

  23. trait DBCollectionFactory [MB] extends AnyRef

  24. class DateModifyField [M] extends AbstractModifyField[Date, Date, M]

  25. class DateQueryField [M] extends AbstractQueryField[Date, DateTime, Date, M]

  26. class DateTimeModifyField [M] extends AbstractModifyField[DateTime, Date, M]

  27. class DateTimeQueryField [M] extends AbstractQueryField[DateTime, DateTime, Date, M]

  28. case class Degrees (value: Double) extends Product with Serializable

  29. trait DocumentScan extends MaybeIndexed

    Attributes
    sealed
  30. class DummyField [V, R] extends Field[V, R]

  31. case class ElemMatchWithPredicateClause [V] (fieldName: String, clauses: Seq[com.foursquare.rogue.QueryClause[_]], expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[V, DocumentScan] with Product with Serializable

  32. case class EmptyQueryClause [V] (fieldName: String, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[V, Index] with Product with Serializable

  33. class EnumIdQueryField [M, E <: Value] extends AbstractQueryField[E, E, Int, M]

  34. class EnumNameQueryField [M, E <: Value] extends AbstractQueryField[E, E, String, M]

  35. class EnumerationListModifyField [V <: Value, M] extends AbstractListModifyField[V, String, M, List]

  36. class EnumerationListQueryField [V <: Value, M] extends AbstractListQueryField[V, V, String, M, List]

  37. class EnumerationModifyField [M, E <: Value] extends AbstractModifyField[E, String, M]

  38. case class EqClause [V, Ind <: MaybeIndexed] (fieldName: String, value: V, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[V, Index] with Product with Serializable

  39. case class ExistsQueryClause (fieldName: String, v: Boolean, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[Boolean, IndexScan] with Product with Serializable

  40. case class FindAndModifyQuery [M, R] (query: com.foursquare.rogue.Query[M, R, _], mod: MongoModify) extends Product with Serializable

  41. class ForeignObjectIdQueryField [F <: ObjectId, M, T] extends ObjectIdQueryField[F, M]

  42. class GeoModifyField [M] extends AbstractModifyField[LatLong, List[Double], M]

  43. class GeoQueryField [M] extends AbstractQueryField[LatLong, LatLong, List[Double], M]

  44. case class GtEqQueryClause [V] (fieldName: String, v: V, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[V, PartialIndexScan] with Product with Serializable

  45. case class GtQueryClause [V] (fieldName: String, v: V, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[V, PartialIndexScan] with Product with Serializable

  46. trait HasNoOrClause extends AnyRef

    Attributes
    sealed
  47. trait HasOrClause extends AnyRef

    Attributes
    sealed
  48. trait HasntUsedIndex extends MaybeUsedIndex

    Attributes
    sealed
  49. case class InQueryClause [V] (fieldName: String, vs: List[V], expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[List[V], Index] with Product with Serializable

  50. trait Index extends Indexable with IndexScannable

    Attributes
    sealed
  51. trait IndexScan extends IndexScannable

    Attributes
    sealed
  52. trait IndexScannable extends MaybeIndexed

    Attributes
    sealed
  53. trait Indexable extends MaybeIndexed

    Attributes
    sealed
  54. class IndexableQueryClause [V, Ind <: MaybeIndexed] extends QueryClause[V]

    Attributes
    abstract
  55. type InitialState = Unordered with Unselected with Unlimited with Unskipped with HasNoOrClause with ShardKeyNotSpecified

    Definition Classes
    package
  56. case class LatLong (lat: Double, long: Double) extends Product with Serializable

  57. trait Lim extends Limited with Unlimited

    Attributes
    sealed
  58. trait Limited extends AnyRef

    Attributes
    sealed
  59. class ListModifyField [V, M] extends AbstractListModifyField[V, AnyRef, M, List]

  60. class ListQueryField [V, M] extends AbstractListQueryField[V, V, AnyRef, M, List]

  61. case class LtEqQueryClause [V] (fieldName: String, v: V, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[V, PartialIndexScan] with Product with Serializable

  62. case class LtQueryClause [V] (fieldName: String, v: V, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[V, PartialIndexScan] with Product with Serializable

  63. class MandatorySelectField [V, M] extends SelectField[V, M]

    Attributes
    final
  64. class MapModifyField [V, M] extends AbstractModifyField[Map[String, V], Map[String, V], M]

  65. class MapQueryField [V, M] extends AnyRef

  66. trait MaybeIndexed extends AnyRef

    Attributes
    sealed
  67. trait MaybeUsedIndex extends AnyRef

    Attributes
    sealed
  68. case class ModQueryClause [V] (fieldName: String, v: List[V], expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[List[V], IndexScan] with Product with Serializable

  69. class ModifyAddEachClause extends ModifyClause

  70. class ModifyBitAndClause extends ModifyClause

  71. class ModifyBitOrClause extends ModifyClause

  72. class ModifyClause extends AnyRef

  73. class ModifyField [V, M] extends AbstractModifyField[V, AnyRef, M]

  74. class ModifyPullObjWithPredicateClause [V] extends ModifyClause

  75. class ModifyPullWithPredicateClause [V] extends ModifyClause

  76. class ModifyPushEachClause extends ModifyClause

  77. class ModifyPushEachSliceClause extends ModifyClause

  78. case class ModifyQuery [M, +State] (query: com.foursquare.rogue.Query[M, _, State], mod: MongoModify) extends Product with Serializable

  79. class MongoJavaDriverAdapter [MB] extends AnyRef

  80. case class NeQueryClause [V] (fieldName: String, v: V, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[V, PartialIndexScan] with Product with Serializable

  81. case class NearQueryClause [V] (fieldName: String, v: V, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[V, PartialIndexScan] with Product with Serializable

  82. case class NearSphereQueryClause [V] (fieldName: String, lat: Double, lng: Double, radians: Radians, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[V, PartialIndexScan] with Product with Serializable

  83. case class NinQueryClause [V] (fieldName: String, vs: List[V], expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[List[V], DocumentScan] with Product with Serializable

  84. trait NoIndexInfo extends Indexable with IndexScannable

    Attributes
    sealed
  85. class NumericModifyField [V, M] extends AbstractModifyField[V, V, M]

  86. class NumericQueryField [V, M] extends AbstractQueryField[V, V, V, M]

  87. class ObjectIdQueryField [F <: ObjectId, M] extends NumericQueryField[F, M]

  88. class OptionalSelectField [V, M] extends SelectField[Option[V], M]

    Attributes
    final
  89. trait Or extends HasOrClause with HasNoOrClause

    Attributes
    sealed
  90. trait Ord extends Ordered with Unordered

    Attributes
    sealed
  91. trait Ordered extends AnyRef

    Attributes
    sealed
  92. type OrderedQuery [M] = Query[M, M, OrderedState]

    Definition Classes
    package
  93. type OrderedState = Ordered with Unselected with Unlimited with Unskipped with HasNoOrClause with ShardKeyNotSpecified

    Definition Classes
    package
  94. trait PartialIndexScan extends IndexScannable

    Attributes
    sealed
  95. case class Query [M, R, +State] (meta: M, collectionName: String, lim: Option[Int], sk: Option[Int], maxScan: Option[Int], comment: Option[String], hint: Option[ListMap[String, Any]], condition: AndCondition, order: Option[MongoOrder], select: Option[MongoSelect[M, R]], readPreference: Option[ReadPreference]) extends Product with Serializable

    The definition of methods needed to build a query.

  96. class QueryClause [V] extends AnyRef

    Attributes
    abstract
  97. trait QueryExecutor [MB] extends Rogue

  98. class QueryField [V, M] extends AbstractQueryField[V, V, AnyRef, M]

  99. class QueryOptimizer extends AnyRef

  100. case class Radians (value: Double) extends Product with Serializable

  101. case class RawQueryClause (f: (BasicDBObjectBuilder) ⇒ Unit, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[Nothing, com.foursquare.rogue.DocumentScan.type] with Product with Serializable

  102. case class RegexQueryClause [Ind <: MaybeIndexed] (fieldName: String, actualIB: Ind, p: Pattern, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[Pattern, Ind] with Product with Serializable

  103. trait RequireShardKey [M, -S] extends AnyRef

    Annotations
    @implicitNotFound( ... )
  104. class Required [-A, +B] extends AnyRef

    Annotations
    @implicitNotFound( "Cannot prove that ${A} <: ${B}" )
  105. class RequiredDummyField [V, R] extends RequiredField[V, R]

  106. trait Rogue extends AnyRef

    A utility trait containing typing shorthands, and a collection of implicit conversions that make query syntax much simpler.

  107. class RogueException extends RuntimeException

  108. trait RogueSerializer [R] extends AnyRef

  109. class SafeModifyField [V, M] extends AnyRef

  110. trait Sel extends Selected with SelectedOne with Unselected

    Attributes
    sealed
  111. class SelectField [V, M] extends AnyRef

    Fields that can be turned into SelectFields can be used in a .

  112. class SelectableDummyField [V, R] extends OptionalField[V, R]

  113. trait Selected extends AnyRef

    Attributes
    sealed
  114. trait SelectedOne extends Selected

    Attributes
    sealed
  115. class SeqModifyField [V, M] extends AbstractListModifyField[V, AnyRef, M, Seq]

  116. class SeqQueryField [V, M] extends AbstractListQueryField[V, V, AnyRef, M, Seq]

  117. trait Sh extends ShardKeyNotSpecified with ShardKeySpecified with AllShardsOk

    Attributes
    sealed
  118. trait ShardAware extends AnyRef

    Attributes
    sealed
  119. trait ShardKey [V] extends AnyRef

  120. trait ShardKeyClause extends AnyRef

  121. trait ShardKeyNotSpecified extends AnyRef

    Attributes
    sealed
  122. trait ShardKeySpecified extends ShardAware

    Attributes
    sealed
  123. trait Sharded extends AnyRef

  124. trait ShardingOk [M, -S] extends AnyRef

    Annotations
    @implicitNotFound( ... )
  125. type SimpleQuery [M] = Query[M, M, InitialState]

    Definition Classes
    package
  126. case class SizeQueryClause (fieldName: String, v: Int, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[Int, DocumentScan] with Product with Serializable

  127. trait Sk extends Skipped with Unskipped

    Attributes
    sealed
  128. trait Skipped extends AnyRef

    Attributes
    sealed
  129. case class StrictBetweenQueryClause [V] (fieldName: String, lower: V, upper: V, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[V, PartialIndexScan] with Product with Serializable

  130. class StringQueryField [F <: String, M] extends AbstractQueryField[F, F, F, M] with StringRegexOps[F, M]

  131. trait StringRegexOps [V, M] extends AnyRef

  132. class StringsListQueryField [M] extends AbstractListQueryField[String, String, String, M, List] with StringRegexOps[List[String], M]

  133. case class TypeQueryClause (fieldName: String, v: Value, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[Int, IndexScan] with Product with Serializable

  134. trait Unlimited extends AnyRef

    Attributes
    sealed
  135. trait Unordered extends AnyRef

    Attributes
    sealed
  136. trait Unselected extends AnyRef

    Attributes
    sealed
  137. trait Unskipped extends AnyRef

    Attributes
    sealed
  138. trait UsedIndex extends MaybeUsedIndex

    Attributes
    sealed
  139. case class WithinBoxClause [V] (fieldName: String, lat1: Double, lng1: Double, lat2: Double, lng2: Double, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[V, PartialIndexScan] with Product with Serializable

  140. case class WithinCircleClause [V] (fieldName: String, lat: Double, lng: Double, radius: Double, expectedIndexBehavior: MaybeIndexed) extends IndexableQueryClause[V, PartialIndexScan] with Product with Serializable

Value Members

  1. object !<:< extends AnyRef

  2. object AddLimit extends AnyRef

  3. object AddOrClause extends AnyRef

  4. object AddOrder extends AnyRef

  5. object AddSelect extends AnyRef

  6. object AddShardAware extends AnyRef

  7. object AddSkip extends AnyRef

  8. object BSONType extends AnyRef

  9. object CondOps extends Enumeration

  10. object DocumentScan extends DocumentScan with Product with Serializable

  11. object Index extends Index with Product with Serializable

  12. object IndexScan extends IndexScan with Product with Serializable

  13. object Iter extends AnyRef

    Iteratee helper classes

  14. object ModOps extends Enumeration

  15. object MongoHelpers extends Rogue

  16. object MongoType extends Enumeration

  17. object NoIndexInfo extends NoIndexInfo with Product with Serializable

  18. object PartialIndexScan extends PartialIndexScan with Product with Serializable

  19. object QueryHelpers extends AnyRef

  20. object RequireShardKey extends AnyRef

  21. object Required extends AnyRef

  22. object Rogue extends Rogue

  23. object ShardingOk extends AnyRef