public class IndexKey
extends java.lang.Object
implements java.io.Serializable
构造器和说明 |
---|
IndexKey() |
IndexKey(IndexKey other)
create index config from another index key
|
IndexKey(java.util.List<java.lang.String> token,
boolean caseSensitive)
create Index config for a key
|
限定符和类型 | 方法和说明 |
---|---|
void |
FromJsonObject(net.sf.json.JSONObject dict) |
void |
FromJsonString(java.lang.String indexKeyString) |
boolean |
GetCaseSensitive() |
java.util.List<java.lang.String> |
GetToken() |
void |
SetCaseSensitive(boolean caseSensitive) |
void |
SetToken(java.util.List<java.lang.String> token) |
net.sf.json.JSONObject |
ToJsonObject() |
java.lang.String |
ToJsonString() |
net.sf.json.JSONObject |
ToRequestJson() |
java.lang.String |
ToRequestString() |
public IndexKey()
public IndexKey(java.util.List<java.lang.String> token, boolean caseSensitive)
token
- the token used to split log datacaseSensitive
- true is case sensitivepublic IndexKey(IndexKey other)
other
- another index keypublic java.util.List<java.lang.String> GetToken()
public boolean GetCaseSensitive()
public void SetToken(java.util.List<java.lang.String> token)
token
- the token to setpublic void SetCaseSensitive(boolean caseSensitive)
caseSensitive
- the caseSensitive to setpublic net.sf.json.JSONObject ToRequestJson() throws LogException
LogException
public java.lang.String ToRequestString() throws LogException
LogException
public net.sf.json.JSONObject ToJsonObject() throws LogException
LogException
public java.lang.String ToJsonString() throws LogException
LogException
public void FromJsonObject(net.sf.json.JSONObject dict) throws LogException
LogException
public void FromJsonString(java.lang.String indexKeyString) throws LogException
LogException