public class BulkImportOperationsClient
extends MindsphereAPIClient
Modifier and Type | Class and Description |
---|---|
static class |
BulkImportOperationsClient.ClientBuilder |
Constructor and Description |
---|
BulkImportOperationsClient(BulkImportOperationsClient.ClientBuilder builder) |
Modifier and Type | Method and Description |
---|---|
static BulkImportOperationsClient.ClientBuilder |
builder() |
JobStatus |
createImportJob(CreateImportJobRequest requestObject)
Create bulk import job for importing time series data
Creates an import job resource to asynchronously import IoT time series data from files uploaded through IoT File Service.
|
JobStatus |
retrieveImportJob(RetrieveImportJobRequest requestObject)
Retrieve status of bulk import job
|
public BulkImportOperationsClient(BulkImportOperationsClient.ClientBuilder builder)
public static BulkImportOperationsClient.ClientBuilder builder()
public JobStatus createImportJob(CreateImportJobRequest requestObject) throws MindsphereException
202 - bulk timeseries job triggered.
400 - The request will return HTTP 400 (BAD REQUEST) for the subsequent cases: - Unable to find the tenant. - Unable to find the asset (entity). - Unable to find the aspect (property set). - Unable to find the asset type (entity type). - The total file size for single / multiple jobs submitted for same hour interval, specific simulation asset (entity) and aspect (property set) exceeds 350 MB. - The total file size for single / multiple jobs submitted for same day interval, specific performance asset (entity) and aspect (property set) exceeds 1 GB. - The input consists of data for multiple combination of asset (entity) and aspect (property set) name. - Error in bulk ingestion: for input file {0}, data should be older than {1} minutes in case of performance asset (entity).
0 - Other error with any status code and response body format.
requestObject
- - Object of type CreateImportJobRequest {Parameters are bulkImportInput*}MindsphereException
- if an error occurs while attempting to invoke the APIpublic JobStatus retrieveImportJob(RetrieveImportJobRequest requestObject) throws MindsphereException
200 - Ok
404 - The request will return HTTP 400 (BAD REQUEST) in cases you can find below. - The input job id does not exists.
0 - Other error with any status code and response body format.
requestObject
- - Object of type RetrieveImportJobRequest {Parameters are id*}MindsphereException
- if an error occurs while attempting to invoke the API