Package org.elasticsearch.client.ml
Class GetFiltersResponse
- java.lang.Object
-
- org.elasticsearch.client.ml.AbstractResultResponse<MlFilter>
-
- org.elasticsearch.client.ml.GetFiltersResponse
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class GetFiltersResponse extends AbstractResultResponse<MlFilter>
Contains aListof the foundMlFilterobjects and the total count found
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static ConstructingObjectParser<GetFiltersResponse,java.lang.Void>PARSERstatic ParseFieldRESULTS_FIELD-
Fields inherited from class org.elasticsearch.client.ml.AbstractResultResponse
count, COUNT, results
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<MlFilter>filters()The collection ofMlFilterobjects found in the querystatic GetFiltersResponsefromXContent(XContentParser parser)inthashCode()java.lang.StringtoString()-
Methods inherited from class org.elasticsearch.client.ml.AbstractResultResponse
count, toXContent
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
RESULTS_FIELD
public static final ParseField RESULTS_FIELD
-
PARSER
public static final ConstructingObjectParser<GetFiltersResponse,java.lang.Void> PARSER
-
-
Method Detail
-
filters
public java.util.List<MlFilter> filters()
The collection ofMlFilterobjects found in the query
-
fromXContent
public static GetFiltersResponse fromXContent(XContentParser parser) throws java.io.IOException
- Throws:
java.io.IOException
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-