Class AbstractArangoSearchOptionResolver<S extends ai.stapi.graphoperations.graphLoader.search.SearchOption<?>>
java.lang.Object
ai.stapi.graphoperations.graphLoader.search.AbstractSearchOptionResolver<S,ArangoSearchResolvingContext,ArangoQuery>
ai.stapi.arangograph.graphLoader.arangoQuery.searchOptionResolvers.AbstractArangoSearchOptionResolver<S>
- All Implemented Interfaces:
ai.stapi.graphoperations.graphLoader.search.SearchOptionResolver<ArangoQuery>
- Direct Known Subclasses:
AbstractArangoOneValueFilterOprionResolver,ArangoAscendingSortOptionResolver,ArangoDescendingSortOptionResolver,ArangoOffsetPaginationOptionResolver
public abstract class AbstractArangoSearchOptionResolver<S extends ai.stapi.graphoperations.graphLoader.search.SearchOption<?>>
extends ai.stapi.graphoperations.graphLoader.search.AbstractSearchOptionResolver<S,ArangoSearchResolvingContext,ArangoQuery>
-
Nested Class Summary
Nested classes/interfaces inherited from class ai.stapi.graphoperations.graphLoader.search.AbstractSearchOptionResolver
ai.stapi.graphoperations.graphLoader.search.AbstractSearchOptionResolver.SchemaAndCollectionComparisonOperator -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ArangoGenericSearchOptionResolverprotected final GenericSubQueryResolverprotected final ai.stapi.graphoperations.graphLoader.graphLoaderOGMFactory.GraphLoaderOgmFactoryFields inherited from class ai.stapi.graphoperations.graphLoader.search.AbstractSearchOptionResolver
structureSchemaFinder -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractArangoSearchOptionResolver(ArangoGenericSearchOptionResolver arangoGenericSearchOptionResolver, ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder, GenericSubQueryResolver genericSubQueryResolver, ai.stapi.graphoperations.graphLoader.graphLoaderOGMFactory.GraphLoaderOgmFactory graphLoaderOGMFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull StringcreateAttributeNamePlaceholder(ArangoSearchResolvingContext context, String optionType) protected StringcreateAttributeValuePlaceholder(ArangoSearchResolvingContext context, String optionType) protected ArangoQuerycreateSearchOptionSubQuery(ai.stapi.graphoperations.graphLanguage.graphDescription.GraphDescription attributeNamePath, ArangoSearchResolvingContext context, String searchOptionSubQueryPostfix, ai.stapi.graphoperations.graphLoader.GraphLoaderReturnType returnType) protected @NotNull StringcreateSearchOptionSubQueryPostfix(ArangoSearchResolvingContext context, String optionType) protected AqlNodegetAttributeValue(ArangoSearchResolvingContext context, String attributeTypePlaceholder, String attributeName) protected AqlVariablegetFirstAttributeValue(ArangoSearchResolvingContext context, String attributeTypePlaceholder) Methods inherited from class ai.stapi.graphoperations.graphLoader.search.AbstractSearchOptionResolver
createRelationshipStructureSchema, resolve, resolveTypedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ai.stapi.graphoperations.graphLoader.search.SearchOptionResolver
supports
-
Field Details
-
arangoGenericSearchOptionResolver
-
genericSubQueryResolver
-
graphLoaderOGMFactory
protected final ai.stapi.graphoperations.graphLoader.graphLoaderOGMFactory.GraphLoaderOgmFactory graphLoaderOGMFactory
-
-
Constructor Details
-
AbstractArangoSearchOptionResolver
protected AbstractArangoSearchOptionResolver(ArangoGenericSearchOptionResolver arangoGenericSearchOptionResolver, ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder, GenericSubQueryResolver genericSubQueryResolver, ai.stapi.graphoperations.graphLoader.graphLoaderOGMFactory.GraphLoaderOgmFactory graphLoaderOGMFactory)
-
-
Method Details
-
createAttributeNamePlaceholder
@NotNull protected @NotNull String createAttributeNamePlaceholder(ArangoSearchResolvingContext context, String optionType) -
createSearchOptionSubQueryPostfix
@NotNull protected @NotNull String createSearchOptionSubQueryPostfix(ArangoSearchResolvingContext context, String optionType) -
createAttributeValuePlaceholder
protected String createAttributeValuePlaceholder(ArangoSearchResolvingContext context, String optionType) -
getFirstAttributeValue
protected AqlVariable getFirstAttributeValue(ArangoSearchResolvingContext context, String attributeTypePlaceholder) -
getAttributeValue
protected AqlNode getAttributeValue(ArangoSearchResolvingContext context, String attributeTypePlaceholder, String attributeName) -
createSearchOptionSubQuery
protected ArangoQuery createSearchOptionSubQuery(ai.stapi.graphoperations.graphLanguage.graphDescription.GraphDescription attributeNamePath, ArangoSearchResolvingContext context, String searchOptionSubQueryPostfix, ai.stapi.graphoperations.graphLoader.GraphLoaderReturnType returnType)
-