All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.azure.cosmos.implementation.OperationType Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.cosmos.implementation;
/**
* Operation types in the Azure Cosmos DB database service.
*/
public enum OperationType {
AbortPartitionMigration,
AbortSplit,
AddComputeGatewayRequestCharges,
Batch,
BatchApply,
BatchReportThroughputUtilization,
CompletePartitionMigration,
CompleteSplit,
Crash,
Create,
Delete,
ExecuteJavaScript,
ForceConfigRefresh,
GetSplitPoint,
Head,
HeadFeed,
MigratePartition,
Pause,
PreCreateValidation,
OfferPreGrowValidation,
OfferUpdateOperation,
PreReplaceValidation,
Query,
Read,
ReadFeed,
Recreate,
Recycle,
Replace,
Resume,
SqlQuery,
QueryPlan,
Stop,
Throttle,
Patch,
Upsert;
public boolean isWriteOperation() {
return this == Create ||
this == Delete ||
this == Recreate ||
this == ExecuteJavaScript ||
this == Replace ||
this == Upsert ||
this == Patch ||
this == Batch;
}
}