SearchModelFactory.GraphQueryResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A graph query's projected rows and optional execution information.
public static Azure.Search.Documents.Models.GraphQueryResult GraphQueryResult(long? count = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Models.GraphQueryRow> value = default, Azure.Search.Documents.Models.GraphQueryStatistics statistics = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Models.GraphQueryDiagnostic> diagnostics = default, Azure.Search.Documents.Models.GraphQueryExplain explain = default, Azure.Search.Documents.Models.GraphQueryProvenanceDocuments provenanceDocuments = default);
static member GraphQueryResult : Nullable<int64> * seq<Azure.Search.Documents.Models.GraphQueryRow> * Azure.Search.Documents.Models.GraphQueryStatistics * seq<Azure.Search.Documents.Models.GraphQueryDiagnostic> * Azure.Search.Documents.Models.GraphQueryExplain * Azure.Search.Documents.Models.GraphQueryProvenanceDocuments -> Azure.Search.Documents.Models.GraphQueryResult
Public Shared Function GraphQueryResult (Optional count As Nullable(Of Long) = Nothing, Optional value As IEnumerable(Of GraphQueryRow) = Nothing, Optional statistics As GraphQueryStatistics = Nothing, Optional diagnostics As IEnumerable(Of GraphQueryDiagnostic) = Nothing, Optional explain As GraphQueryExplain = Nothing, Optional provenanceDocuments As GraphQueryProvenanceDocuments = Nothing) As GraphQueryResult
Parameters
Number of projected rows in this response, not the size of an unbounded graph population.
- value
- IEnumerable<GraphQueryRow>
Query projection rows. planOnly returns an empty collection.
- statistics
- GraphQueryStatistics
Execution statistics, when requested and available.
- diagnostics
- IEnumerable<GraphQueryDiagnostic>
Structured errors, warnings, and requested informational diagnostics.
- explain
- GraphQueryExplain
Requested diagnostic stages. Absent stages are omitted.
- provenanceDocuments
- GraphQueryProvenanceDocuments
Hydrated source documents keyed by document ID, shared across result rows.
Returns
A new GraphQueryResult instance for mocking.