com.sap.dbtech.powertoys
Class Loader
java.lang.Objectcom.sap.dbtech.powertoys.Loader
public class Loader
extends java.lang.Object
Executes loader commands for SAP DB
Loader(Properties properties)- creates a new Loader.
|
void | cancel()
|
String | cmd(String cmdString)- executes cmdString in the current lserver session.
|
static Loader | dbLoader(String host, String dbname)- creates a new Loader by specifying the host and the dbname
|
static Loader | dbrootLoader(String host, String dbroot)- create a new Loader by specifying the host and the dbroot
|
void | finalize()
|
void | release()- closes the connection
|
dbnameKeyC
public static final String dbnameKeyC
dbrootKeyC
public static final String dbrootKeyC
hostKeyC
public static final String hostKeyC
userKeyC
public static final String userKeyC
Loader
public Loader(Properties properties)
throws com.sap.dbtech.rte.comm.RTEExceptioncreates a new Loader.
The following properties are used by this class:
- "host": start lserver on this host
- "dbname": start lserver for this database
- "dbroot": start dbmserver for this release/diretory
- "user": user,pwd implicit lserver connect (not yet implemented)
cancel
public void cancel()
throws SQLException
cmd
public String cmd(String cmdString)
throws com.sap.dbtech.rte.comm.RTEException,
LoaderException executes cmdString in the current lserver session.
dbLoader
public static Loader dbLoader(String host,
String dbname)
throws com.sap.dbtech.rte.comm.RTEException creates a new Loader by specifying the host and the dbname
dbrootLoader
public static Loader dbrootLoader(String host,
String dbroot)
throws com.sap.dbtech.rte.comm.RTEException create a new Loader by specifying the host and the dbroot
finalize
public void finalize()
throws com.sap.dbtech.rte.comm.RTEException
release
public void release()
throws com.sap.dbtech.rte.comm.RTEException closes the connection