Skip to content

KVStore

= KVStore

KVStore is an <> of <>.

== [[contract]] Contract

=== [[count]] count

[source,java]

long count( Class<?> type) long count( Class<?> type, String index, Object indexedValue)


=== [[delete]] delete

[source,java]

void delete( Class<?> type, Object naturalKey)


=== [[getMetadata]] getMetadata

[source,java]

T getMetadata( Class klass)


=== [[read]] read

[source,java]

T read( Class klass, Object naturalKey)


=== [[removeAllByIndexValues]] removeAllByIndexValues

[source,java]

boolean removeAllByIndexValues( Class klass, String index, Collection<?> indexValues)


=== [[setMetadata]] setMetadata

[source,java]

void setMetadata( Object value)


=== [[view]] view

[source,java]

KVStoreView view( Class type)


=== [[write]] write

[source,java]

void write( Object value)


== [[implementations]] KVStores

[cols="30,70",options="header",width="100%"] |=== | KVStore | Description

| core:ElementTrackingStore.md[] | [[ElementTrackingStore]]

| core:InMemoryStore.md[] | [[InMemoryStore]]

| core:LevelDB.md[] | [[LevelDB]]

|===


Last update: 2020-10-06