Package kalix.javasdk.view
Class ReflectiveMultiTableViewProvider<V>
Object
kalix.javasdk.view.ReflectiveMultiTableViewProvider<V>
- All Implemented Interfaces:
kalix.javasdk.view.ViewProvider
public class ReflectiveMultiTableViewProvider<V>
extends Object
implements kalix.javasdk.view.ViewProvider
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Descriptors.FileDescriptor[]
Optional<kalix.javasdk.impl.MessageCodec>
kalix.javasdk.impl.view.ViewMultiTableRouter
newRouter
(kalix.javasdk.view.ViewCreationContext context) static <V> ReflectiveMultiTableViewProvider<V>
of
(Class<V> viewClass, kalix.javasdk.impl.JsonMessageCodec messageCodec, BiFunction<Class<kalix.javasdk.view.View<?>>, kalix.javasdk.view.ViewCreationContext, kalix.javasdk.view.View<?>> factory) kalix.javasdk.view.ViewOptions
options()
com.google.protobuf.Descriptors.ServiceDescriptor
viewId()
-
Method Details
-
of
public static <V> ReflectiveMultiTableViewProvider<V> of(Class<V> viewClass, kalix.javasdk.impl.JsonMessageCodec messageCodec, BiFunction<Class<kalix.javasdk.view.View<?>>, kalix.javasdk.view.ViewCreationContext, kalix.javasdk.view.View<?>> factory) -
serviceDescriptor
public com.google.protobuf.Descriptors.ServiceDescriptor serviceDescriptor()- Specified by:
serviceDescriptor
in interfacekalix.javasdk.view.ViewProvider
-
viewId
- Specified by:
viewId
in interfacekalix.javasdk.view.ViewProvider
-
options
public kalix.javasdk.view.ViewOptions options()- Specified by:
options
in interfacekalix.javasdk.view.ViewProvider
-
newRouter
public kalix.javasdk.impl.view.ViewMultiTableRouter newRouter(kalix.javasdk.view.ViewCreationContext context) - Specified by:
newRouter
in interfacekalix.javasdk.view.ViewProvider
-
additionalDescriptors
public com.google.protobuf.Descriptors.FileDescriptor[] additionalDescriptors()- Specified by:
additionalDescriptors
in interfacekalix.javasdk.view.ViewProvider
-
alternativeCodec
- Specified by:
alternativeCodec
in interfacekalix.javasdk.view.ViewProvider
-