public interface AccessibleById extends AccessibleByIndex
In the driver, these data structures are always accessible by index as well.
| Modifier and Type | Method and Description |
|---|---|
int |
firstIndexOf(CqlIdentifier id)
Returns the first index where a given identifier appears (depending on the implementation,
identifiers may appear multiple times).
|
DataType |
getType(CqlIdentifier id)
Returns the CQL type of the value for the first occurrence of
id. |
getType, sizecodecRegistry, protocolVersionint firstIndexOf(@NonNull
CqlIdentifier id)
IllegalArgumentException - if the id is invalid.@NonNull DataType getType(@NonNull CqlIdentifier id)
id.
If you want to avoid the overhead of building a CqlIdentifier, use the variant of
this method that takes a string argument.
IllegalArgumentException - if the id is invalid.Copyright © 2017–2025. All rights reserved.