public class RuleInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| RuleInfo() | 
| RuleInfo(RuleInfo 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 | 
|---|---|
| DynamicIndex | getDynamicIndex()Get 键值索引自动配置,为空时代表未开启该功能。
启用后自动将日志内的字段添加到键值索引中,包括日志中后续新增的字段。
注意:此字段可能返回 null,表示取不到有效值。 | 
| FullTextInfo | getFullText()Get 全文索引配置, 为空时代表未开启全文索引
注意:此字段可能返回 null,表示取不到有效值。 | 
| RuleKeyValueInfo | getKeyValue()Get 键值索引配置,为空时代表未开启键值索引
注意:此字段可能返回 null,表示取不到有效值。 | 
| RuleTagInfo | getTag()Get 元字段索引配置,为空时代表未开启元字段索引
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setDynamicIndex(DynamicIndex DynamicIndex)Set 键值索引自动配置,为空时代表未开启该功能。
启用后自动将日志内的字段添加到键值索引中,包括日志中后续新增的字段。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setFullText(FullTextInfo FullText)Set 全文索引配置, 为空时代表未开启全文索引
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setKeyValue(RuleKeyValueInfo KeyValue)Set 键值索引配置,为空时代表未开启键值索引
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setTag(RuleTagInfo Tag)Set 元字段索引配置,为空时代表未开启元字段索引
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic RuleInfo()
public RuleInfo(RuleInfo source)
public FullTextInfo getFullText()
public void setFullText(FullTextInfo FullText)
FullText - 全文索引配置, 为空时代表未开启全文索引
注意:此字段可能返回 null,表示取不到有效值。public RuleKeyValueInfo getKeyValue()
public void setKeyValue(RuleKeyValueInfo KeyValue)
KeyValue - 键值索引配置,为空时代表未开启键值索引
注意:此字段可能返回 null,表示取不到有效值。public RuleTagInfo getTag()
public void setTag(RuleTagInfo Tag)
Tag - 元字段索引配置,为空时代表未开启元字段索引
注意:此字段可能返回 null,表示取不到有效值。public DynamicIndex getDynamicIndex()
public void setDynamicIndex(DynamicIndex DynamicIndex)
DynamicIndex - 键值索引自动配置,为空时代表未开启该功能。
启用后自动将日志内的字段添加到键值索引中,包括日志中后续新增的字段。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.