public class ThreadLocalSelectArg extends BaseArgumentHolder
SelectArg
but using a ThreadLocal
internally to improve reentrance so that multiple threads can
use the same compiled statement.Constructor and Description |
---|
ThreadLocalSelectArg() |
ThreadLocalSelectArg(Object value) |
ThreadLocalSelectArg(SqlType sqlType,
Object value) |
ThreadLocalSelectArg(String columnName,
Object value) |
Modifier and Type | Method and Description |
---|---|
protected Object |
getValue()
Return the stored value.
|
protected boolean |
isValueSet()
Return true if the value is set.
|
void |
setValue(Object value)
Set the value associated with this argument.
|
getColumnName, getFieldType, getSqlArgValue, getSqlType, setMetaInfo, setMetaInfo, setMetaInfo, toString
public ThreadLocalSelectArg()
public ThreadLocalSelectArg(Object value)
protected Object getValue()
BaseArgumentHolder
getValue
in class BaseArgumentHolder
public void setValue(Object value)
ArgumentHolder
setValue
in interface ArgumentHolder
setValue
in class BaseArgumentHolder
protected boolean isValueSet()
BaseArgumentHolder
isValueSet
in class BaseArgumentHolder
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.