Column metadata

Functions

void

cass_column_meta_name

( column_meta, name, name_length )

Gets the name of the column.

Parameters:
Name Type Details
in column_meta
out name
out name_length
CassColumnType

cass_column_meta_type

( column_meta )

Gets the type of the column.

Parameters:
Name Type Details
in column_meta
Returns:
Type Details
CassColumnType

The column’s type.

const CassDataType *

cass_column_meta_data_type

( column_meta )

Gets the data type of the column.

Parameters:
Name Type Details
in column_meta
Returns:
Type Details
const CassDataType *

The column’s data type.

const CassValue *

cass_column_meta_field_by_name

( column_meta, name )

Gets a metadata field for the provided name. Metadata fields allow direct access to the column data found in the underlying “columns” metadata table.

Parameters:
Name Type Details
in column_meta
in name
Returns:
Type Details
const CassValue *

A metadata field value. NULL if the field does not exist.

const CassValue *

cass_column_meta_field_by_name_n

( column_meta, name, name_length )

Same as CassColumnMeta::cass_column_meta_field_by_name, but with lengths for string parameters.

Parameters:
Name Type Details
in column_meta
in name
in name_length
Returns:
Type Details
const CassValue *

same as CassColumnMeta::cass_column_meta_field_by_name

See Also:
CassIterator *

cass_iterator_fields_from_column_meta

( column_meta )

Creates a new fields iterator for the specified column metadata. Metadata fields allow direct access to the column data found in the underlying “columns” metadata table. This can be used to iterate those metadata field entries.

Parameters:
Name Type Details
in column_meta
Returns:
Type Details
CassIterator *

A new iterator that must be freed.

See Also:
CassIterator *

cass_iterator_fields_from_function_meta

( function_meta )

Creates a new fields iterator for the specified function metadata. Metadata fields allow direct access to the column data found in the underlying “functions” metadata table. This can be used to iterate those metadata field entries.

Parameters:
Name Type Details
in function_meta
Returns:
Type Details
CassIterator *

A new iterator that must be freed.

See Also:
CassIterator *

cass_iterator_fields_from_aggregate_meta

( aggregate_meta )

Creates a new fields iterator for the specified aggregate metadata. Metadata fields allow direct access to the column data found in the underlying “aggregates” metadata table. This can be used to iterate those metadata field entries.

Parameters:
Name Type Details
in aggregate_meta
Returns:
Type Details
CassIterator *

A new iterator that must be freed.

See Also: