Class ComplexPointRegistry
java.lang.Object
com.inductiveautomation.historian.gateway.api.storage.ComplexPointRegistry
Per-engine registry that maps each
ComplexPointType to the handler accepting a
homogeneous batch of points of that type. Populated once through AbstractStorageEngine.registerHandlers(ComplexPointRegistry.Builder, ChangePointRegistry.Builder) at construction; immutable afterwards.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder used inAbstractStorageEngine.registerHandlers(ComplexPointRegistry.Builder, ChangePointRegistry.Builder);ComplexPointRegistry.Builder.build()produces the immutable registry. -
Method Summary
Modifier and TypeMethodDescriptionOptional<Function<List<? extends ComplexPoint<?>>, StorageResult<?>>> handlerFor(ComplexPointType type) Returns the handler registered fortype, or empty if none.Returns the complex point types this engine can store.
-
Method Details
-
handlerFor
public Optional<Function<List<? extends ComplexPoint<?>>, StorageResult<?>>> handlerFor(ComplexPointType type) Returns the handler registered fortype, or empty if none. -
supportedTypes
Returns the complex point types this engine can store.
-