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

com.azure.cosmos.implementation.batch.FlushBuffersItemOperation Maven / Gradle / Ivy

Go to download

This Package contains Microsoft Azure Cosmos SDK (with Reactive Extension Reactor support) for Azure Cosmos DB SQL API

There is a newer version: 4.61.1
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.cosmos.implementation.batch;

import com.azure.cosmos.models.CosmosItemOperation;
import com.azure.cosmos.models.CosmosItemOperationType;
import com.azure.cosmos.models.PartitionKey;

public class FlushBuffersItemOperation implements CosmosItemOperation {
    private static final String fixedId = "FlushBuffersItemOperation_7fea4e74-bcbb-4d86-aea1-3ef270e574aa";
    private static final FlushBuffersItemOperation singletonInstance = new FlushBuffersItemOperation();

    private FlushBuffersItemOperation() {
    }

    @Override
    public String getId() {
        return fixedId;
    }

    @Override
    public PartitionKey getPartitionKeyValue() {
        throw new UnsupportedOperationException();
    }

    @Override
    public CosmosItemOperationType getOperationType() {
        throw new UnsupportedOperationException();
    }

    @Override
    public  T getItem() {
        return null;
    }

    @Override
    public  T getContext() {
        return null;
    }

    public static FlushBuffersItemOperation singleton() {
        return singletonInstance;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy