Class SQLImpl<C extends IComponent<C>>

    • Constructor Detail

      • SQLImpl

        public SQLImpl​(C context)
    • Method Detail

      • load

        public void load()
                  throws XtumlException
        Description copied from interface: SQL
        Load an instance population from the standard input stream.
        Specified by:
        load in interface SQL
        Throws:
        XtumlException - if an error occurs during parsing, loading, or relating of the SQL insert statements.
      • load_file

        public void load_file​(String file)
                       throws XtumlException
        Description copied from interface: SQL
        Load an instance population from a file specified by file.
        Specified by:
        load_file in interface SQL
        Parameters:
        file - The path to an instance population file relative to the current working directory.
        Throws:
        XtumlException - if an error occurs during parsing, loading, or relating of the SQL insert statements.
      • serialize

        public void serialize()
                       throws XtumlException
        Description copied from interface: SQL
        Dump an instance population to the standard output stream.
        Specified by:
        serialize in interface SQL
        Throws:
        XtumlException - if an error occurs during serialization of the instances.
      • serialize_file

        public void serialize_file​(String file)
                            throws XtumlException
        Description copied from interface: SQL
        Dump an instance population to a file specified by file.
        Specified by:
        serialize_file in interface SQL
        Parameters:
        file - The path to the destination instance population file relative to the current working directory.
        Throws:
        XtumlException - if an error occurs during serialization of the instances.