Class TitanicUtils


  • public class TitanicUtils
    extends java.lang.Object
    The utility class.
    • Constructor Detail

      • TitanicUtils

        public TitanicUtils()
    • Method Detail

      • readPassengers

        public static IgniteCache<java.lang.Integer,​Vector> readPassengers​(Ignite ignite)
                                                                          throws java.io.FileNotFoundException
        Read passengers data from csv file.
        Parameters:
        ignite - The ignite.
        Returns:
        The filled cache.
        Throws:
        java.io.FileNotFoundException - If data file is not found.
      • readPassengersWithoutNulls

        public static IgniteCache<java.lang.Integer,​Vector> readPassengersWithoutNulls​(Ignite ignite)
                                                                                      throws java.io.FileNotFoundException
        Read passengers data from csv file.
        Parameters:
        ignite - The ignite.
        Returns:
        The filled cache.
        Throws:
        java.io.FileNotFoundException - If data file is not found.