Compartir vía


DocumentAnalyzer Class

  • java.lang.Object
    • com.microsoft.azure.documentdb.bulkexecutor.internal.DocumentAnalyzer

public class DocumentAnalyzer

Constructor Summary

Constructor Description
DocumentAnalyzer()

Method Summary

Modifier and Type Method and Description
static com.microsoft.azure.documentdb.internal.routing.PartitionKeyInternal extractPartitionKeyValue(String documentAsString, PartitionKeyDefinition partitionKeyDefinition)

Extracts effective PartitionKeyInternal from serialized document.

static com.microsoft.azure.documentdb.internal.routing.PartitionKeyInternal fromPartitionKeyvalue(Object partitionKeyValue)

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

DocumentAnalyzer

public DocumentAnalyzer()

Method Details

extractPartitionKeyValue

public static PartitionKeyInternal extractPartitionKeyValue(String documentAsString, PartitionKeyDefinition partitionKeyDefinition)

Extracts effective PartitionKeyInternal from serialized document.

Parameters:

documentAsString - Serialized document to extract partition key value from.
partitionKeyDefinition - Information about partition key.

Returns:

PartitionKeyInternal

fromPartitionKeyvalue

public static PartitionKeyInternal fromPartitionKeyvalue(Object partitionKeyValue)

Parameters:

partitionKeyValue

Applies to