Add a new capability for non streaming order by in QueryFeatures and add a new flag to QueryInfo that will be used by ServiceInterop to indicate non streaming order by queries (#4446)
This commit is contained in:
Родитель
400abfd518
Коммит
85a8444b84
|
@ -27,6 +27,7 @@ namespace Microsoft.Azure.Cosmos.Query.Core.QueryPlan
|
|||
OrderBy = 1 << 7,
|
||||
Top = 1 << 8,
|
||||
NonValueAggregate = 1 << 9,
|
||||
DCount = 1 << 10
|
||||
DCount = 1 << 10,
|
||||
NonStreamingOrderBy = 1 << 11,
|
||||
}
|
||||
}
|
|
@ -107,6 +107,13 @@ namespace Microsoft.Azure.Cosmos.Query.Core.QueryPlan
|
|||
set;
|
||||
}
|
||||
|
||||
[JsonProperty("hasNonStreamingOrderBy")]
|
||||
public bool HasNonStreamingOrderBy
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
public bool HasDCount => this.DCountInfo != null;
|
||||
|
||||
public bool HasDistinct => this.DistinctType != DistinctQueryType.None;
|
||||
|
|
Загрузка…
Ссылка в новой задаче