Class MlTrainedModelsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cat.CatRequestBase
co.elastic.clients.elasticsearch.cat.MlTrainedModelsRequest
Returns configuration and usage information about inference trained models.
IMPORTANT: cat APIs are only intended for human consumption using the Kibana console or command line. They are not intended for use by applications. For application consumption, use the get trained models statistics API.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.cat.CatRequestBase
CatRequestBase.AbstractBuilder<BuilderT extends CatRequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Endpoint<MlTrainedModelsRequest,
MlTrainedModelsResponse, ErrorResponse> Endpoint "cat.ml_trained_models
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
Specifies what to do when the request: contains wildcard expressions and there are no models that match; contains the_all
string or no identifiers and there are no matches; contains wildcard expressions and there are only partial matches.final Bytes
bytes()
The unit used to display byte values.final Integer
from()
Skips the specified number of transforms.final List<CatTrainedModelsColumn>
h()
A comma-separated list of column names to display.final String
modelId()
A unique identifier for the trained model.static MlTrainedModelsRequest
final List<CatTrainedModelsColumn>
s()
A comma-separated list of column names or aliases used to sort the response.final Integer
size()
The maximum number of transforms to display.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<MlTrainedModelsRequest,MlTrainedModelsResponse, _ENDPOINTErrorResponse> Endpoint "cat.ml_trained_models
".
-
-
Method Details
-
of
public static MlTrainedModelsRequest of(Function<MlTrainedModelsRequest.Builder, ObjectBuilder<MlTrainedModelsRequest>> fn) -
allowNoMatch
Specifies what to do when the request: contains wildcard expressions and there are no models that match; contains the_all
string or no identifiers and there are no matches; contains wildcard expressions and there are only partial matches. Iftrue
, the API returns an empty array when there are no matches and the subset of results when there are partial matches. Iffalse
, the API returns a 404 status code when there are no matches or only partial matches.API name:
allow_no_match
-
bytes
The unit used to display byte values.API name:
bytes
-
from
Skips the specified number of transforms.API name:
from
-
h
A comma-separated list of column names to display.API name:
h
-
modelId
A unique identifier for the trained model.API name:
model_id
-
s
A comma-separated list of column names or aliases used to sort the response.API name:
s
-
size
The maximum number of transforms to display.API name:
size
-