DocumentAnalyzer Class
- java.
lang. Object - com.
microsoft. azure. documentdb. bulkexecutor. internal. DocumentAnalyzer
- com.
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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Java