Class InMemorySearchResolvingContext
java.lang.Object
ai.stapi.graphoperations.graphLoader.inmemory.InMemorySearchResolvingContext
- All Implemented Interfaces:
ResolvedQueryPart,SearchResolvingContext
public class InMemorySearchResolvingContext
extends Object
implements SearchResolvingContext, ResolvedQueryPart
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionInMemorySearchResolvingContext(Stream<TraversableGraphElement> graphElements, InMemoryGraphRepository contextGraph, PositiveGraphDescription lastDescription) -
Method Summary
Modifier and TypeMethodDescriptionvoid<U extends Comparable<? super U>>
InMemorySearchResolvingContextsetAscSort(Function<TraversableGraphElement, ? extends U> keyExtractor) <U extends Comparable<? super U>>
InMemorySearchResolvingContextsetDescSort(Function<TraversableGraphElement, ? extends U> keyExtractor)
-
Constructor Details
-
InMemorySearchResolvingContext
public InMemorySearchResolvingContext(Stream<TraversableGraphElement> graphElements, InMemoryGraphRepository contextGraph, PositiveGraphDescription lastDescription)
-
-
Method Details
-
setSearchOption
public InMemorySearchResolvingContext setSearchOption(InMemorySearchResolvingContext.SearchOptionSetter setter) -
setAscSort
public <U extends Comparable<? super U>> InMemorySearchResolvingContext setAscSort(Function<TraversableGraphElement, ? extends U> keyExtractor) -
setDescSort
public <U extends Comparable<? super U>> InMemorySearchResolvingContext setDescSort(Function<TraversableGraphElement, ? extends U> keyExtractor) -
applySort
public void applySort() -
getGraphElements
-
getContextGraph
-
getLastDescription
-