Timestamp

sealed abstract class Timestamp

Timestamp is an optional timestamp value representing a createTime, logAppendTime, unknownTime, or no timestamp at all.

Timestamp is an optional timestamp value representing a createTime, logAppendTime, unknownTime, or no timestamp at all.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def createTime: Option[Long]

Returns the timestamp value, if the timestamp is representing the time when a record was created.

Returns the timestamp value, if the timestamp is representing the time when a record was created.

def isEmpty: Boolean

Returns true if there is no timestamp value; otherwise false.

Returns true if there is no timestamp value; otherwise false.

def logAppendTime: Option[Long]

Returns the timestamp value, if the timestamp is representing the time when a record was appended to the log.

Returns the timestamp value, if the timestamp is representing the time when a record was appended to the log.

def unknownTime: Option[Long]

Returns the timestamp value, if there is a timestamp, but the type is unknown.

Returns the timestamp value, if there is a timestamp, but the type is unknown.

Concrete methods

final def nonEmpty: Boolean

Returns true if there is a timestamp value; otherwise false.

Returns true if there is a timestamp value; otherwise false.