C/C++ DataStax Enterprise Driver

Macros

DSE_VERSION_MAJOR

= 1

DSE_VERSION_MINOR

= 10

DSE_VERSION_PATCH

= 2

DSE_VERSION_SUFFIX

= ""

Types

DseGraphOptions

typedef struct DseGraphOptions_ DseGraphOptions

DseGraphStatement

typedef struct DseGraphStatement_ DseGraphStatement

DseGraphObject

typedef struct DseGraphObject_ DseGraphObject

DseGraphArray

typedef struct DseGraphArray_ DseGraphArray

DseGraphResultSet

typedef struct DseGraphResultSet_ DseGraphResultSet

DseGraphResult

typedef struct DseGraphResult_ DseGraphResult

DseLineString

typedef struct DseLineString_ DseLineString

DseLineStringIterator

typedef struct DseLineStringIterator_ DseLineStringIterator

DsePolygon

typedef struct DsePolygon_ DsePolygon

DsePolygonIterator

typedef struct DsePolygonIterator_ DsePolygonIterator

DseGssapiAuthenticatorLockCallback

typedef void(* DseGssapiAuthenticatorLockCallback) (void *data)

GSSAPI lock callback.

DseGssapiAuthenticatorUnlockCallback

typedef void(* DseGssapiAuthenticatorUnlockCallback) (void *data)

GSSAPI unlock callback.

Enums

DseDateRangePrecision

DSE_DATE_RANGE_PRECISION_UNBOUNDED = 0xFF
DSE_DATE_RANGE_PRECISION_YEAR = 0
DSE_DATE_RANGE_PRECISION_MONTH = 1
DSE_DATE_RANGE_PRECISION_DAY = 2
DSE_DATE_RANGE_PRECISION_HOUR = 3
DSE_DATE_RANGE_PRECISION_MINUTE = 4
DSE_DATE_RANGE_PRECISION_SECOND = 5
DSE_DATE_RANGE_PRECISION_MILLISECOND = 6

DseGraphResultType

DSE_GRAPH_RESULT_TYPE_NULL
DSE_GRAPH_RESULT_TYPE_BOOL
DSE_GRAPH_RESULT_TYPE_NUMBER
DSE_GRAPH_RESULT_TYPE_STRING
DSE_GRAPH_RESULT_TYPE_OBJECT
DSE_GRAPH_RESULT_TYPE_ARRAY

Graph result types

Functions

CassError

dse_point_from_wkt

( const char * wkt, cass_double_t * x, cass_double_t * y )

Parse the WKT representation of a point and extract the x,y coordinates.

Parameters:
Name Type Details
in wkt const char *

WKT representation of the point

out x cass_double_t *
out y cass_double_t *
Returns:
Type Details
CassError

CASS_OK if successful, otherwise error occurred

CassError

dse_point_from_wkt_n

( const char * wkt, size_t wkt_length, cass_double_t * x, cass_double_t * y )

Same as dse_point_from_wkt, but with lengths for string parameters.

Parameters:
Name Type Details
in wkt const char *

WKT representation of the point

in wkt_length size_t

length of the wkt string

out x cass_double_t *
out y cass_double_t *
Returns:
Type Details
CassError

CASS_OK if successful, otherwise error occurred

CassError

dse_gssapi_authenticator_set_lock_callbacks

( DseGssapiAuthenticatorLockCallback lock_callback, DseGssapiAuthenticatorUnlockCallback unlock_callback, void * data )

Set lock callbacks for GSSAPI authentication. This is used to protect Kerberos libraries that are not thread-safe.

Parameters:
Name Type Details
in lock_callback DseGssapiAuthenticatorLockCallback
in unlock_callback DseGssapiAuthenticatorUnlockCallback
in data void *
Returns:
Type Details
CassError

CASS_OK if successful, otherwise an error occurred.