Package app.ductape.sdk.graph.adapters
Class ArangoDBAdapter
java.lang.Object
app.ductape.sdk.graph.adapters.BaseGraphAdapter
app.ductape.sdk.graph.adapters.ArangoDBAdapter
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class app.ductape.sdk.graph.adapters.BaseGraphAdapter
connected, connectionOptions, connectionUrl, maxRetries, supportedFeatures -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTSIAllPathsResult:paths,count/total.beginTransaction(Map<String, Object> options) voidcommitTransaction(Map<String, Object> transaction) countNodes(Map<String, Object> options) TScountNodes(labels?, where?, ...)aggregated result{ count }.countRelationships(Map<String, Object> options) TScountRelationships(types?, where?, ...)aggregated result{ count }.createNode(Map<String, Object> node) createNodeConstraint(Map<String, Object> options) TS schema — node constraint DDL.createNodeIndex(Map<String, Object> options) TS schema — node index DDL.createRelationship(Map<String, Object> relationship) createRelationshipIndex(Map<String, Object> options) TS schema — relationship index DDL.voiddropConstraint(String constraintName) TS schema — drop constraint by canonical name (adapter-specific semantics).TS schema — drop index by canonical name (adapter-specific semantics).findConnectedComponents(Map<String, Object> options) TSIConnectedComponentsResult:components,count.findNodeById(Object id) TSfindNodeById— wrapped as{ node }when present.TSfindRelationshipById— wrapped as{ relationship }when present.findRelationships(Map<String, Object> where) fullTextSearch(Map<String, Object> options) TSIFullTextSearchResult:nodes, optionalscores.getNeighborhood(Map<String, Object> options) TSINeighborhoodResult:nodes,relationships, optionaldepth.TSIGraphStatistics.protected GraphTypes.GraphTypeTSIRawQueryResult:records, optionalsummary.removeLabels(Map<String, Object> options) voidrollbackTransaction(Map<String, Object> transaction) shortestPath(Map<String, Object> options) TSIShortestPathResult:path,found,length, optionaltotalWeight.testConnection(Map<String, Object> options) TSITraverseResult: optionalpaths,nodes,relationships,count.vectorSearch(Map<String, Object> options) TSIVectorSearchResult:nodes,scores.Methods inherited from class app.ductape.sdk.graph.adapters.BaseGraphAdapter
attemptReconnect, ensureConnected, executeWithRetry, executeWithRetry, getGraphType, getSupportedFeatures, isConnected, isConnectionError, supportsFeature
-
Field Details
-
nodes
-
relationships
-
-
Constructor Details
-
ArangoDBAdapter
public ArangoDBAdapter()
-
-
Method Details
-
graphType
-
connect
- Specified by:
connectin classBaseGraphAdapter
-
testConnection
- Specified by:
testConnectionin classBaseGraphAdapter
-
disconnect
public void disconnect()- Specified by:
disconnectin classBaseGraphAdapter
-
createNode
- Specified by:
createNodein classBaseGraphAdapter
-
findNodes
- Specified by:
findNodesin classBaseGraphAdapter
-
createRelationship
- Specified by:
createRelationshipin classBaseGraphAdapter
-
findRelationships
- Specified by:
findRelationshipsin classBaseGraphAdapter
-
beginTransaction
- Overrides:
beginTransactionin classBaseGraphAdapter
-
commitTransaction
- Overrides:
commitTransactionin classBaseGraphAdapter
-
rollbackTransaction
- Overrides:
rollbackTransactionin classBaseGraphAdapter
-
query
TSIRawQueryResult:records, optionalsummary.- Overrides:
queryin classBaseGraphAdapter
-
traverse
TSITraverseResult: optionalpaths,nodes,relationships,count.- Overrides:
traversein classBaseGraphAdapter
-
shortestPath
TSIShortestPathResult:path,found,length, optionaltotalWeight.- Overrides:
shortestPathin classBaseGraphAdapter
-
allPaths
TSIAllPathsResult:paths,count/total.- Overrides:
allPathsin classBaseGraphAdapter
-
getNeighborhood
TSINeighborhoodResult:nodes,relationships, optionaldepth.- Overrides:
getNeighborhoodin classBaseGraphAdapter
-
findConnectedComponents
TSIConnectedComponentsResult:components,count.- Overrides:
findConnectedComponentsin classBaseGraphAdapter
-
fullTextSearch
TSIFullTextSearchResult:nodes, optionalscores.- Overrides:
fullTextSearchin classBaseGraphAdapter
-
vectorSearch
TSIVectorSearchResult:nodes,scores.- Overrides:
vectorSearchin classBaseGraphAdapter
-
getStatistics
TSIGraphStatistics.- Overrides:
getStatisticsin classBaseGraphAdapter
-
listLabels
- Overrides:
listLabelsin classBaseGraphAdapter
-
listRelationshipTypes
- Overrides:
listRelationshipTypesin classBaseGraphAdapter
-
listIndexes
- Overrides:
listIndexesin classBaseGraphAdapter
-
listConstraints
- Overrides:
listConstraintsin classBaseGraphAdapter
-
findNodeById
Description copied from class:BaseGraphAdapterTSfindNodeById— wrapped as{ node }when present.- Overrides:
findNodeByIdin classBaseGraphAdapter
-
findRelationshipById
Description copied from class:BaseGraphAdapterTSfindRelationshipById— wrapped as{ relationship }when present.- Overrides:
findRelationshipByIdin classBaseGraphAdapter
-
addLabels
- Overrides:
addLabelsin classBaseGraphAdapter
-
removeLabels
- Overrides:
removeLabelsin classBaseGraphAdapter
-
setLabels
- Overrides:
setLabelsin classBaseGraphAdapter
-
countNodes
Description copied from class:BaseGraphAdapterTScountNodes(labels?, where?, ...)aggregated result{ count }.- Overrides:
countNodesin classBaseGraphAdapter
-
countRelationships
Description copied from class:BaseGraphAdapterTScountRelationships(types?, where?, ...)aggregated result{ count }.- Overrides:
countRelationshipsin classBaseGraphAdapter
-
createNodeIndex
Description copied from class:BaseGraphAdapterTS schema — node index DDL.- Overrides:
createNodeIndexin classBaseGraphAdapter
-
createNodeConstraint
Description copied from class:BaseGraphAdapterTS schema — node constraint DDL.- Overrides:
createNodeConstraintin classBaseGraphAdapter
-
createRelationshipIndex
Description copied from class:BaseGraphAdapterTS schema — relationship index DDL.- Overrides:
createRelationshipIndexin classBaseGraphAdapter
-
dropIndex
Description copied from class:BaseGraphAdapterTS schema — drop index by canonical name (adapter-specific semantics).- Overrides:
dropIndexin classBaseGraphAdapter
-
dropConstraint
Description copied from class:BaseGraphAdapterTS schema — drop constraint by canonical name (adapter-specific semantics).- Overrides:
dropConstraintin classBaseGraphAdapter
-