BSONTimestamp

reactivemongo.api.bson.BSONTimestamp
See theBSONTimestamp companion class
object BSONTimestamp

Timestamp companion

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(value: Long): BSONTimestamp

Returns a BSONTimestamp

Returns a BSONTimestamp

Attributes

def apply(time: Int, ordinal: Int): BSONTimestamp

Returns the timestamp corresponding to the given time and ordinal.

Returns the timestamp corresponding to the given time and ordinal.

Value parameters

ordinal

an incrementing ordinal for operations within a same second

time

the 32bits time value (seconds since the Unix epoch)

Attributes

Returns the string representation for the given BSONTimestamp.

Returns the string representation for the given BSONTimestamp.

Attributes

def unapply(that: Any): Option[Long]

Extracts the timestamp value if that's a BSONTimestamp.

Extracts the timestamp value if that's a BSONTimestamp.

Attributes