public class TinkerTextSearchFactory<I,R> extends TinkerServiceRegistry.TinkerServiceFactory<I,R> implements Service<I,R>
Propertys by token/regex.
Demonstrates a Service.Type#Start service.| Modifier and Type | Class and Description |
|---|---|
static interface |
TinkerTextSearchFactory.Params |
Service.DirectoryService<I>, Service.Exceptions, Service.ServiceCallContext, Service.ServiceFactory<I,R>, Service.Type| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
describeParams, graph, name, requirements| Constructor and Description |
|---|
TinkerTextSearchFactory(TinkerGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Services can implement cleanup/shutdown procedures here.
|
Service<I,R> |
createService(boolean isStart,
Map params)
Create a Service call instance.
|
Map |
describeParams()
Return a description of any service call parameters.
|
CloseableIterator<R> |
execute(Service.ServiceCallContext ctx,
Map params)
Execute a Start service call.
|
Set<Service.Type> |
getSupportedTypes()
Get the execution modes that it supports.
|
Service.Type |
getType()
Return the
Service.Type of service call. |
addDescribeParams, addRequirements, getName, getRequirementsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, execute, getMaxBarrierSize, getRequirements, isBarrier, isStart, isStreaminggetRequirementsByTypepublic static final String NAME
public TinkerTextSearchFactory(TinkerGraph graph)
public Service.Type getType()
ServiceService.Type of service call.public Map describeParams()
Service.ServiceFactorydescribeParams in interface Service.ServiceFactory<I,R>describeParams in class TinkerServiceRegistry.TinkerServiceFactory<I,R>public Set<Service.Type> getSupportedTypes()
Service.ServiceFactorygetSupportedTypes in interface Service.ServiceFactory<I,R>public Service<I,R> createService(boolean isStart, Map params)
Service.ServiceFactorycreateService in interface Service.ServiceFactory<I,R>isStart - true if the call is being used to start a traversalparams - the static params provided to service call (if any)public CloseableIterator<R> execute(Service.ServiceCallContext ctx, Map params)
ServiceCopyright © 2013–2022 Apache Software Foundation. All rights reserved.