public class Tag extends Object
| Constructor and Description |
|---|
Tag() |
| Modifier and Type | Method and Description |
|---|---|
Tag |
addValueItem(String valueItem) |
boolean |
equals(Object o) |
String |
getKey()
键。最大长度127个unicode字符。key不能为空。(搜索时不对此参数做字符集校验),key不能为空或者空字符串,不能为空格,校验和使用之前先trim前后半角空格。
|
List<String> |
getValue()
值列表。每个值最大长度255个unicode字符,校验和使用之前先trim前后半角空格。 value可为空数组但不可缺省。 如果values为空列表,则表示any_value(查询任意value)。value之间为或的关系。 (搜索时不对此参数做字符集校验,只做长度校验)
|
int |
hashCode() |
void |
setKey(String key) |
void |
setValue(List<String> value) |
String |
toString() |
Tag |
withKey(String key) |
Tag |
withValue(java.util.function.Consumer<List<String>> valueSetter) |
Tag |
withValue(List<String> value) |
public String getKey()
public void setKey(String key)
public Tag withValue(java.util.function.Consumer<List<String>> valueSetter)
public List<String> getValue()
Copyright © 2022. All rights reserved.