Table of Contents

Class FindPage<T>

Namespace
DataStax.AstraDB.DataApi.Core.Enumeration
Assembly
DataStax.AstraDB.DataApi.dll

Represents a page of results from a find operation.

public class FindPage<T>

Type Parameters

T

The type of records in the page.

Inheritance
FindPage<T>
Inherited Members

Constructors

FindPage(string, List<T>, float[])

Initializes a new instance of the FindPage<T> class.

public FindPage(string nextPageState, List<T> result, float[] sortVector)

Parameters

nextPageState string

The page state token for fetching the next page, or null if this is the last page.

result List<T>

The records in this page.

sortVector float[]

The sort vector used for vector similarity searches, if applicable.

Properties

NextPageState

Gets the page state token for fetching the next page, or null if this is the last page.

public string NextPageState { get; }

Property Value

string

Results

Gets the list of records in this page.

public List<T> Results { get; }

Property Value

List<T>

SortVector

Gets the sort vector used for vector similarity searches, if applicable.

public float[] SortVector { get; }

Property Value

float[]