public class GrpcFunctionProvider extends java.lang.Object implements StatefulFunctionProvider
Constructor and Description |
---|
GrpcFunctionProvider(java.util.Map<FunctionType,GrpcFunctionSpec> supportedTypes) |
Modifier and Type | Method and Description |
---|---|
StatefulFunction |
functionOfType(FunctionType type)
Creates a
StatefulFunction instance for the given FunctionType , |
public GrpcFunctionProvider(java.util.Map<FunctionType,GrpcFunctionSpec> supportedTypes)
public StatefulFunction functionOfType(FunctionType type)
StatefulFunctionProvider
StatefulFunction
instance for the given FunctionType
,functionOfType
in interface StatefulFunctionProvider
type
- the type of function to create an instance for.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.