net.sf.farrago.fennel
Interface FennelCmdExecutor
- All Known Implementing Classes:
- FennelCmdExecutorImpl
public interface FennelCmdExecutor
FennelCmdExecutor defines a mechanism for extending and modifying the command
set understood by Fennel. FennelCmdExecutorImpl
provides a default
implementation. Extensions can be created by writing a JNI DLL which links
with Farrago's JNI DLL and provides an alternative for FennelStorage.executeJavaCmd(net.sf.farrago.fem.fennel.FemCmd, long)
.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/fennel/FennelCmdExecutor.java#12 $
- Author:
- John V. Sichi
executeJavaCmd
long executeJavaCmd(FemCmd cmd,
FennelExecutionHandle execHandle)
throws SQLException
- Executes one FemCmd with an optional execution handle.
- Parameters:
cmd
- the command to be executedexecHandle
- the execution handle used to communicate state
information from Farrago to Fennel; set to null if there is no handle
- Returns:
- result handle as primitive
- Throws:
SQLException