Class TinkerServiceRegistry.TinkerServiceFactory<I,R>
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.tinkergraph.services.TinkerServiceRegistry.TinkerServiceFactory<I,R>
 
- 
- All Implemented Interfaces:
- AutoCloseable,- Service.ServiceFactory<I,R>
 - Direct Known Subclasses:
- TinkerDegreeCentralityFactory,- TinkerServiceRegistry.LambdaServiceFactory,- TinkerTextSearchFactory
 - Enclosing class:
- TinkerServiceRegistry
 
 public abstract static class TinkerServiceRegistry.TinkerServiceFactory<I,R> extends Object implements Service.ServiceFactory<I,R> 
- 
- 
Field SummaryFields Modifier and Type Field Description protected MapdescribeParamsprotected TinkerGraphgraphprotected Stringnameprotected Map<Service.Type,Set<TraverserRequirement>>requirements
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedTinkerServiceFactory(TinkerGraph graph, String name)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TinkerServiceRegistry.TinkerServiceFactoryaddDescribeParams(Map describeParams)TinkerServiceRegistry.TinkerServiceFactoryaddRequirements(Service.Type type, TraverserRequirement... requirements)MapdescribeParams()Return a description of any service call parameters.StringgetName()Get the name of this service.Set<TraverserRequirement>getRequirements(Service.Type type)Return anyTraverserRequirements necessary for this service call for the supplied executionService.Type.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.structure.service.Service.ServiceFactoryclose, createService, getRequirementsByType, getSupportedTypes
 
- 
 
- 
- 
- 
Field Detail- 
graphprotected final TinkerGraph graph 
 - 
nameprotected final String name 
 - 
describeParamsprotected final Map describeParams 
 - 
requirementsprotected final Map<Service.Type,Set<TraverserRequirement>> requirements 
 
- 
 - 
Constructor Detail- 
TinkerServiceFactoryprotected TinkerServiceFactory(TinkerGraph graph, String name) 
 
- 
 - 
Method Detail- 
getNamepublic String getName() Description copied from interface:Service.ServiceFactoryGet the name of this service.- Specified by:
- getNamein interface- Service.ServiceFactory<I,R>
 
 - 
addDescribeParamspublic TinkerServiceRegistry.TinkerServiceFactory addDescribeParams(Map describeParams) 
 - 
addRequirementspublic TinkerServiceRegistry.TinkerServiceFactory addRequirements(Service.Type type, TraverserRequirement... requirements) 
 - 
getRequirementspublic Set<TraverserRequirement> getRequirements(Service.Type type) Description copied from interface:Service.ServiceFactoryReturn anyTraverserRequirements necessary for this service call for the supplied executionService.Type.- Specified by:
- getRequirementsin interface- Service.ServiceFactory<I,R>
 
 - 
describeParamspublic Map describeParams() Description copied from interface:Service.ServiceFactoryReturn a description of any service call parameters.- Specified by:
- describeParamsin interface- Service.ServiceFactory<I,R>
 
 
- 
 
-