get_value_type


Description:

public SparqlValueType get_value_type (int column)

Returns the data type bound to the current row and the given column.

If the column is unbound, the value will be tracker_sparql_value_type_unbound. See also [ method@SparqlCursor.is_bound].

Values of type TRACKER_SPARQL_VALUE_TYPE_RESOURCE and BLANK_NODE can be considered equivalent, the difference is the resource being referenced as a named IRI or a blank node.

All other [enum@SparqlValueType] value types refer to literal values.

Parameters:

this

a `TrackerSparqlCursor`

column

column number to retrieve (first one is 0)

Returns:

a [enum@SparqlValueType] expressing the content type of the given column for the current row.