Class ResultElementConverter


  • public class ResultElementConverter
    extends java.lang.Object
    Author:
    Jakub Kulaviak
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.apache.log4j.Logger LOG  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Object> convert​(java.util.List<ResultElement> result, java.util.Collection<Path> unionPathCollection, java.util.Collection<Path> newPathCollection)
      Converts data from ResultElement to Objects.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        protected static final org.apache.log4j.Logger LOG
    • Constructor Detail

      • ResultElementConverter

        public ResultElementConverter()
    • Method Detail

      • convert

        public java.util.List<java.lang.Object> convert​(java.util.List<ResultElement> result,
                                                        java.util.Collection<Path> unionPathCollection,
                                                        java.util.Collection<Path> newPathCollection)
        Converts data from ResultElement to Objects. It takes field value from each ResultElement.
        Parameters:
        result - result row to be converted
        unionPathCollection - union path from old and new views in pathquery
        newPathCollection - the paths to export
        Returns:
        converted result row