Uses of Record Class
io.fluxzero.common.api.modeling.ModelReadBoundary
Packages that use ModelReadBoundary
Package
Description
-
Uses of ModelReadBoundary in io.fluxzero.common.api.modeling
Fields in io.fluxzero.common.api.modeling declared as ModelReadBoundaryModifier and TypeFieldDescriptionstatic final ModelReadBoundaryModelReadBoundary.CURRENTUnpinned current-state boundary including active message-batch values.Methods in io.fluxzero.common.api.modeling that return ModelReadBoundaryModifier and TypeMethodDescriptionModelReadBoundary.asBefore()Returns the boundary immediately before this selection.static ModelReadBoundaryReturns a current boundary fornull, otherwise an exact state boundary.static ModelReadBoundaryCreates a boundary at a commit substep.static ModelReadBoundaryModelReadBoundary.current()Returns the shared current-state boundary.static ModelReadBoundaryModelReadBoundary.event(long eventIndex) Creates a boundary at an event index.static ModelReadBoundaryModelReadBoundary.eventOrCurrent(long eventIndex) Creates an event boundary that retains current-state behavior when the event has no Model mapping.ModelReadBoundary.forRequest()Returns the durable selector form carried by a storage request.static ModelReadBoundaryModelEventMetadata.readBoundary(Metadata metadata) Returns the commit boundary carried bymetadata, ornullwhen it is not a Model event.static ModelReadBoundaryModelEventMetadata.readBoundary(Metadata metadata, MessageType messageType, Long messageIndex) Returns the Model boundary carried by a Model event, or falls back to an existing global event index.ModelReadBoundary.resolved(long resolvedStateIndex) Pins this selection to the durable state returned by storage.ModelReadBoundary.resolved(long resolvedStateIndex, boolean includeMessageBatch) Pins this selection while explicitly retaining or excluding active message-batch values.static ModelReadBoundaryModelReadBoundary.state(long stateIndex, boolean includeMessageBatch) Creates an exact state boundary with optional active message-batch visibility.ModelReadBoundary.withoutMessageBatch()Returns this boundary without active message-batch visibility.Methods in io.fluxzero.common.api.modeling with parameters of type ModelReadBoundaryModifier and TypeMethodDescriptionstatic GetModelGraphGetModelGraph.ancestors(List<String> modelIds, ModelReadBoundary boundary, int maxDepth, int maxModels, int maxEventsPerModel, long maxBytes) Creates a multi-root ancestor query, preserving inclusive or before-boundary relationship selection.Constructors in io.fluxzero.common.api.modeling with parameters of type ModelReadBoundaryModifierConstructorDescriptionGetModelEvents(List<ModelEventStreamRequest> requests, ModelReadBoundary boundary, long maxBytes) GetModelEventsByIdentity(List<ModelEventStreamRequest> requests, ModelReadBoundary boundary, long maxBytes, GetModelEventsByIdentity.Selection selection) GetModelGraph(String rootId, ModelReadBoundary boundary, int maxDepth, int maxModels, int maxEventsPerModel, long maxBytes, boolean composableOnly) Creates the ordinary single-root descendant query used by public Graph loads.GetModelGraph(List<String> modelIds, ModelReadBoundary boundary, int maxDepth, int maxModels, int maxEventsPerModel, long maxBytes, GetModelGraph.TraversalDirection direction, boolean composableOnly) -
Uses of ModelReadBoundary in io.fluxzero.common.modeling
Methods in io.fluxzero.common.modeling with parameters of type ModelReadBoundaryModifier and TypeMethodDescriptionstatic longModelRelationshipQueries.resolveBoundary(ModelReadBoundary boundary, boolean rejectNewer, LongSupplier currentState, BiFunction<String, Integer, Long> commitBoundary, Function<Long, Long> eventBoundary) Resolves a current, state, commit or event selector against one visible store boundary.ModelRelationshipQueries.resolveBoundaryWithEvidence(ModelReadBoundary boundary, boolean rejectNewer, LongSupplier currentState, BiFunction<String, Integer, Long> commitBoundary, Function<Long, Long> eventBoundary) Resolves a boundary and records whether an event selector used its explicit current-state fallback. -
Uses of ModelReadBoundary in io.fluxzero.sdk.modeling
Methods in io.fluxzero.sdk.modeling that return ModelReadBoundaryModifier and TypeMethodDescriptionCommitAttempt.graphReadBoundary()Input boundary for lazy Graph values and relationships, including earlier stored commit substeps.Methods in io.fluxzero.sdk.modeling with parameters of type ModelReadBoundaryModifier and TypeMethodDescriptionstatic <T> Graph<T> Graphs.compose(String rootId, long stateIndex, Map<String, Entity<?>> models, List<ModelGraphEdge> edges, ModelRepository repository, boolean historical, ModelReadBoundary boundary) Creates a complete graph while retaining its exact repository boundary for lazy relationship loads.static <T> Graph<T> Graphs.compose(String rootId, long stateIndex, Map<String, Entity<?>> durableModels, List<ModelGraphEdge> durableEdges, ModelRepository repository, boolean historical, ModelReadBoundary boundary, String namespace, Class<T> rootType, Graph.Options options, Map<String, Entity<?>> staged, Function<Entity<?>, Graph<?>> supplementalLoader) Builds one indexed state with visible message-batch values applied before graph selection.CommitAttempt.withReplayReads(ModelRepository repository, ModelReadBoundary boundary) Binds replay reads to their original input without joining live mutation/conflict tracking. -
Uses of ModelReadBoundary in io.fluxzero.sdk.persisting.repository
Methods in io.fluxzero.sdk.persisting.repository that return ModelReadBoundaryModifier and TypeMethodDescriptionModelGraphResolver.Identity.boundary()Returns the value of theboundaryrecord component.ModelGraphResolver.Relations.boundary()Returns the value of theboundaryrecord component.ModelGraphResolver.Value.boundary()Returns the value of theboundaryrecord component.Methods in io.fluxzero.sdk.persisting.repository with parameters of type ModelReadBoundaryModifier and TypeMethodDescriptionbooleanDefaultModelRepository.allowsAliasFallback(String requestedId, Class<?> modelType, ModelReadBoundary boundary) default booleanModelGraphResolver.allowsAliasFallback(String requestedId, Class<?> modelType, ModelReadBoundary boundary) Checks whether a pending undecorated alias may supply a missing prefixed root at this boundary.DefaultModelRepository.graphStagedValues(ModelReadBoundary boundary) ModelGraphResolver.graphStagedValues(ModelReadBoundary boundary) Captures this repository's message-batch overlay once for a new navigation view.DefaultModelRepository.historicalDocumentFallback(String modelId, Class<?> modelType, ModelReadBoundary boundary, RuntimeException failure) default ObjectModelGraphResolver.historicalDocumentFallback(String modelId, Class<?> modelType, ModelReadBoundary boundary, RuntimeException failure) Recovers only an unavailable historical document value.ModelDiagnostics.inspectGraph(String rootId, ModelReadBoundary boundary, ModelDiagnostics.Limits limits) Inspects a bounded descendant Graph sample; unknown Model contracts remain visible as metadata.ModelDiagnostics.inspectStreams(List<String> modelIds, ModelReadBoundary boundary, ModelDiagnostics.Limits limits) Inspects one bounded first page for each explicitly selected stream at a shared boundary.DefaultModelRepository.loadAncestorGraph(String modelId, Class<?> modelType, Class<A> ancestorType, ModelReadBoundary boundary) DefaultModelRepository.loadAncestorGraph(String modelId, Class<?> modelType, Class<A> ancestorType, ModelReadBoundary boundary, Consumer<ModelAncestorResolver.AncestorReads> observer) ModelAncestorResolver.loadAncestorGraph(String modelId, Class<?> modelType, Class<A> ancestorType, ModelReadBoundary boundary) Resolves and loads only the closest ancestor assignable toancestorTypeat the graph's read boundary.ModelAncestorResolver.loadAncestorGraph(String modelId, Class<?> modelType, Class<A> ancestorType, ModelReadBoundary boundary, Consumer<ModelAncestorResolver.AncestorReads> observer) Resolves an ancestor while reporting the identities inspected by the relationship traversal, including a negative result.DefaultModelRepository.loadAncestorGraphs(String modelId, Class<?> modelType, Class<A> ancestorType, ModelReadBoundary boundary) ModelAncestorResolver.loadAncestorGraphs(String modelId, Class<?> modelType, Class<A> ancestorType, ModelReadBoundary boundary) Resolves every reachable ancestor assignable toancestorTypeat one boundary.<T> Graph<T> DefaultModelRepository.loadGraph(@NonNull String rootId, @NonNull Class<T> rootType, @NonNull ModelReadBoundary boundary, Graph.Options options) default <T> Graph<T> ModelRepository.loadGraph(@NonNull String rootId, @NonNull Class<T> rootType, @NonNull ModelReadBoundary boundary, Graph.Options options) Reconstructs one model graph at the supplied current, state, commit, event, or before boundary.Graph<?> DefaultModelRepository.loadGraphProjection(String rootId, Class<?> rootType, ModelReadBoundary boundary, boolean historical) Graph<?> DefaultModelRepository.loadGraphProjection(String rootId, Class<?> rootType, ModelReadBoundary boundary, boolean historical, Entity<?> resolvedRoot) Graph<?> ModelGraphResolver.loadGraphProjection(String rootId, Class<?> rootType, ModelReadBoundary boundary, boolean historical) Strictly materializes a full graph at the selected boundary without consulting later batch state.default Graph<?> ModelGraphResolver.loadGraphProjection(String rootId, Class<?> rootType, ModelReadBoundary boundary, boolean historical, Entity<?> resolvedRoot) Materializes relationships while retaining a root value whose identity or absence was already resolved.DefaultModelRepository.loadGraphRelations(List<String> modelIds, ModelRelationshipRead.Direction direction, ModelReadBoundary boundary, Map<String, Entity<?>> staged, boolean historical) ModelGraphResolver.loadGraphRelations(List<String> modelIds, ModelRelationshipRead.Direction direction, ModelReadBoundary boundary, Map<String, Entity<?>> staged, boolean historical) Reads direct relationships and heads without loading values.DefaultModelRepository.loadGraphValue(Object modelId, boolean exact, Class<?> modelType, ModelReadBoundary boundary) DefaultModelRepository.loadGraphValue(Object modelId, boolean exact, Class<?> modelType, ModelReadBoundary boundary, boolean historical) DefaultModelRepository.loadGraphValue(Object id, ModelIdResolution resolution, Class<?> type, ModelReadBoundary boundary) DefaultModelRepository.loadGraphValue(Object id, ModelIdResolution resolution, Class<?> type, ModelReadBoundary boundary, boolean historical) ModelGraphResolver.loadGraphValue(Object modelId, boolean exact, Class<?> modelType, ModelReadBoundary boundary) Loads a source value and retains the coherent boundary that ordinary single-value APIs do not expose.default ModelGraphResolver.ValueModelGraphResolver.loadGraphValue(Object modelId, boolean exact, Class<?> modelType, ModelReadBoundary boundary, boolean historical) Loads at a pinned boundary without confusing transaction-current document authority with historical replay.default ModelGraphResolver.ValueModelGraphResolver.loadGraphValue(Object id, ModelIdResolution resolution, Class<?> type, ModelReadBoundary boundary) Loads a source value with independent normalization and alias policy.default ModelGraphResolver.ValueModelGraphResolver.loadGraphValue(Object id, ModelIdResolution resolution, Class<?> type, ModelReadBoundary boundary, boolean historical) Loads a source value at a pinned boundary with independent normalization and alias policy.DefaultModelRepository.loadGraphValues(Map<String, Class<?>> modelTypes, ModelReadBoundary boundary, Map<String, Entity<?>> staged, boolean historical) ModelGraphResolver.loadGraphValues(Map<String, Class<?>> modelTypes, ModelReadBoundary boundary, Map<String, Entity<?>> staged, boolean historical) Reconstructs explicitly requested values together; unrelated metadata nodes must remain unloaded.ModelIdResolution.loadValue(ModelGraphResolver resolver, Object id, Class<?> type, ModelReadBoundary boundary) Dispatches source value reads while retaining existing extension methods.ModelIdResolution.loadValue(ModelGraphResolver resolver, Object id, Class<?> type, ModelReadBoundary boundary, boolean historical) Dispatches pinned value reads while retaining existing extension methods.DefaultModelRepository.resolveGraphIdentity(Object modelId, boolean exact, Class<?> modelType, ModelReadBoundary boundary) DefaultModelRepository.resolveGraphIdentity(Object modelId, boolean exact, Class<?> modelType, ModelReadBoundary selected, boolean historical) DefaultModelRepository.resolveGraphIdentity(Object id, ModelIdResolution resolution, Class<?> type, ModelReadBoundary boundary) DefaultModelRepository.resolveGraphIdentity(Object id, ModelIdResolution resolution, Class<?> type, ModelReadBoundary boundary, boolean historical) DefaultModelRepository.resolveGraphIdentity(Object modelId, Class<?> modelType, ModelReadBoundary boundary) default ModelGraphResolver.IdentityModelGraphResolver.resolveGraphIdentity(Object modelId, boolean exact, Class<?> modelType, ModelReadBoundary boundary) Resolves an exact persisted key without applying functional-ID affixes a second time.default ModelGraphResolver.IdentityModelGraphResolver.resolveGraphIdentity(Object modelId, boolean exact, Class<?> modelType, ModelReadBoundary boundary, boolean historical) Resolves metadata at a pinned boundary with an explicit current versus historical value contract.default ModelGraphResolver.IdentityModelGraphResolver.resolveGraphIdentity(Object id, ModelIdResolution resolution, Class<?> type, ModelReadBoundary boundary) Resolves a root with independent normalization and alias policy.default ModelGraphResolver.IdentityModelGraphResolver.resolveGraphIdentity(Object id, ModelIdResolution resolution, Class<?> type, ModelReadBoundary boundary, boolean historical) Resolves a root at a pinned boundary with independent normalization and alias policy.default ModelGraphResolver.IdentityModelGraphResolver.resolveGraphIdentity(Object modelId, Class<?> modelType, ModelReadBoundary boundary) Resolves an identity without requiring its value.ModelIdResolution.resolveIdentity(ModelGraphResolver resolver, Object id, Class<?> type, ModelReadBoundary boundary) Dispatches existing policies through the original extension methods.ModelIdResolution.resolveIdentity(ModelGraphResolver resolver, Object id, Class<?> type, ModelReadBoundary boundary, boolean historical) Dispatches pinned identity reads while retaining existing extension methods.Constructors in io.fluxzero.sdk.persisting.repository with parameters of type ModelReadBoundaryModifierConstructorDescriptionIdentity(String modelId, boolean present, ModelReadBoundary boundary, boolean historical, Supplier<Entity<?>> entity) Creates an instance of aIdentityrecord class.Relations(ModelReadBoundary boundary, Map<String, ModelGraphResolver.ModelNode> models, List<ModelGraphEdge> edges, Set<String> completeCollections, boolean historical) Creates an instance of aRelationsrecord class.Value(Entity<?> entity, ModelReadBoundary boundary, boolean historical) Creates an instance of aValuerecord class.