Trait/Object

de.sciss.lucre.confluent

Access

Related Docs: object Access | package confluent

Permalink

trait Access[S <: Sys[S]] extends Writable with PathLike

Linear Supertypes
PathLike, Writable, AnyRef, Any
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. All

Abstract Value Members

  1. abstract def +:(head: Long): Access[S]

    Permalink

    Prepends a single element.

  2. abstract def :+(last: Long): Access[S]

    Permalink

    Appends a single element.

  3. abstract def addTerm(term: Long)(implicit tx: S.Tx): Access[S]

    Permalink

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

  4. abstract def drop(num: Int): Access[S]

    Permalink
  5. abstract def head: Long

    Permalink
  6. abstract def index: Access[S]

    Permalink

    Drops the last element.

  7. abstract def info(implicit tx: S.Tx): VersionInfo

    Permalink

    Retrieves the version information associated with the access path.

  8. abstract def isEmpty: Boolean

    Permalink
  9. abstract def last: Long

    Permalink
  10. abstract def mkString(prefix: String, sep: String, suffix: String): String

    Permalink
  11. abstract def nonEmpty: Boolean

    Permalink
  12. abstract def seminal: Access[S]

    Permalink
  13. abstract def size: Int

    Permalink
    Definition Classes
    PathLike
  14. abstract def splitIndex: (Access[S], Long)

    Permalink

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

  15. abstract def sum: Long

    Permalink
    Definition Classes
    PathLike
  16. abstract def sumUntil(n: Int): Long

    Permalink
    Definition Classes
    PathLike
  17. abstract def tail: Access[S]

    Permalink

    Drops the head element.

  18. abstract def take(num: Int): Access[S]

    Permalink
  19. abstract def takeUntil(timeStamp: Long)(implicit tx: S.Tx): Access[S]

    Permalink

    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)

  20. abstract def term: Long

    Permalink
  21. abstract def write(out: DataOutput): Unit

    Permalink
    Definition Classes
    Writable

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PathLike

Inherited from Writable

Inherited from AnyRef

Inherited from Any

Ungrouped