com.microsoft.azure.kusto.ingest.result.IngestionStatusResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kusto-ingest Show documentation
Show all versions of kusto-ingest Show documentation
Kusto client library for ingesting data
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
package com.microsoft.azure.kusto.ingest.result;
import java.util.Collections;
import java.util.List;
public class IngestionStatusResult implements IngestionResult {
private IngestionStatus ingestionStatus;
public IngestionStatusResult(IngestionStatus ingestionStatus) {
this.ingestionStatus = ingestionStatus;
}
@Override
public List getIngestionStatusCollection() {
return Collections.singletonList(this.ingestionStatus);
}
@Override
public int getIngestionStatusesLength() {
return 1;
}
}