public class IndexKey extends Object implements Serializable
| 构造器和说明 |
|---|
IndexKey() |
IndexKey(IndexKey other)
create index config from another index key
|
IndexKey(List<String> token,
boolean caseSensitive)
create Index config for a key
|
IndexKey(List<String> token,
boolean caseSensitive,
String type) |
IndexKey(List<String> token,
boolean caseSensitive,
String type,
String alias) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
FromJsonObject(com.alibaba.fastjson.JSONObject dict) |
void |
FromJsonString(String indexKeyString) |
String |
getAlias() |
boolean |
GetCaseSensitive() |
List<String> |
GetToken() |
String |
GetType() |
boolean |
IsChn() |
boolean |
IsDocValue() |
void |
setAlias(String alias) |
void |
SetCaseSensitive(boolean caseSensitive) |
void |
SetChn(boolean chn) |
void |
SetDocValue(boolean docValue) |
void |
SetToken(List<String> token) |
void |
SetType(String type) |
com.alibaba.fastjson.JSONObject |
ToJsonObject() |
String |
ToJsonString() |
com.alibaba.fastjson.JSONObject |
ToRequestJson() |
String |
ToRequestString() |
public IndexKey()
public IndexKey(List<String> token, boolean caseSensitive)
token - the token used to split log datacaseSensitive - true is case sensitivepublic IndexKey(IndexKey other)
other - another index keypublic String getAlias()
public void setAlias(String alias)
public boolean IsChn()
public void SetChn(boolean chn)
public boolean IsDocValue()
public void SetDocValue(boolean docValue)
docValue - to be setpublic String GetType()
public void SetType(String type)
type - to be setpublic boolean GetCaseSensitive()
public void SetCaseSensitive(boolean caseSensitive)
caseSensitive - the caseSensitive to setpublic com.alibaba.fastjson.JSONObject ToRequestJson()
throws LogException
LogExceptionpublic String ToRequestString() throws LogException
LogExceptionpublic com.alibaba.fastjson.JSONObject ToJsonObject()
throws LogException
LogExceptionpublic String ToJsonString() throws LogException
LogExceptionpublic void FromJsonObject(com.alibaba.fastjson.JSONObject dict)
throws LogException
LogExceptionpublic void FromJsonString(String indexKeyString) throws LogException
LogExceptionCopyright © 2020. All Rights Reserved.