org.pentaho.di.trans.steps.sapinput.sap
Interface SAPConnection

All Known Implementing Classes:
SAPConnectionMock

public interface SAPConnection


Method Summary
 void close()
          Close the connection
 org.pentaho.di.trans.steps.sapinput.sap.impl.SAPRowIterator executeFunctionCursored(SAPFunction function, Collection<SAPField> input, Collection<SAPField> output)
           
 SAPResultSet executeFunctionUncursored(SAPFunction function, Collection<SAPField> input, Collection<SAPField> output)
           
 SAPFunction getFunction(String name)
           
 Collection<SAPFunction> getFunctions(String query)
           
 SAPFunctionSignature getFunctionSignature(SAPFunction function)
           
 void open(DatabaseMeta sapConnection)
          Open a connection to SAP ERP Note: method for init()
 void open(SAPConnectionParams params)
           
 

Method Detail

open

void open(DatabaseMeta sapConnection)
          throws SAPException
Open a connection to SAP ERP Note: method for init()

Parameters:
sapConnection - The SAP Connection to use, needs to be of type SAP ERP
Throws:
SAPException - in case something went wrong during the connection phase.

open

void open(SAPConnectionParams params)
          throws SAPException
Throws:
SAPException

close

void close()
Close the connection


getFunctions

Collection<SAPFunction> getFunctions(String query)
                                     throws SAPException
Throws:
SAPException

getFunction

SAPFunction getFunction(String name)
                        throws SAPException
Throws:
SAPException

getFunctionSignature

SAPFunctionSignature getFunctionSignature(SAPFunction function)
                                          throws SAPException
Throws:
SAPException

executeFunctionCursored

org.pentaho.di.trans.steps.sapinput.sap.impl.SAPRowIterator executeFunctionCursored(SAPFunction function,
                                                                                    Collection<SAPField> input,
                                                                                    Collection<SAPField> output)
                                                                                    throws SAPException
Throws:
SAPException

executeFunctionUncursored

SAPResultSet executeFunctionUncursored(SAPFunction function,
                                       Collection<SAPField> input,
                                       Collection<SAPField> output)
                                       throws SAPException
Throws:
SAPException