public class MetadataFieldFilter extends Object
| Constructor and Description |
|---|
MetadataFieldFilter(JsonObject jsonObj)
Create a filter for matching against a metadata field defined in JSON.
|
MetadataFieldFilter(String field,
String value)
Create a filter for matching against a string metadata field.
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
getJsonObject()
Get the JSON representation of the metadata field filter.
|
public MetadataFieldFilter(String field, String value)
field - the field to match against.value - the value to match against.public MetadataFieldFilter(JsonObject jsonObj)
jsonObj - the JSON object to construct the filter from.public JsonObject getJsonObject()