BSONTimestamp

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

Timestamp companion

Attributes

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

Members list

Concise view

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.

Attributes

ordinal

an incrementing ordinal for operations within a same second

time

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

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