Class PassThroughEncoder
java.lang.Object
com.inductiveautomation.eventstream.gateway.encoding.PassThroughEncoder
- All Implemented Interfaces:
EventStreamEncoder
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.inductiveautomation.eventstream.encoder.EventStreamEncoder
EventStreamEncoder.Config, EventStreamEncoder.Descriptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final PassThroughEncoder
static final EncoderFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic EventStreamEncoder.Config
config()
Convertsdata
to another type defined by theEventStreamEncoder
.
-
Field Details
-
INSTANCE
-
ID
- See Also:
-
TYPE
-
-
Method Details
-
config
-
encode
Description copied from interface:EventStreamEncoder
Convertsdata
to another type defined by theEventStreamEncoder
. Supported input types should always include the PyObject equivalent where possible, since Filter and Transforms will generally be outputting PyObjects.- Specified by:
encode
in interfaceEventStreamEncoder
- Parameters:
data
- Data to encode.- Returns:
- Encoded data
-