Package com.exasol.udfdebugging
Class UdfTestSetup
- java.lang.Object
-
- com.exasol.udfdebugging.UdfTestSetup
-
- All Implemented Interfaces:
AutoCloseable
public class UdfTestSetup extends Object implements AutoCloseable
Test setup for testing UDFs in the database.
-
-
Constructor Summary
Constructors Constructor Description UdfTestSetup(com.exasol.exasoltestsetup.ExasolTestSetup testSetup, Connection exasolConnection)Create a new instance ofUdfTestSetup.UdfTestSetup(String testHostIpAddress, com.exasol.bucketfs.Bucket bucket, Connection exasolConnection)Create a new instance ofUdfTestSetup.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()String[]getJvmOptions()Get JVM options required for this setup.
-
-
-
Constructor Detail
-
UdfTestSetup
public UdfTestSetup(String testHostIpAddress, com.exasol.bucketfs.Bucket bucket, Connection exasolConnection)
Create a new instance ofUdfTestSetup.- Parameters:
testHostIpAddress- IP address of the host running this UDF Test Setup under which UDFs can reach itbucket- BucketFS bucket to upload resource toexasolConnection- connection to the Exasol database. Make sure that your tests use the same connection
-
UdfTestSetup
public UdfTestSetup(com.exasol.exasoltestsetup.ExasolTestSetup testSetup, Connection exasolConnection)Create a new instance ofUdfTestSetup.- Parameters:
testSetup- Exasol test setupexasolConnection- connection to the Exasol database. Make sure that your tests use the same connection
-
-
Method Detail
-
getJvmOptions
public String[] getJvmOptions()
Get JVM options required for this setup.- Returns:
- array of JVM options
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-