Interface IScrollEngine<T>

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

Engine for scrolling.

Namespace: Stylelabs.M.Sdk.Contracts.Querying
Assembly: Stylelabs.M.Sdk.dll
Syntax
public interface IScrollEngine<T>
    where T : class, IScrollResult
Type Parameters
NameDescription
T

Methods

ContinueScrollAsync(String, TimeSpan, IQueryLoadConfiguration, Int64)

Continues scrolling though an existing scroll.

Declaration
Task<T> ContinueScrollAsync(string scrollId, TimeSpan scrollTime, IQueryLoadConfiguration loadConfiguration, long offset)
Parameters
TypeNameDescription
System.StringscrollId

Id of the scroll.

TimeSpanscrollTime

The time to keep the scroll alive between requests.

IQueryLoadConfigurationloadConfiguration
System.Int64offset

The current offset.

Returns
TypeDescription
Task<T>

The scroll result

StartScrollAsync(Query, IQueryLoadConfiguration)

Does the initial setup of the scroll and returns the first batch.

Declaration
Task<T> StartScrollAsync(Query query, IQueryLoadConfiguration queryLoadConfiguration)
Parameters
TypeNameDescription
Queryquery

The query used for scrolling.

IQueryLoadConfigurationqueryLoadConfiguration

The load configuration.

Returns
TypeDescription
Task<T>

The scroll result

この記事を改善するための提案がある場合は、 お知らせください!