com.azure.cosmos.implementation.routing.IPartitionKeyComponent 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.routing;
import com.fasterxml.jackson.core.JsonGenerator;
import java.io.OutputStream;
interface IPartitionKeyComponent {
int compareTo(IPartitionKeyComponent other);
int getTypeOrdinal();
void jsonEncode(JsonGenerator writer);
void writeForHashing(OutputStream outputStream);
void writeForHashingV2(OutputStream binaryWriter);
void writeForBinaryEncoding(OutputStream binaryWriter);
IPartitionKeyComponent truncate();
}