| Package | Description |
|---|---|
| com.datastax.oss.driver.api.core.type.codec |
| Modifier and Type | Field and Description |
|---|---|
static PrimitiveLongCodec |
TypeCodecs.BIGINT
The default codec that maps CQL type
bigint to Java's long. |
static PrimitiveLongCodec |
TypeCodecs.COUNTER
The default codec that maps CQL type
counter to Java's long. |
static PrimitiveLongCodec |
ExtraTypeCodecs.TIMESTAMP_MILLIS_SYSTEM
A codec that maps CQL type
timestamp to Java's long, representing the number of
milliseconds since the Epoch, using the system's default time zone to parse and format CQL
literals. |
static PrimitiveLongCodec |
ExtraTypeCodecs.TIMESTAMP_MILLIS_UTC
A codec that maps CQL type
timestamp to Java's long, representing the number of
milliseconds since the Epoch, using the UTC time zone to parse and format CQL literals. |
| Modifier and Type | Method and Description |
|---|---|
static PrimitiveLongCodec |
ExtraTypeCodecs.timestampMillisAt(ZoneId timeZone)
Builds a new codec that maps CQL type
timestamp to Java's long, representing
the number of milliseconds since the Epoch, using the given time zone to parse and format CQL
literals. |
Copyright © 2017–2021. All rights reserved.