Add duration to GettableData/SettableData interfaces

Description

duration is a native type in protocol v5. As such, it should have its own accessors, like row.getDuration or boundStatement.setDuration.

Environment

None

Pull Requests

None

Activity

Show:
Olivier Michallat
August 1, 2017, 3:37 PM

Added in 4.0.
The name is getCqlDuration to avoid confusion with Java's built-in Duration type (we couldn't reuse it because Cassandra's type behaves differently with regard to daylight savings and month lengths).

Fixed

Assignee

Unassigned

Reporter

Olivier Michallat

Labels

None

PM Priority

None

Affects versions

None

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Epic Link

Priority

Minor
Configure