ScyllaDB University Live | Free Virtual Training Event
Learn more
ScyllaDB Documentation Logo Documentation
  • Server
  • Cloud
  • Tools
    • ScyllaDB Manager
    • ScyllaDB Monitoring Stack
    • ScyllaDB Operator
  • Drivers
    • CQL Drivers
    • DynamoDB Drivers
  • Resources
    • ScyllaDB University
    • Community Forum
    • Tutorials
Download
ScyllaDB Docs Scylla C/C++ Driver API Documentation CassRow

CassRow¶

struct CassRow¶

A collection of column values.

Public Functions

CassIterator *cass_iterator_from_row(const CassRow *row)¶

Creates a new iterator for the specified row. This can be used to iterate over columns in a row.

See also

cass_iterator_free()

Parameters:

row – [in]

Returns:

A new iterator that must be freed.

const CassValue *cass_row_get_column(const CassRow *row, size_t index)¶

Get the column value at index for the specified row.

Parameters:
  • row – [in]

  • index – [in]

Returns:

The column value at the specified index. NULL is returned if the index is out of bounds.

const CassValue *cass_row_get_column_by_name(const CassRow *row, const char *name)¶

Get the column value by name for the specified row.

Parameters:
  • row – [in]

  • name – [in]

Returns:

The column value for the specified name. NULL is returned if the column does not exist.

const CassValue *cass_row_get_column_by_name_n(const CassRow *row, const char *name, size_t name_length)¶

Same as cass_row_get_column_by_name(), but with lengths for string parameters.

See also

cass_row_get_column_by_name()

Parameters:
  • row – [in]

  • name – [in]

  • name_length – [in]

Returns:

same as cass_row_get_column_by_name()

Was this page helpful?

PREVIOUS
CassRetryPolicy
NEXT
CassSchemaMeta
  • Create an issue
  • Edit this page

On this page

  • CassRow
    • CassRow
      • CassRow::cass_iterator_from_row()
      • CassRow::cass_row_get_column()
      • CassRow::cass_row_get_column_by_name()
      • CassRow::cass_row_get_column_by_name_n()
Scylla C/C++ Driver
  • master
    • master
  • C/C++ Driver for ScyllaDB
  • API Documentation
    • CassAggregateMeta
    • CassAuthenticator
    • CassAuthenticatorCallbacks
    • CassBatch
    • CassCluster
    • CassCollection
    • CassColumnMeta
    • CassCustomPayload
    • CassDataType
    • CassErrorResult
    • CassExecProfile
    • CassFunctionMeta
    • CassFuture
    • CassIndexMeta
    • CassInet
    • CassIterator
    • CassKeyspaceMeta
    • CassLogMessage
    • CassMaterializedViewMeta
    • CassMetrics
    • CassNode
    • CassPrepared
    • CassResult
    • CassRetryPolicy
    • CassRow
    • CassSchemaMeta
    • CassSession
    • CassSpeculativeExecutionMetrics
    • CassSsl
    • CassStatement
    • CassTableMeta
    • CassTimestampGen
    • CassTuple
    • CassUserType
    • CassUuid
    • CassUuidGen
    • CassValue
    • CassVersion
    • DseDateRange
    • DseDateRangeBound
    • DseLineString
    • DseLineStringIterator
    • DsePolygon
    • DsePolygonIterator
  • Features
    • Basics
      • Batches
      • Binding Parameters
      • Client-side timestamps
      • Consistency
      • Data Types
      • The date and time Types
      • Futures
      • Handling Results
      • Keyspaces
      • Prepared Statements
      • Schema Metadata
      • Tuples
      • User-Defined Types (UDTs)
      • UUIDs
    • Building
    • Client Configuration
    • Cloud
    • Configuration
      • Retry policies
    • Execution Profiles
    • FAQ
    • Installation
    • Logging
    • Metrics
    • Scylla Specific Features
    • Security
      • SSL
    • Testing
      • Cassandra Cluster Manager (CCM)
    • Tracing
  • DSE Features
    • Authentication
    • Geospatial types
Docs Tutorials University Contact Us About Us
© 2025, ScyllaDB. All rights reserved. | Terms of Service | Privacy Policy | ScyllaDB, and ScyllaDB Cloud, are registered trademarks of ScyllaDB, Inc.
Last updated on 28 April 2025.
Powered by Sphinx 7.4.7 & ScyllaDB Theme 1.8.6