类 NoSqlConfigModel
- java.lang.Object
-
- org.sagacity.sqltoy.config.model.NoSqlConfigModel
-
- 所有已实现的接口:
Serializable
public class NoSqlConfigModel extends Object implements Serializable
- 版本:
- v1.0,Date:2018年1月3日
- 作者:
- zhongxuchen
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 NoSqlConfigModel()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetCharset()StringgetCollection()intgetConnectTimeout()StringgetEndpoint()String[]getFields()StringgetIndex()intgetRequestTimeout()intgetSocketTimeout()StringgetType()String[]getValueRoot()booleanisHasAggs()booleanisSqlMode()voidsetCharset(String charset)voidsetCollection(String collection)voidsetConnectTimeout(int connectTimeout)voidsetEndpoint(String endpoint)voidsetFields(String[] fields)voidsetHasAggs(boolean hasAggs)voidsetIndex(String index)voidsetRequestTimeout(int requestTimeout)voidsetSocketTimeout(int socketTimeout)voidsetSqlMode(boolean sqlMode)voidsetType(String type)voidsetValueRoot(String[] valueRoot)
-
-
-
方法详细资料
-
getCollection
public String getCollection()
- 返回:
- the collection
-
setCollection
public void setCollection(String collection)
- 参数:
collection- the collection to set
-
getEndpoint
public String getEndpoint()
- 返回:
- the endpoint
-
setEndpoint
public void setEndpoint(String endpoint)
- 参数:
endpoint- the endpoint to set
-
getType
public String getType()
- 返回:
- the type
-
setType
public void setType(String type)
- 参数:
type- the type to set
-
getIndex
public String getIndex()
- 返回:
- the index
-
setIndex
public void setIndex(String index)
- 参数:
index- the index to set
-
getRequestTimeout
public int getRequestTimeout()
- 返回:
- the requestTimeout
-
setRequestTimeout
public void setRequestTimeout(int requestTimeout)
- 参数:
requestTimeout- the requestTimeout to set
-
getConnectTimeout
public int getConnectTimeout()
- 返回:
- the connectTimeout
-
setConnectTimeout
public void setConnectTimeout(int connectTimeout)
- 参数:
connectTimeout- the connectTimeout to set
-
getCharset
public String getCharset()
- 返回:
- the charset
-
setCharset
public void setCharset(String charset)
- 参数:
charset- the charset to set
-
isHasAggs
public boolean isHasAggs()
- 返回:
- the hasAggs
-
setHasAggs
public void setHasAggs(boolean hasAggs)
- 参数:
hasAggs- the hasAggs to set
-
getFields
public String[] getFields()
- 返回:
- the fields
-
setFields
public void setFields(String[] fields)
- 参数:
fields- the fields to set
-
getValueRoot
public String[] getValueRoot()
- 返回:
- the valueRoot
-
setValueRoot
public void setValueRoot(String[] valueRoot)
- 参数:
valueRoot- the valueRoot to set
-
isSqlMode
public boolean isSqlMode()
- 返回:
- the sqlMode
-
setSqlMode
public void setSqlMode(boolean sqlMode)
- 参数:
sqlMode- the sqlMode to set
-
getSocketTimeout
public int getSocketTimeout()
- 返回:
- the socketTimeout
-
setSocketTimeout
public void setSocketTimeout(int socketTimeout)
- 参数:
socketTimeout- the socketTimeout to set
-
-