trait Access[T <: Txn[T]] extends Writable with PathLike
- Alphabetic
- By Inheritance
- Access
- PathLike
- Writable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def !(implicit tx: T): T.Acc
- abstract def +:(head: Long): Access[T]
Prepends a single element.
- abstract def :+(last: Long): Access[T]
Appends a single element.
- abstract def addTerm(term: Long)(implicit tx: T): Access[T]
Replaces the terminal version with the given
term
.Replaces the terminal version with the given
term
. If the new term is on the same tree level as the old term, the term is replaced, otherwise a new tree is entered (the new term is appended twice). - abstract def drop(num: Int): Access[T]
- abstract def head: Long
- Definition Classes
- PathLike
- abstract def index: Access[T]
Drops the last element.
- abstract def info(implicit tx: T): VersionInfo
Retrieves the version information associated with the access path.
- abstract def isEmpty: Boolean
- Definition Classes
- PathLike
- abstract def last: Long
- Definition Classes
- PathLike
- abstract def mkString(prefix: String, sep: String, suffix: String): String
- abstract def nonEmpty: Boolean
- Definition Classes
- PathLike
- abstract def seminal: Access[T]
- abstract def size: Int
- Definition Classes
- PathLike
- abstract def splitIndex: (Access[T], Long)
Splits off last term, returning index (init) and that last term.
- abstract def sum: Long
- Definition Classes
- PathLike
- abstract def sumUntil(n: Int): Long
- Definition Classes
- PathLike
- abstract def tail: Access[T]
Drops the head element.
- abstract def take(num: Int): Access[T]
- abstract def takeUntil(timeStamp: Long)(implicit tx: T): Access[T]
Truncates the path to a prefix corresponding to the most recent transaction along the path which has occurred not after a given point in (system) time.
Truncates the path to a prefix corresponding to the most recent transaction along the path which has occurred not after a given point in (system) time.
In other words, calling
info
on the returned path results in aVersionInfo
object whosetimeStamp
field is less than or equal to thetimeStamp
argument of this method. The only exception is if thetimeStamp
argument is smaller than the root version of system; in that case, the root path is returned instead of an empty path.Note: This assumes that incremental versions correspond with incremental time stamps. This is not enforced and if this is not the case, the behaviour is undefined. Furthermore, if it is allowed that multiple successive versions have the same time stamp. In that case, it is undefined which of these versions is returned.
- timeStamp
the query time (in terms of
System.currentTimeMillis
)
- abstract def term: Long
- abstract def write(out: DataOutput): Unit
- Definition Classes
- Writable
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated