class Rows
Cassandra\Rows
represent a result of statement execution.
Implements
Iterator
ArrayAccess
Methods
__construct
( )int
count
( )Returns the number of rows.
void
rewind
( )Resets the rows iterator.
array
current
( )Returns current row.
int
key
( )Returns current index.
void
next
( )Advances the rows iterator by one.
bool
valid
( )Returns existence of more rows being available.
bool
offsetExists
(int
$offset )
Returns existence of a given row.
array null
offsetGet
(int
$offset )
Returns a row at given index.
void
offsetSet
(int
$offset, array
$value )
Sets a row at given index.
void
offsetUnset
(int
$offset )
Removes a row at given index.
bool
isLastPage
( )Check for the last page when paging.
Get the next page of results.
Cassandra\Future
nextPageAsync
( )Get the next page of results asynchronously.
string
pagingStateToken
( )Returns the raw paging state token.
array null
first
( )Get the first row.