Packages

abstract class KVStoreView[T] extends Iterable[T]

A configurable view that allows iterating over values in a KVStore.

The different methods can be used to configure the behavior of the iterator. Calling the same method multiple times is allowed; the most recent value will be used.

The iterators returned by this view are of type KVStoreIterator; they auto-close when used in a for loop that exhausts their contents, but when used manually, they need to be closed explicitly unless all elements are read.

Linear Supertypes
Iterable[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KVStoreView
  2. Iterable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KVStoreView()

Abstract Value Members

  1. abstract def iterator(): Iterator[T]
    Definition Classes
    Iterable

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( ... ) @native()
  6. def closeableIterator(): KVStoreIterator[T]

    Returns an iterator for the current configuration.

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def first(value: Any): KVStoreView[T]

    Iterates starting at the given value of the chosen index (inclusive).

  11. def forEach(arg0: Consumer[_ >: T]): Unit
    Definition Classes
    Iterable
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def index(name: String): KVStoreView[T]

    Iterates according to the given index.

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def last(value: Any): KVStoreView[T]

    Stops iteration at the given value of the chosen index (inclusive).

  17. def max(max: Long): KVStoreView[T]

    Stops iteration after a number of elements has been retrieved.

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def parent(value: Any): KVStoreView[T]

    Defines the value of the parent index when iterating over a child index.

    Defines the value of the parent index when iterating over a child index. Only elements that match the parent index's value will be included in the iteration.

    Required for iterating over child indices, will generate an error if iterating over a parent-less index.

  22. def reverse(): KVStoreView[T]

    Reverses the order of iteration.

    Reverses the order of iteration. By default, iterates in ascending order.

  23. def skip(n: Long): KVStoreView[T]

    Skips a number of elements at the start of iteration.

    Skips a number of elements at the start of iteration. Skipped elements are not accounted when using #max(long).

  24. def spliterator(): Spliterator[T]
    Definition Classes
    Iterable
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Iterable[T]

Inherited from AnyRef

Inherited from Any

Ungrouped