public class SqlContext extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_FETCH_SIZE |
Constructor and Description |
---|
SqlContext() |
Modifier and Type | Method and Description |
---|---|
<T> T |
attr(Class<T> type) |
<T> T |
attr(Class<T> classOfT,
String name) |
Object |
attr(String name) |
SqlContext |
attr(String name,
Object value) |
Set<String> |
attrNames() |
int |
getFetchSize() |
FieldMatcher |
getFieldMatcher() |
Pager |
getPager() |
int |
getQueryTimeout() |
Object |
getResult() |
int |
getResultSetType() |
int |
getUpdateCount() |
boolean |
hasAttr(String name) |
void |
setFetchSize(int fetchSize) |
SqlContext |
setFieldMatcher(FieldMatcher matcher) |
void |
setPager(Pager pager) |
void |
setQueryTimeout(int queryTimeout) |
void |
setResult(Object result) |
void |
setResultSetType(int resultSetType) |
void |
setUpdateCount(int updateCount) |
public SqlContext attr(String name, Object value)
public <T> T attr(Class<T> type)
public boolean hasAttr(String name)
public FieldMatcher getFieldMatcher()
public SqlContext setFieldMatcher(FieldMatcher matcher)
public void setResult(Object result)
public Object getResult()
public int getUpdateCount()
public void setUpdateCount(int updateCount)
public int getFetchSize()
public int getResultSetType()
public void setFetchSize(int fetchSize)
public void setResultSetType(int resultSetType)
public Pager getPager()
public void setPager(Pager pager)
public int getQueryTimeout()
public void setQueryTimeout(int queryTimeout)
Copyright © 2020. All rights reserved.