public abstract class MultiClauseFilter extends Filter implements ComplexFilter
Filter.DefaultFilterType| Modifier | Constructor and Description |
|---|---|
protected |
MultiClauseFilter(FilterType type,
List<Filter> fields)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Filter> |
getFields()
Returns the filters that are operated on by this filter.
|
int |
hashCode() |
abstract MultiClauseFilter |
withFields(List<Filter> fields)
Get a new instance of this filter with the given fields.
|
protected MultiClauseFilter(FilterType type, List<Filter> fields)
type - Type of the filterfields - Collection of child filters this filter wrapspublic List<Filter> getFields()
ComplexFiltergetFields in interface ComplexFilterpublic abstract MultiClauseFilter withFields(List<Filter> fields)
fields - Fields of the new filter.Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.