KiiCloudStorageSDK : KiiCorp.Cloud.Storage Namespace

KiiQueryResult<T> Generic Class

Contains the result from Cloud query operation.

Syntax

public class KiiQueryResult<T> : List<T>

Type Parameters

T
Must be KiiCorp.Cloud.Storage.KiiObject

Remarks

If there are many items in the result, KiiCloud will return a part of them. So please call KiiQueryResult.GetNextQueryResult() to get the rest of results.

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

Members

See Also: Inherited members from List<T>.

Public Properties

[read-only]
HasNext bool . Gets a value whether there are more results.
[read-only]
NextKiiQuery KiiQuery . Gets the next kii query.

Public Methods

GetNextQueryResult () : KiiQueryResult<T>
Fetches the query result of next page
GetNextQueryResult (KiiQueryCallback<T>)
Fetches the query result of next page

Member Details

GetNextQueryResult Method

Fetches the query result of next page

Syntax

public KiiQueryResult<T> GetNextQueryResult ()

Returns

The next query result.

Exceptions

Type Reason
InvalidOperationException Is thrown when an operation cannot be performed.
SystemException SystemException is the base class for all exceptions defined by the system.

Remarks

Same as calling KiiBucket.Query(KiiQuery) with NextKiiQuery

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

GetNextQueryResult Method

Fetches the query result of next page

Syntax

public void GetNextQueryResult (KiiQueryCallback<T> callback)

Parameters

callback
Callback.

Returns

The next query result.

Remarks

Same as calling KiiBucket.Query(KiiQuery) with NextKiiQuery

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

HasNext Property

Gets a value whether there are more results.

Syntax

public bool HasNext { get; }

Value

true if there are many results of query; otherwise, false.

Remarks

If developers cannot estimate the number of results, they can use this property.

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0

NextKiiQuery Property

Gets the next kii query.

Syntax

public KiiQuery NextKiiQuery { get; }

Value

KiiCorp.Cloud.Storage.KiiQuery if there are many results ; otherwise null.

Remarks

Requirements

Namespace: KiiCorp.Cloud.Storage
Assembly: KiiCloudStorageSDK (in KiiCloudStorageSDK.dll)
Assembly Versions: 3.2.10.0