Add getIndex() shortcuts to IndexMetadata

Description

Similar to KeyspaceMetadata.getTable: String and CqlIdentifier variants, returning Optional, implemented as default methods.

Environment

None

Pull Requests

None

Assignee

Unassigned

Reporter

Olivier Michallat

Labels

None

PM Priority

None

Reproduced in

None

Affects versions

None

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Priority

Trivial
Configure