| Modifier and Type | Field and Description |
|---|---|
| private static final String[] | |
| public final int[] | |
| public final SqlCommand | |
| public final boolean | |
| public final String | |
| private static final int[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | NativeQuery(String nativeSql, @Nullable int[] bindPositions, boolean multiStatement, SqlCommand dml)
|
| Modifier and Type | Method and Description |
|---|---|
| public static StringBuilder | |
| public static String | Returns: bind variable nameindex of a bind variable index)Returns $1, $2, etc names of bind variables used by backend. |
| public static int | Returns: int total character length for $xyz kind of bindstotal number of parameters in a query bindCount)Calculate the text length required for the given number of bind variables including dollars. |
| public SqlCommand | |
| public String | Returns: a human-readable representation of this querya ParameterList returned by this Query's parameters)Query#createParameterList
method, or null to leave the parameter placeholders unsubstituted.Stringize this query to a human-readable form, substituting particular parameter values for parameter placeholders. |
| BIND_NAMES | back to summary |
|---|---|
| private static final String[] BIND_NAMES | |
| bindPositions | back to summary |
|---|---|
| public final int[] bindPositions | |
| command | back to summary |
|---|---|
| public final SqlCommand command | |
| multiStatement | back to summary |
|---|---|
| public final boolean multiStatement | |
| nativeSql | back to summary |
|---|---|
| public final String nativeSql | |
| NO_BINDS | back to summary |
|---|---|
| private static final int[] NO_BINDS | |
| NativeQuery | back to summary |
|---|---|
| public NativeQuery(String nativeSql, SqlCommand dml) | |
| NativeQuery | back to summary |
|---|---|
| public NativeQuery(String nativeSql, @Nullable int[] bindPositions, boolean multiStatement, SqlCommand dml) | |
| appendBindName | back to summary |
|---|---|
| public static StringBuilder appendBindName(StringBuilder sb, int index) | |
| bindName | back to summary |
|---|---|
| public static String bindName(int index) Returns $1, $2, etc names of bind variables used by backend.
| |
| calculateBindLength | back to summary |
|---|---|
| public static int calculateBindLength(int bindCount) Calculate the text length required for the given number of bind variables including dollars. Do this to avoid repeated calls to AbstractStringBuilder.expandCapacity(...) and Arrays.copyOf
| |
| getCommand | back to summary |
|---|---|
| public SqlCommand getCommand() | |
| toString | back to summary |
|---|---|
| public String toString(@Nullable ParameterList parameters) Stringize this query to a human-readable form, substituting particular parameter values for parameter placeholders.
| |