public class EsParam extends AbstractModel
skipSign
Constructor and Description |
---|
EsParam() |
EsParam(EsParam source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getContentKey()
Get 非json格式数据的自定义key
|
String |
getDatabasePrimaryKey()
Get 转储到ES的消息为Database的binlog时,如果需要同步数据库操作,即增删改的操作到ES时填写数据库表主键
|
String |
getDateFormat()
Get Es自定义日期后缀
|
String |
getDocumentIdField()
Get 转储到Es中的文档ID取值字段名
|
DropCls |
getDropCls()
Get 当设置成员参数DropInvalidMessageToCls设置为true时,DropInvalidMessage参数失效
|
FailureParam |
getDropDlq()
Get 死信队列
|
Boolean |
getDropInvalidJsonMessage()
Get Es是否抛弃非json格式的消息
|
Boolean |
getDropInvalidMessage()
Get Es是否抛弃解析失败的消息
|
String |
getIndex()
Get Es自定义index名称
|
String |
getIndexType()
Get Es自定义index名称的类型,STRING,JSONPATH,默认为STRING
|
String |
getPassword()
Get Es密码
|
Long |
getPort()
Get Es的连接port
|
String |
getResource()
Get 实例资源
|
Boolean |
getSelfBuilt()
Get 是否为自建集群
|
String |
getServiceVip()
Get 实例vip
|
String |
getUniqVpcId()
Get 实例的vpcId
|
String |
getUserName()
Get Es用户名
|
void |
setContentKey(String ContentKey)
Set 非json格式数据的自定义key
|
void |
setDatabasePrimaryKey(String DatabasePrimaryKey)
Set 转储到ES的消息为Database的binlog时,如果需要同步数据库操作,即增删改的操作到ES时填写数据库表主键
|
void |
setDateFormat(String DateFormat)
Set Es自定义日期后缀
|
void |
setDocumentIdField(String DocumentIdField)
Set 转储到Es中的文档ID取值字段名
|
void |
setDropCls(DropCls DropCls)
Set 当设置成员参数DropInvalidMessageToCls设置为true时,DropInvalidMessage参数失效
|
void |
setDropDlq(FailureParam DropDlq)
Set 死信队列
|
void |
setDropInvalidJsonMessage(Boolean DropInvalidJsonMessage)
Set Es是否抛弃非json格式的消息
|
void |
setDropInvalidMessage(Boolean DropInvalidMessage)
Set Es是否抛弃解析失败的消息
|
void |
setIndex(String Index)
Set Es自定义index名称
|
void |
setIndexType(String IndexType)
Set Es自定义index名称的类型,STRING,JSONPATH,默认为STRING
|
void |
setPassword(String Password)
Set Es密码
|
void |
setPort(Long Port)
Set Es的连接port
|
void |
setResource(String Resource)
Set 实例资源
|
void |
setSelfBuilt(Boolean SelfBuilt)
Set 是否为自建集群
|
void |
setServiceVip(String ServiceVip)
Set 实例vip
|
void |
setUniqVpcId(String UniqVpcId)
Set 实例的vpcId
|
void |
setUserName(String UserName)
Set Es用户名
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public EsParam()
public EsParam(EsParam source)
public String getResource()
public void setResource(String Resource)
Resource
- 实例资源public Long getPort()
public void setPort(Long Port)
Port
- Es的连接portpublic String getUserName()
public void setUserName(String UserName)
UserName
- Es用户名public String getPassword()
public void setPassword(String Password)
Password
- Es密码public Boolean getSelfBuilt()
public void setSelfBuilt(Boolean SelfBuilt)
SelfBuilt
- 是否为自建集群public String getServiceVip()
public void setServiceVip(String ServiceVip)
ServiceVip
- 实例vippublic String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId
- 实例的vpcIdpublic Boolean getDropInvalidMessage()
public void setDropInvalidMessage(Boolean DropInvalidMessage)
DropInvalidMessage
- Es是否抛弃解析失败的消息public String getIndex()
public void setIndex(String Index)
Index
- Es自定义index名称public String getDateFormat()
public void setDateFormat(String DateFormat)
DateFormat
- Es自定义日期后缀public String getContentKey()
public void setContentKey(String ContentKey)
ContentKey
- 非json格式数据的自定义keypublic Boolean getDropInvalidJsonMessage()
public void setDropInvalidJsonMessage(Boolean DropInvalidJsonMessage)
DropInvalidJsonMessage
- Es是否抛弃非json格式的消息public String getDocumentIdField()
public void setDocumentIdField(String DocumentIdField)
DocumentIdField
- 转储到Es中的文档ID取值字段名public String getIndexType()
public void setIndexType(String IndexType)
IndexType
- Es自定义index名称的类型,STRING,JSONPATH,默认为STRINGpublic DropCls getDropCls()
public void setDropCls(DropCls DropCls)
DropCls
- 当设置成员参数DropInvalidMessageToCls设置为true时,DropInvalidMessage参数失效public String getDatabasePrimaryKey()
public void setDatabasePrimaryKey(String DatabasePrimaryKey)
DatabasePrimaryKey
- 转储到ES的消息为Database的binlog时,如果需要同步数据库操作,即增删改的操作到ES时填写数据库表主键public FailureParam getDropDlq()
public void setDropDlq(FailureParam DropDlq)
DropDlq
- 死信队列Copyright © 2023. All rights reserved.