public class WildcardQuery extends Object implements Query
Example: If the name field is "name" and you want to query people whose names contain "Long", you can use "*Long*". However, this may not be efficient.
| 限定符和类型 | 类和说明 |
|---|---|
static class |
WildcardQuery.Builder |
| 构造器和说明 |
|---|
WildcardQuery() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getFieldName() |
QueryType |
getQueryType() |
String |
getValue() |
float |
getWeight() |
protected static WildcardQuery.Builder |
newBuilder() |
com.aliyun.ots.thirdparty.com.google.protobuf.ByteString |
serialize() |
void |
setFieldName(String fieldName) |
void |
setValue(String value) |
void |
setWeight(float weight) |
public QueryType getQueryType()
getQueryType 在接口中 Querypublic com.aliyun.ots.thirdparty.com.google.protobuf.ByteString serialize()
public String getFieldName()
public void setFieldName(String fieldName)
public String getValue()
public void setValue(String value)
public float getWeight()
public void setWeight(float weight)
protected static WildcardQuery.Builder newBuilder()
Copyright © 2025. All Rights Reserved.