public abstract static class TinkerServiceRegistry.TinkerServiceFactory<I,R> extends Object implements Service.ServiceFactory<I,R>
| Modifier and Type | Field and Description |
|---|---|
protected Map |
describeParams |
protected TinkerGraph |
graph |
protected String |
name |
protected Map<Service.Type,Set<TraverserRequirement>> |
requirements |
| Modifier | Constructor and Description |
|---|---|
protected |
TinkerServiceFactory(TinkerGraph graph,
String name) |
| Modifier and Type | Method and Description |
|---|---|
TinkerServiceRegistry.TinkerServiceFactory |
addDescribeParams(Map describeParams) |
TinkerServiceRegistry.TinkerServiceFactory |
addRequirements(Service.Type type,
TraverserRequirement... requirements) |
Map |
describeParams()
Return a description of any service call parameters.
|
String |
getName()
Get the name of this service.
|
Set<TraverserRequirement> |
getRequirements(Service.Type type)
Return any
TraverserRequirements necessary for this service call for the supplied execution
Service.Type. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, createService, getRequirementsByType, getSupportedTypesprotected final TinkerGraph graph
protected final String name
protected final Map describeParams
protected final Map<Service.Type,Set<TraverserRequirement>> requirements
protected TinkerServiceFactory(TinkerGraph graph, String name)
public String getName()
Service.ServiceFactorygetName in interface Service.ServiceFactory<I,R>public TinkerServiceRegistry.TinkerServiceFactory addDescribeParams(Map describeParams)
public TinkerServiceRegistry.TinkerServiceFactory addRequirements(Service.Type type, TraverserRequirement... requirements)
public Set<TraverserRequirement> getRequirements(Service.Type type)
Service.ServiceFactoryTraverserRequirements necessary for this service call for the supplied execution
Service.Type.getRequirements in interface Service.ServiceFactory<I,R>public Map describeParams()
Service.ServiceFactorydescribeParams in interface Service.ServiceFactory<I,R>Copyright © 2013–2022 Apache Software Foundation. All rights reserved.