com.github.rahulsom.grooves.queries.Grooves Maven / Gradle / Ivy
package com.github.rahulsom.grooves.queries;
import com.github.rahulsom.grooves.api.AggregateType;
import com.github.rahulsom.grooves.api.events.BaseEvent;
import com.github.rahulsom.grooves.api.snapshots.TemporalSnapshot;
import com.github.rahulsom.grooves.api.snapshots.VersionedSnapshot;
public class Grooves {
public static <
AggregateIdT,
AggregateT extends AggregateType,
EventIdT,
EventT extends BaseEvent,
SnapshotIdT,
SnapshotT extends VersionedSnapshot
> FunctionalVersionedQuery.Builder versioned() {
return FunctionalVersionedQuery.Builder.newBuilder();
}
public static <
AggregateIdT,
AggregateT extends AggregateType,
EventIdT,
EventT extends BaseEvent,
SnapshotIdT,
SnapshotT extends TemporalSnapshot
> FunctionalTemporalQuery.Builder temporal() {
return FunctionalTemporalQuery.Builder.newBuilder();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy