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
TThe 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
nextPageStatestringThe page state token for fetching the next page, or null if this is the last page.
resultList<T>The records in this page.
sortVectorfloat[]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
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[]