Class AbstractConversionFilter<I,​O>

    • Constructor Detail

      • AbstractConversionFilter

        public AbstractConversionFilter()
    • Method Detail

      • getLogger

        protected abstract Logging getLogger()
        Class logger.
        Returns:
        Logger
      • filterSingleObject

        protected abstract O filterSingleObject​(I obj)
        Normalize a single instance. You can implement this as UnsupportedOperationException if you override both public "normalize" functions!
        Parameters:
        obj - Database object to normalize
        Returns:
        Normalized database object
      • getInputTypeRestriction

        protected abstract SimpleTypeInformation<? super I> getInputTypeRestriction()
        Get the input type restriction used for negotiating the data query.
        Returns:
        Type restriction
      • convertedType

        protected abstract SimpleTypeInformation<? super O> convertedType​(SimpleTypeInformation<I> in)
        Get the output type from the input type after conversion.
        Parameters:
        in - input type restriction
        Returns:
        output type restriction
      • prepareStart

        protected boolean prepareStart​(SimpleTypeInformation<I> in)
        Return "true" when the normalization needs initialization (two-pass filtering!).
        Parameters:
        in - Input type information
        Returns:
        true or false
      • prepareProcessInstance

        protected void prepareProcessInstance​(I obj)
        Process a single object during initialization.
        Parameters:
        obj - Object to process
      • prepareComplete

        protected void prepareComplete()
        Complete the initialization phase.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object