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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidload()Load an instance population from the standard input stream.voidload_file(String file)Load an instance population from a file specified byfile.voidserialize()Dump an instance population to the standard output stream.voidserialize_file(String file)Dump an instance population to a file specified byfile.-
Methods inherited from class io.ciera.runtime.summit.util.Utility
context, getRunContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.ciera.runtime.summit.application.IActionHome
warn
-
-
-
-
Constructor Detail
-
SQLImpl
public SQLImpl(C context)
-
-
Method Detail
-
load
public void load() throws XtumlExceptionDescription copied from interface:SQLLoad an instance population from the standard input stream.- Specified by:
loadin interfaceSQL- 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:SQLLoad an instance population from a file specified byfile.- Specified by:
load_filein interfaceSQL- 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 XtumlExceptionDescription copied from interface:SQLDump an instance population to the standard output stream.- Specified by:
serializein interfaceSQL- 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:SQLDump an instance population to a file specified byfile.- Specified by:
serialize_filein interfaceSQL- 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.
-
-