C/C++ DataStax Enterprise Driver

Macros

DSE_EXPORT

= CASS_EXPORT

DSE_VERSION_MAJOR

= CASS_VERSION_MAJOR

DSE_VERSION_MINOR

= CASS_VERSION_MINOR

DSE_VERSION_PATCH

= CASS_VERSION_PATCH

DSE_VERSION_SUFFIX

= CASS_VERSION_SUFFIX

Types

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

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.