Class ModelRelationConstraint
java.lang.Object
io.fluxzero.common.api.search.ModelRelationConstraint
Current-state relationship constraint for independent model documents.
A relation starts either from related model documents selected by query or from
exact persisted model identities. The runtime then follows temporal model relationships
from those IDs towards the target documents of a SearchModelDocuments request. Traversal is always bounded
and never changes the ordinary document constraint semantics.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumRelationship direction as observed from returned target documents. -
Constructor Summary
ConstructorsConstructorDescriptionModelRelationConstraint(ModelRelationConstraint.RelationDirection direction, SearchQuery query, List<String> relatedModelIds, int minDepth, int maxDepth, List<String> paths, int maxRelatedModels, int maxTraversedModels) -
Method Summary
-
Constructor Details
-
ModelRelationConstraint
public ModelRelationConstraint(ModelRelationConstraint.RelationDirection direction, SearchQuery query, List<String> relatedModelIds, int minDepth, int maxDepth, List<String> paths, int maxRelatedModels, int maxTraversedModels)
-