object KeyReader
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- KeyReader
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[T](read: (String) ⇒ T): KeyReader[T]
Creates a KeyReader based on the given
read
function. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit def bigDecimalKeyReader: KeyReader[BigDecimal]
- implicit def bigIntKeyReader: KeyReader[BigInt]
- implicit def byteKeyReader: KeyReader[Byte]
- implicit def charKeyReader: KeyReader[Char]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- implicit def doubleKeyReader: KeyReader[Double]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- implicit def floatKeyReader: KeyReader[Float]
-
def
from[T](readTry: (String) ⇒ Try[T]): KeyReader[T]
Creates a KeyReader based on the given
readTry
function. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- implicit def intKeyReader: KeyReader[Int]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
def
keyReader[T](implicit conv: (String) ⇒ T): KeyReader[T]
Provides a KeyReader instance of any
T
type that can be parsed from aString
. -
implicit
lazy val
localeReader: KeyReader[Locale]
Supports reading locales as keys, using language tag as string representation.
Supports reading locales as keys, using language tag as string representation.
import reactivemongo.api.bson.KeyReader implicitly[KeyReader[java.util.Locale]].readTry("fr-FR") // => Success(Locale.FRANCE)
- implicit def longKeyReader: KeyReader[Long]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit def shortKeyReader: KeyReader[Short]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
implicit
lazy val
uuidReader: KeyReader[UUID]
Supports reading
UUID
as keys.Supports reading
UUID
as keys.import reactivemongo.api.bson.KeyReader implicitly[KeyReader[java.util.UUID]]. readTry("BDE87A8B-52F6-4345-9BCE-A30F4CB9FCB4") // => Success(java.util.UUID{"BDE87A8B-52F6-4345-9BCE-A30F4CB9FCB4"})
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()