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
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
FromJsonObject(net.sf.json.JSONObject dict) |
void |
FromJsonString(String indexKeyString) |
boolean |
GetCaseSensitive() |
List<String> |
GetToken() |
void |
SetCaseSensitive(boolean caseSensitive) |
void |
SetToken(List<String> token) |
net.sf.json.JSONObject |
ToJsonObject() |
String |
ToJsonString() |
net.sf.json.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 boolean GetCaseSensitive()
public void SetCaseSensitive(boolean caseSensitive)
caseSensitive - the caseSensitive to setpublic net.sf.json.JSONObject ToRequestJson()
throws LogException
LogExceptionpublic String ToRequestString() throws LogException
LogExceptionpublic net.sf.json.JSONObject ToJsonObject()
throws LogException
LogExceptionpublic String ToJsonString() throws LogException
LogExceptionpublic void FromJsonObject(net.sf.json.JSONObject dict)
throws LogException
LogExceptionpublic void FromJsonString(String indexKeyString) throws LogException
LogExceptionCopyright © 2016. All Rights Reserved.