ObjectStoreWithInlineKeys

A ObjectStoreWithInlineKeys is an object store whose keys can be automatically calculated, either from a generator or by fetching a KeyPath on the inserted objects. It means that the put and add operations for example don't require you to provide an explicit key. To insert a value inside a ObjectStoreWithInlineKeys, you need an ObjectCodec.

trait ObjectStore[T]
class Object
trait Matchable
class Any

Value members

Concrete methods

def add(value: T): Free[[T] =>> TransactionA[T], Key]
def get(key: Key): Transaction[Option[T]]
def getAll(range: Option[KeyRange], count: Int): Transaction[Seq[T]]
def put(value: T): Free[[T] =>> TransactionA[T], Key]

Inherited methods

def getAll(lowerBound: Key, upperBound: Key): Transaction[Seq[T]]
Inherited from
ObjectStore
def getAll(range: KeyRange): Transaction[Seq[T]]
Inherited from
ObjectStore

Abstract fields

protected val codec: ObjectCodec[T]

Inherited fields

val name: Name
Inherited from
ObjectStore