public enum VariableReplacementMode extends java.lang.Enum<VariableReplacementMode>
Enum Constant and Description |
---|
DRIVER_PLACEHOLDER |
VERBATIM |
Modifier and Type | Method and Description |
---|---|
abstract void |
setStatementVariable(java.sql.PreparedStatement stmt,
ContextualizedQuery ctxQuery,
int startIndex,
CheckpointValue value) |
abstract ContextualizedQuery |
substituteVariableName(java.lang.String original,
java.lang.String varname,
CheckpointValue value) |
static VariableReplacementMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VariableReplacementMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariableReplacementMode VERBATIM
public static final VariableReplacementMode DRIVER_PLACEHOLDER
public static VariableReplacementMode[] values()
for (VariableReplacementMode c : VariableReplacementMode.values()) System.out.println(c);
public static VariableReplacementMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract ContextualizedQuery substituteVariableName(java.lang.String original, java.lang.String varname, CheckpointValue value)
public abstract void setStatementVariable(java.sql.PreparedStatement stmt, ContextualizedQuery ctxQuery, int startIndex, CheckpointValue value) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.