TrinoContainer instead.@Deprecated
public class PrestoContainer<SELF extends PrestoContainer<SELF>>
extends org.testcontainers.containers.JdbcDatabaseContainer<SELF>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_TAG
Deprecated.
|
static java.lang.String |
IMAGE
Deprecated.
|
static java.lang.String |
NAME
Deprecated.
|
static java.lang.Integer |
PRESTO_PORT
Deprecated.
|
parameters, urlParameters| Constructor and Description |
|---|
PrestoContainer()
Deprecated.
use
PrestoContainer(DockerImageName) instead |
PrestoContainer(org.testcontainers.utility.DockerImageName dockerImageName)
Deprecated.
|
PrestoContainer(java.lang.String dockerImageName)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
createConnection()
Deprecated.
|
java.lang.String |
getDatabaseName()
Deprecated.
|
java.lang.String |
getDriverClassName()
Deprecated.
|
java.lang.String |
getJdbcUrl()
Deprecated.
|
protected @NotNull java.util.Set<java.lang.Integer> |
getLivenessCheckPorts()
Deprecated.
use
GenericContainer.getLivenessCheckPortNumbers() instead |
java.lang.String |
getPassword()
Deprecated.
|
java.lang.String |
getTestQueryString()
Deprecated.
|
java.lang.String |
getUsername()
Deprecated.
|
SELF |
withDatabaseName(java.lang.String dbName)
Deprecated.
|
SELF |
withPassword(java.lang.String password)
Deprecated.
This operation is not supported.
|
SELF |
withUsername(java.lang.String username)
Deprecated.
|
addParameter, constructUrlForConnection, constructUrlParameters, constructUrlParameters, containerIsStarted, createConnection, createConnection, getConnectTimeoutSeconds, getDatabaseDelegate, getJdbcDriverInstance, getStartupTimeoutSeconds, optionallyMapResourceParameterAsVolume, optionallyMapResourceParameterAsVolume, runInitScriptIfRequired, setParameters, waitUntilContainerStarted, withConnectTimeoutSeconds, withInitScript, withStartupTimeoutSeconds, withUrlParamaddEnv, addExposedPort, addExposedPorts, addFileSystemBind, addFixedExposedPort, addFixedExposedPort, addLink, apply, canBeReused, configure, containerIsCreated, containerIsStarted, containerIsStarting, containerIsStarting, containerIsStopped, containerIsStopping, copyFileFromContainer, createVolumeDirectory, dependsOn, dependsOn, dependsOn, doStart, equals, failed, finished, getBinds, getCommandParts, getContainerId, getContainerInfo, getContainerName, getCopyToFileContainerPathMap, getCreateContainerCmdModifiers, getDependencies, getDockerClient, getDockerImageName, getEnv, getEnvMap, getExposedPorts, getExtraHosts, getImage, getIpAddress, getLabels, getLinkedContainers, getLivenessCheckPort, getLivenessCheckPortNumbers, getLogConsumers, getNetwork, getNetworkAliases, getNetworkMode, getPortBindings, getShmSize, getStartupAttempts, getStartupCheckStrategy, getTestHostIpAddress, getTmpFsMapping, getVolumesFroms, getWaitStrategy, getWorkingDirectory, hashCode, isHostAccessible, isPrivilegedMode, isShouldBeReused, logger, setBinds, setCommand, setCommand, setCommandParts, setCopyToFileContainerPathMap, setDockerImageName, setEnv, setExposedPorts, setExtraHosts, setHostAccessible, setImage, setLabels, setLinkedContainers, setLogConsumers, setNetwork, setNetworkAliases, setNetworkMode, setPortBindings, setPrivilegedMode, setShmSize, setStartupAttempts, setStartupCheckStrategy, setTmpFsMapping, setVolumesFroms, setWaitStrategy, setWorkingDirectory, start, starting, stop, succeeded, toString, waitingFor, withAccessToHost, withClasspathResourceMapping, withClasspathResourceMapping, withCommand, withCommand, withCopyFileToContainer, withCopyToContainer, withCreateContainerCmdModifier, withEnv, withEnv, withExposedPorts, withExtraHost, withFileSystemBind, withImagePullPolicy, withLabel, withLabels, withLogConsumer, withMinimumRunningDuration, withNetwork, withNetworkAliases, withNetworkMode, withPrivilegedMode, withReuse, withSharedMemorySize, withStartupAttempts, withStartupCheckStrategy, withStartupTimeout, withTmpFs, withVolumesFrom, withWorkingDirectoryclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetContainerNameaddFileSystemBind, followOutput, followOutput, self, withEnv, withFileSystemBindcopyFileFromContainer, copyFileToContainer, copyFileToContainer, execInContainer, execInContainer, getBoundPortNumbers, getContainerIpAddress, getCurrentContainerInfo, getFirstMappedPort, getHost, getLogs, getLogs, getMappedPort, isCreated, isHealthy, isRunningpublic static final java.lang.String NAME
public static final java.lang.String IMAGE
public static final java.lang.String DEFAULT_TAG
public static final java.lang.Integer PRESTO_PORT
@Deprecated public PrestoContainer()
PrestoContainer(DockerImageName) insteadpublic PrestoContainer(java.lang.String dockerImageName)
public PrestoContainer(org.testcontainers.utility.DockerImageName dockerImageName)
@NotNull @Deprecated protected @NotNull java.util.Set<java.lang.Integer> getLivenessCheckPorts()
GenericContainer.getLivenessCheckPortNumbers() insteadgetLivenessCheckPorts in class org.testcontainers.containers.GenericContainer<SELF extends PrestoContainer<SELF>>public java.lang.String getDriverClassName()
getDriverClassName in class org.testcontainers.containers.JdbcDatabaseContainer<SELF extends PrestoContainer<SELF>>public java.lang.String getJdbcUrl()
getJdbcUrl in class org.testcontainers.containers.JdbcDatabaseContainer<SELF extends PrestoContainer<SELF>>public java.lang.String getUsername()
getUsername in class org.testcontainers.containers.JdbcDatabaseContainer<SELF extends PrestoContainer<SELF>>public java.lang.String getPassword()
getPassword in class org.testcontainers.containers.JdbcDatabaseContainer<SELF extends PrestoContainer<SELF>>public java.lang.String getDatabaseName()
getDatabaseName in class org.testcontainers.containers.JdbcDatabaseContainer<SELF extends PrestoContainer<SELF>>public java.lang.String getTestQueryString()
getTestQueryString in class org.testcontainers.containers.JdbcDatabaseContainer<SELF extends PrestoContainer<SELF>>public SELF withUsername(java.lang.String username)
withUsername in class org.testcontainers.containers.JdbcDatabaseContainer<SELF extends PrestoContainer<SELF>>@Deprecated public SELF withPassword(java.lang.String password)
withPassword in class org.testcontainers.containers.JdbcDatabaseContainer<SELF extends PrestoContainer<SELF>>public SELF withDatabaseName(java.lang.String dbName)
withDatabaseName in class org.testcontainers.containers.JdbcDatabaseContainer<SELF extends PrestoContainer<SELF>>public java.sql.Connection createConnection()
throws java.sql.SQLException,
org.testcontainers.containers.JdbcDatabaseContainer.NoDriverFoundException
java.sql.SQLExceptionorg.testcontainers.containers.JdbcDatabaseContainer.NoDriverFoundException