Package one.microstream.entity
Interface EntityVersionContext<K>
-
- All Superinterfaces:
EntityLayerProviderProvider
- All Known Subinterfaces:
EntityVersionContext.AutoIncrementing<K>
,EntityVersionContext.Mutable<K>
- All Known Implementing Classes:
EntityVersionContext.Abstract
,EntityVersionContext.AutoIncrementing.InstantIncrementor
,EntityVersionContext.AutoIncrementing.IntIncrementor
,EntityVersionContext.AutoIncrementing.LongIncrementor
,EntityVersionContext.AutoIncrementing.SystemNanoTime
,EntityVersionContext.AutoIncrementing.SystemTimeMillis
,EntityVersionContext.Mutable.Default
public interface EntityVersionContext<K> extends EntityLayerProviderProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
EntityVersionContext.Abstract<K>
static interface
EntityVersionContext.AutoIncrementing<K>
static interface
EntityVersionContext.Mutable<K>
-
Method Summary
-
-
-
Method Detail
-
currentVersion
K currentVersion()
-
versionForUpdate
default K versionForUpdate()
-
equalator
HashEqualator<? super K> equalator()
-
cleaner
EntityVersionCleaner<K> cleaner()
-
versions
default <E extends Entity> XGettingTable<K,E> versions(E entity)
-
provideEntityLayerProvider
default EntityLayerProvider provideEntityLayerProvider()
- Specified by:
provideEntityLayerProvider
in interfaceEntityLayerProviderProvider
-
Mutable
static <K> EntityVersionContext.Mutable<K> Mutable()
-
Mutable
static <K> EntityVersionContext.Mutable<K> Mutable(EntityVersionCleaner<K> cleaner)
-
AutoIncrementingInt
static EntityVersionContext<Integer> AutoIncrementingInt()
-
AutoIncrementingInt
static EntityVersionContext<Integer> AutoIncrementingInt(EntityVersionCleaner<Integer> cleaner)
-
AutoIncrementingLong
static EntityVersionContext<Long> AutoIncrementingLong()
-
AutoIncrementingLong
static EntityVersionContext<Long> AutoIncrementingLong(EntityVersionCleaner<Long> cleaner)
-
AutoIncrementingSystemTimeMillis
static EntityVersionContext<Long> AutoIncrementingSystemTimeMillis()
-
AutoIncrementingSystemTimeMillis
static EntityVersionContext<Long> AutoIncrementingSystemTimeMillis(EntityVersionCleaner<Long> cleaner)
-
AutoIncrementingSystemNanoTime
static EntityVersionContext<Long> AutoIncrementingSystemNanoTime()
-
AutoIncrementingSystemNanoTime
static EntityVersionContext<Long> AutoIncrementingSystemNanoTime(EntityVersionCleaner<Long> cleaner)
-
AutoIncrementingInstant
static EntityVersionContext<Instant> AutoIncrementingInstant()
-
AutoIncrementingInstant
static EntityVersionContext<Instant> AutoIncrementingInstant(EntityVersionCleaner<Instant> cleaner)
-
-