Package stroom.query.api.v2
Class Filter.Builder
- java.lang.Object
-
- stroom.query.api.v2.Filter.Builder
-
-
Method Summary
Modifier and Type Method Description Filter
build()
Filter.Builder
excludes(java.lang.String value)
Set the exclusion regexFilter.Builder
includes(java.lang.String value)
Set the inclusion regex
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(Filter filter)
-
-
Method Detail
-
includes
public Filter.Builder includes(java.lang.String value)
Set the inclusion regex- Parameters:
value
- Only results matching this filter will be included- Returns:
- The
Filter.Builder
, enabling method chaining
-
excludes
public Filter.Builder excludes(java.lang.String value)
Set the exclusion regex- Parameters:
value
- Only results NOT matching this filter will be included- Returns:
- The
Filter.Builder
, enabling method chaining
-
build
public Filter build()
-
-