Class JavaObjectExtractor

  • All Implemented Interfaces:
    IValueExtractor

    public class JavaObjectExtractor
    extends ObjectExtractor
    Extractor for a Java attribute value (or the whole object).
    • Constructor Detail

      • JavaObjectExtractor

        public JavaObjectExtractor​(OAVJavaAttributeType attr)
        Create a new extractor.
    • Method Detail

      • getValue

        public java.lang.Object getValue​(Tuple left,
                                         java.lang.Object right,
                                         java.lang.Object prefix,
                                         IOAVState state)
        Get the value of an attribute from an object or tuple.
        Specified by:
        getValue in interface IValueExtractor
        Overrides:
        getValue in class ObjectExtractor
        Parameters:
        left - The left input tuple.
        right - The right input object.
        prefix - The prefix input object (last value from previous extractor in a chain).
        state - The working memory.
      • toString

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class ObjectExtractor
        Returns:
        The string representation.