Class ResultSetMarshaller


  • public class ResultSetMarshaller
    extends Object
    A utility class for marshalling IPentahoResultSet objects into and out of a serializable form (MarshallableResultSet)
    Author:
    jamesdixon
    • Constructor Detail

      • ResultSetMarshaller

        public ResultSetMarshaller()
    • Method Detail

      • toResultSet

        public static IPentahoResultSet toResultSet​(MarshallableResultSet data)
        Converts a MarshallableResultSet object into an IPentahoResultSet. A MemoryResultSet object is used as the implementation.
        Parameters:
        data -
        Returns:
      • convertCell

        public static Object convertCell​(String value,
                                         String type)
        Converts a single cell value from a string into its original object type
        Parameters:
        value -
        type -
        Returns: