Class ArangoNodeSubQueryBuilder
java.lang.Object
ai.stapi.arangograph.graphLoader.arangoQuery.builder.ArangoNodeSubQueryBuilder
- All Implemented Interfaces:
ArangoGraphTraversalJoinable,ArangoMainQueryBuilder,ArangoSubQueryBuilder
- Direct Known Subclasses:
ArangoNodeCollectionSubQueryBuilder,ArangoNodeGetSubQueryBuilder
public abstract class ArangoNodeSubQueryBuilder
extends Object
implements ArangoMainQueryBuilder, ArangoGraphTraversalJoinable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ArangoMappedObjectBuilderprotected final ArangoNodeKeptAttributesBuilderprotected final ArangoSearchOptionsBuilderprotected final Stringprotected final ArangoGenericSearchOptionResolverprotected final ai.stapi.schema.structureSchemaProvider.StructureSchemaFinderprotected final Map<String,ArangoGraphTraversalSubQueryBuilder> protected 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
ConstructorsConstructorDescriptionArangoNodeSubQueryBuilder(ArangoGenericSearchOptionResolver searchOptionResolver, ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder, String graphElementType, String subQueryPostfix) -
Method Summary
Modifier and TypeMethodDescriptionbuild(ai.stapi.graphoperations.graphLoader.GraphLoaderReturnType... returnTypes) buildAsMain(ai.stapi.graphoperations.graphLoader.GraphLoaderReturnType... returnTypes) protected 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) joinGraphTraversal(ai.stapi.graphoperations.graphLanguage.graphDescription.specific.positive.AbstractEdgeDescription edgeDescription) mapGraphTraversal(String fieldName, ai.stapi.graphoperations.graphLanguage.graphDescription.specific.positive.AbstractEdgeDescription edgeDescription) mapGraphTraversalAsConnections(String fieldName, ai.stapi.graphoperations.graphLanguage.graphDescription.specific.positive.AbstractEdgeDescription edgeDescription) 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
-
searchOptionResolver
-
structureSchemaFinder
protected final ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder -
arangoNodeKeptAttributesBuilder
-
arangoMappedObjectBuilder
-
arangoSearchOptionsBuilder
-
graphElementType
-
subQueryPostfix
-
subQueryBuilders
-
bindParameters
-
-
Constructor Details
-
ArangoNodeSubQueryBuilder
public ArangoNodeSubQueryBuilder(ArangoGenericSearchOptionResolver searchOptionResolver, ai.stapi.schema.structureSchemaProvider.StructureSchemaFinder structureSchemaFinder, String graphElementType, String subQueryPostfix)
-
-
Method Details
-
setKeptAttributes
-
setMappedScalars
-
setSearchOptions
-
joinGraphTraversal
public ArangoGraphTraversalSubQueryBuilder joinGraphTraversal(ai.stapi.graphoperations.graphLanguage.graphDescription.specific.positive.AbstractEdgeDescription edgeDescription) - Specified by:
joinGraphTraversalin interfaceArangoGraphTraversalJoinable
-
mapGraphTraversal
public ArangoGraphTraversalSubQueryBuilder mapGraphTraversal(String fieldName, ai.stapi.graphoperations.graphLanguage.graphDescription.specific.positive.AbstractEdgeDescription edgeDescription) - Specified by:
mapGraphTraversalin interfaceArangoGraphTraversalJoinable
-
mapGraphTraversalAsConnections
public ArangoGraphTraversalSubQueryBuilder mapGraphTraversalAsConnections(String fieldName, ai.stapi.graphoperations.graphLanguage.graphDescription.specific.positive.AbstractEdgeDescription edgeDescription) - Specified by:
mapGraphTraversalAsConnectionsin interfaceArangoGraphTraversalJoinable
-
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)
-