Class AbstractPythonProcessService.OutTypeInfo<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private DataIngestor<T> ingestor  
      private de.iip_ecosphere.platform.transport.serialization.TypeTranslator<java.lang.String,​T> outTranslator  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected OutTypeInfo​(java.lang.Class<T> type)
      Creates an instance.
    • Field Detail

      • outTranslator

        private de.iip_ecosphere.platform.transport.serialization.TypeTranslator<java.lang.String,​T> outTranslator
    • Constructor Detail

      • OutTypeInfo

        protected OutTypeInfo​(java.lang.Class<T> type)
        Creates an instance.
        Parameters:
        type - the class representing the data type
    • Method Detail

      • getOutTranslator

        protected de.iip_ecosphere.platform.transport.serialization.TypeTranslator<java.lang.String,​T> getOutTranslator()
        Returns the output translator.
        Returns:
        the type translator, may be null
      • getIngestor

        protected DataIngestor<T> getIngestor()
        Returns the associated ingestor.
        Returns:
        the ingestor (may be null)
      • validateAndGetIngestor

        protected DataIngestor<T> validateAndGetIngestor​(java.lang.String typeName)
        Validates the associated ingestor and returns it. If no ingestor is associated, an ingestor for synchronous processing (AbstractPythonProcessService.SyncDataIngestor) will be created and associated.
        Parameters:
        typeName - the data type name as specified in the configuration model
        Returns:
        the ingestor