Packages

trait Access[T <: Txn[T]] extends Writable with PathLike

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Access
  2. PathLike
  3. Writable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def !(implicit tx: T): T.Acc
  2. abstract def +:(head: Long): Access[T]

    Prepends a single element.

  3. abstract def :+(last: Long): Access[T]

    Appends a single element.

  4. 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).

  5. abstract def drop(num: Int): Access[T]
  6. abstract def head: Long
    Definition Classes
    PathLike
  7. abstract def index: Access[T]

    Drops the last element.

  8. abstract def info(implicit tx: T): VersionInfo

    Retrieves the version information associated with the access path.

  9. abstract def isEmpty: Boolean
    Definition Classes
    PathLike
  10. abstract def last: Long
    Definition Classes
    PathLike
  11. abstract def mkString(prefix: String, sep: String, suffix: String): String
  12. abstract def nonEmpty: Boolean
    Definition Classes
    PathLike
  13. abstract def seminal: Access[T]
  14. abstract def size: Int
    Definition Classes
    PathLike
  15. abstract def splitIndex: (Access[T], Long)

    Splits off last term, returning index (init) and that last term.

  16. abstract def sum: Long
    Definition Classes
    PathLike
  17. abstract def sumUntil(n: Int): Long
    Definition Classes
    PathLike
  18. abstract def tail: Access[T]

    Drops the head element.

  19. abstract def take(num: Int): Access[T]
  20. 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 a VersionInfo object whose timeStamp field is less than or equal to the timeStamp argument of this method. The only exception is if the timeStamp 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)

  21. abstract def term: Long
  22. abstract def write(out: DataOutput): Unit
    Definition Classes
    Writable

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from PathLike

Inherited from Writable

Inherited from AnyRef

Inherited from Any

Ungrouped