Class SQLImpl<C extends IComponent<C>>

java.lang.Object
io.ciera.runtime.summit.util.Utility<C>
io.ciera.runtime.instanceloading.sql.util.impl.SQLImpl<C>
All Implemented Interfaces:
SQL, IActionHome<C>

public class SQLImpl<C extends IComponent<C>> extends Utility<C> implements SQL
  • Constructor Details

    • SQLImpl

      public SQLImpl(C context)
  • Method Details

    • 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.