Class DataStreamParams
-
- All Implemented Interfaces:
-
com.openlayer.api.core.Params
public final class DataStreamParams implements Params
Publish an inference data point to an inference pipeline.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDataStreamParams.BuilderA builder for DataStreamParams.
public final classDataStreamParams.Bodypublic final classDataStreamParams.ConfigConfiguration for the data stream. Depends on your Openlayer project task type.
public final classDataStreamParams.Row
-
Method Summary
Modifier and Type Method Description final Optional<String>inferencePipelineId()final DataStreamParams.Configconfig()Configuration for the data stream. final List<DataStreamParams.Row>rows()A list of inference data points with inputs and outputs final JsonField<DataStreamParams.Config>_config()Returns the raw JSON value of config. final JsonField<List<DataStreamParams.Row>>_rows()Returns the raw JSON value of rows. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final DataStreamParams.BuildertoBuilder()final DataStreamParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static DataStreamParams.Builderbuilder()Returns a mutable builder for constructing an instance of DataStreamParams. -
-
Method Detail
-
inferencePipelineId
final Optional<String> inferencePipelineId()
-
config
final DataStreamParams.Config config()
Configuration for the data stream. Depends on your Openlayer project task type.
-
rows
final List<DataStreamParams.Row> rows()
A list of inference data points with inputs and outputs
-
_config
final JsonField<DataStreamParams.Config> _config()
Returns the raw JSON value of config.
Unlike config, this method doesn't throw if the JSON field has an unexpected type.
-
_rows
final JsonField<List<DataStreamParams.Row>> _rows()
Returns the raw JSON value of rows.
Unlike rows, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final DataStreamParams.Builder toBuilder()
-
_body
final DataStreamParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static DataStreamParams.Builder builder()
Returns a mutable builder for constructing an instance of DataStreamParams.
The following fields are required:
.config() .rows()
-
-
-
-