public class SqlContext extends Object
限定符和类型 | 字段和说明 |
---|---|
static int |
DEFAULT_FETCH_SIZE |
构造器和说明 |
---|
SqlContext() |
限定符和类型 | 方法和说明 |
---|---|
<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() |
Object |
getResult() |
int |
getResultSetType() |
int |
getUpdateCount() |
boolean |
hasAttr(String name) |
void |
setFetchSize(int fetchSize) |
SqlContext |
setFieldMatcher(FieldMatcher matcher) |
void |
setPager(Pager pager) |
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)
Copyright © 2017. All rights reserved.