Package org.umlg.sqlg.services
Class SqlgPGRoutingFactory
java.lang.Object
org.umlg.sqlg.services.SqlgServiceRegistry.SqlgServiceFactory<org.apache.tinkerpop.gremlin.structure.Vertex,Long>
org.umlg.sqlg.services.SqlgPGRoutingFactory
- All Implemented Interfaces:
AutoCloseable
,org.apache.tinkerpop.gremlin.structure.service.Service<org.apache.tinkerpop.gremlin.structure.Vertex,
,Long> org.apache.tinkerpop.gremlin.structure.service.Service.ServiceFactory<org.apache.tinkerpop.gremlin.structure.Vertex,
Long>
public class SqlgPGRoutingFactory
extends SqlgServiceRegistry.SqlgServiceFactory<org.apache.tinkerpop.gremlin.structure.Vertex,Long>
implements org.apache.tinkerpop.gremlin.structure.service.Service<org.apache.tinkerpop.gremlin.structure.Vertex,Long>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static final record
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service
org.apache.tinkerpop.gremlin.structure.service.Service.DirectoryService<I extends Object>, org.apache.tinkerpop.gremlin.structure.service.Service.Exceptions, org.apache.tinkerpop.gremlin.structure.service.Service.ServiceCallContext, org.apache.tinkerpop.gremlin.structure.service.Service.ServiceFactory<I extends Object,
R extends Object>, org.apache.tinkerpop.gremlin.structure.service.Service.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.umlg.sqlg.services.SqlgServiceRegistry.SqlgServiceFactory
describeParams, graph, name, requirements
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
org.apache.tinkerpop.gremlin.structure.service.Service<org.apache.tinkerpop.gremlin.structure.Vertex,
Long> createService
(boolean isStart, Map params) org.apache.tinkerpop.gremlin.structure.util.CloseableIterator<Long>
execute
(org.apache.tinkerpop.gremlin.structure.service.Service.ServiceCallContext ctx, org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin<org.apache.tinkerpop.gremlin.structure.Vertex> in, Map params) Set<org.apache.tinkerpop.gremlin.structure.service.Service.Type>
org.apache.tinkerpop.gremlin.structure.service.Service.Type
getType()
Methods inherited from class org.umlg.sqlg.services.SqlgServiceRegistry.SqlgServiceFactory
addDescribeParams, addRequirements, getName, getRequirements
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service
execute, execute, getMaxBarrierSize, getRequirements, isBarrier, isStart, isStreaming
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service.ServiceFactory
getRequirementsByType
-
Field Details
-
NAME
- See Also:
-
pgr_dijkstra
- See Also:
-
pgr_drivingDistance
- See Also:
-
pgr_connectedComponents
- See Also:
-
TRAVERSAL_COST
- See Also:
-
TRAVERSAL_AGG_COST
- See Also:
-
TRAVERSAL_DEPTH
- See Also:
-
TRAVERSAL_COMPONENT
- See Also:
-
-
Constructor Details
-
SqlgPGRoutingFactory
-
-
Method Details
-
getType
public org.apache.tinkerpop.gremlin.structure.service.Service.Type getType()- Specified by:
getType
in interfaceorg.apache.tinkerpop.gremlin.structure.service.Service<org.apache.tinkerpop.gremlin.structure.Vertex,
Long>
-
describeParams
- Specified by:
describeParams
in interfaceorg.apache.tinkerpop.gremlin.structure.service.Service.ServiceFactory<org.apache.tinkerpop.gremlin.structure.Vertex,
Long> - Overrides:
describeParams
in classSqlgServiceRegistry.SqlgServiceFactory<org.apache.tinkerpop.gremlin.structure.Vertex,
Long>
-
getSupportedTypes
- Specified by:
getSupportedTypes
in interfaceorg.apache.tinkerpop.gremlin.structure.service.Service.ServiceFactory<org.apache.tinkerpop.gremlin.structure.Vertex,
Long>
-
createService
public org.apache.tinkerpop.gremlin.structure.service.Service<org.apache.tinkerpop.gremlin.structure.Vertex,Long> createService(boolean isStart, Map params) - Specified by:
createService
in interfaceorg.apache.tinkerpop.gremlin.structure.service.Service.ServiceFactory<org.apache.tinkerpop.gremlin.structure.Vertex,
Long>
-
execute
public org.apache.tinkerpop.gremlin.structure.util.CloseableIterator<Long> execute(org.apache.tinkerpop.gremlin.structure.service.Service.ServiceCallContext ctx, org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin<org.apache.tinkerpop.gremlin.structure.Vertex> in, Map params) - Specified by:
execute
in interfaceorg.apache.tinkerpop.gremlin.structure.service.Service<org.apache.tinkerpop.gremlin.structure.Vertex,
Long>
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceorg.apache.tinkerpop.gremlin.structure.service.Service<org.apache.tinkerpop.gremlin.structure.Vertex,
Long> - Specified by:
close
in interfaceorg.apache.tinkerpop.gremlin.structure.service.Service.ServiceFactory<org.apache.tinkerpop.gremlin.structure.Vertex,
Long>
-