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 con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for Java