com.azure.cosmos.implementation.batch.FlushBuffersItemOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-cosmos Show documentation
Show all versions of azure-cosmos Show documentation
This Package contains Microsoft Azure Cosmos SDK (with Reactive Extension Reactor support) for Azure Cosmos DB SQL API
// 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;
}
}