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>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
load()
Load an instance population from the standard input stream.void
Load an instance population from a file specified byfile
.void
Dump an instance population to the standard output stream.void
serialize_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 Details
-
SQLImpl
-
-
Method Details
-
load
Description copied from interface:SQL
Load an instance population from the standard input stream.- Specified by:
load
in interfaceSQL
- Throws:
XtumlException
- if an error occurs during parsing, loading, or relating of the SQL insert statements.
-
load_file
Description copied from interface:SQL
Load an instance population from a file specified byfile
.- Specified by:
load_file
in 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
Description copied from interface:SQL
Dump an instance population to the standard output stream.- Specified by:
serialize
in interfaceSQL
- Throws:
XtumlException
- if an error occurs during serialization of the instances.
-
serialize_file
Description copied from interface:SQL
Dump an instance population to a file specified byfile
.- Specified by:
serialize_file
in 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.
-