All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.vespa.feed.client.Result Maven / Gradle / Ivy

There is a newer version: 8.443.12
Show newest version
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.feed.client;

import java.util.Optional;

/**
 * Result for a document operation which completed normally.
 *
 * @author bjorncs
 * @author jonmv
 */
public interface Result {

    enum Type {
        success,
        conditionNotMet
    }

    Type type();
    DocumentId documentId();
    Optional resultMessage();
    Optional traceMessage();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy