Class ArangoEdgeSubQueryBuilder
java.lang.Object
ai.stapi.arangograph.graphLoader.arangoQuery.builder.ArangoEdgeSubQueryBuilder
- All Implemented Interfaces:
ArangoMainQueryBuilder,ArangoSubQueryBuilder
- Direct Known Subclasses:
ArangoEdgeCollectionSubQueryBuilder,ArangoEdgeGetSubQueryBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ArangoEdgeKeptAttributesBuilderprotected final ArangoMappedObjectBuilderprotected final ArangoQueryByNodeTypeBuilderprotected final ArangoSearchOptionsBuilderprotected final Stringprotected final booleanprotected final ArangoGenericSearchOptionResolverprotected final ai.stapi.schema.structureSchemaProvider.StructureSchemaFinderprotected final StringFields inherited from interface ai.stapi.arangograph.graphLoader.arangoQuery.builder.ArangoSubQueryBuilder
BASE_SUB_QUERY_VARIABLE_NAME, DATA, EDGE_DOCUMENT_BASE_NAME, EDGES, GRAPH_RESPONSE, NODE_DOCUMENT_BASE_NAME, NODES -
Constructor Summary
ConstructorsConstructorDescriptionArangoEdgeSubQueryBuilder(ArangoGenericSearchOptionResolver searchOptionResolver, ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder, String graphElementType, String subQueryPostfix, boolean isOutgoing) -
Method Summary
Modifier and TypeMethodDescriptionbuild(ai.stapi.graphoperations.graphLoader.GraphLoaderReturnType... returnTypes) buildAsMain(ai.stapi.graphoperations.graphLoader.GraphLoaderReturnType... returnTypes) protected AqlVariableprotected abstract @NotNull ArangoQuerycreateAqlBody(ArangoQuery keptAttributes, AqlObject graph, ai.stapi.graphoperations.graphLoader.GraphLoaderReturnType... returnTypes) protected @NotNull ArangoQuerycreateBaseAqlBody(ArangoQuery keptAttributes, AqlObject graph, AqlNode getDocumentLine, ai.stapi.graphoperations.graphLoader.GraphLoaderReturnType... returnTypes) joinNodeGetSubQuery(String nodeType) mapNodeGetSubQuery(String nodeType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ai.stapi.arangograph.graphLoader.arangoQuery.builder.ArangoMainQueryBuilder
createMainGraphObjectMethods inherited from interface ai.stapi.arangograph.graphLoader.arangoQuery.builder.ArangoSubQueryBuilder
createChildSubQueryPostfix, createCollectionVariable, createConnectionObject, createEdgeDocumentName, createGraphObject, createIdVariable, createNodeDocumentName, createReturnStatement, createSubQueryVariable, getChildSubQueryEdges, getChildSubQueryNodes, mergeBindParameters
-
Field Details
-
isOutgoing
protected final boolean isOutgoing -
searchOptionResolver
-
structureSchemaFinder
protected final ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder -
arangoQueryByNodeTypeBuilder
-
arangoEdgeKeptAttributesBuilder
-
arangoMappedObjectBuilder
-
arangoSearchOptionsBuilder
-
graphElementType
-
subQueryPostfix
-
-
Constructor Details
-
ArangoEdgeSubQueryBuilder
public ArangoEdgeSubQueryBuilder(ArangoGenericSearchOptionResolver searchOptionResolver, ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder, String graphElementType, String subQueryPostfix, boolean isOutgoing)
-
-
Method Details
-
setKeptAttributes
-
setMappedScalars
-
setSearchOptions
-
joinNodeGetSubQuery
-
mapNodeGetSubQuery
-
build
- Specified by:
buildin interfaceArangoSubQueryBuilder
-
buildAsMain
public ArangoQuery buildAsMain(ai.stapi.graphoperations.graphLoader.GraphLoaderReturnType... returnTypes) - Specified by:
buildAsMainin interfaceArangoMainQueryBuilder
-
createAqlBody
@NotNull protected abstract @NotNull ArangoQuery createAqlBody(ArangoQuery keptAttributes, AqlObject graph, ai.stapi.graphoperations.graphLoader.GraphLoaderReturnType... returnTypes) -
createBaseAqlBody
@NotNull protected @NotNull ArangoQuery createBaseAqlBody(ArangoQuery keptAttributes, AqlObject graph, AqlNode getDocumentLine, ai.stapi.graphoperations.graphLoader.GraphLoaderReturnType... returnTypes) -
buildJoinedNodeGetter
-