diff options
Diffstat (limited to 'src/mongo/s/analyze_shard_key_documents.idl')
-rw-r--r-- | src/mongo/s/analyze_shard_key_documents.idl | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/src/mongo/s/analyze_shard_key_documents.idl b/src/mongo/s/analyze_shard_key_documents.idl index fc1437965b6..b1275858bd3 100644 --- a/src/mongo/s/analyze_shard_key_documents.idl +++ b/src/mongo/s/analyze_shard_key_documents.idl @@ -48,3 +48,74 @@ structs: inline_chained_structs: true chained_structs: QueryAnalyzerConfiguration: configuration + + SampledReadCommand: + description: "The command object for a sampled read query." + strict: false + fields: + filter: + type: object + description: "The filter for the read." + collation: + type: object + description: "The collation for the read." + + SampledReadQueryDocument: + description: "Represents a document storing a sampled read query." + strict: false + fields: + _id: + type: uuid + description: "The unique sample id for the read." + cpp_name: sampleId + ns: + type: namespacestring + description: "The namespace of the collection for the read." + collectionUuid: + type: uuid + description: "The UUID of the collection for the read." + cmdName: + type: SampledReadCommandName + description: "The command name for the read." + cmd: + type: object + description: "The command object for the read." + + SampledWriteQueryDocument: + description: "Represents a document storing a sampled write query." + strict: false + fields: + _id: + type: uuid + description: "The unique sample id for the write." + cpp_name: sampleId + ns: + type: namespacestring + description: "The namespace of the collection for the write." + collectionUuid: + type: uuid + description: "The UUID of the collection for the write." + cmdName: + type: SampledWriteCommandName + description: "The command name for the write." + cmd: + type: object + description: "The command object for the write." + + SampledQueryDiffDocument: + description: "Represents a document storing the diff for a sampled write query." + strict: false + fields: + _id: + type: uuid + description: "The unique sample id for the write." + cpp_name: sampleId + ns: + type: namespacestring + description: "The namespace of the collection for the write." + collectionUuid: + type: uuid + description: "The UUID of the collection for the write." + diff: + type: object + description: "The diff for the write." |