| 1 | /* |
| 2 | * Copyright (C) 2012-2015 DataStax Inc. |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | /** |
| 18 | * This package and its subpackages contain several convenience {@link com.datastax.driver.core.TypeCodec TypeCodec}s. |
| 19 | * <p/> |
| 20 | * <table summary="Supported Mappings"> |
| 21 | * <tr> |
| 22 | * <th>Package</th> |
| 23 | * <th>Description</th> |
| 24 | * </tr> |
| 25 | * <tr> |
| 26 | * <td>{@link com.datastax.driver.extras.codecs.arrays}</td> |
| 27 | * <td>codecs mapping CQL lists to Java arrays.</td> |
| 28 | * </tr> |
| 29 | * <tr> |
| 30 | * <td>{@link com.datastax.driver.extras.codecs.date}</td> |
| 31 | * <td>codecs mapping CQL temporal types to Java primitive types.</td> |
| 32 | * </tr> |
| 33 | * <tr> |
| 34 | * <td>{@link com.datastax.driver.extras.codecs.enums}</td> |
| 35 | * <td>codecs mapping CQL types to Java enums.</td> |
| 36 | * </tr> |
| 37 | * <tr> |
| 38 | * <td>{@link com.datastax.driver.extras.codecs.guava}</td> |
| 39 | * <td>codecs mapping CQL types to Guava-specific Java types.</td> |
| 40 | * </tr> |
| 41 | * <tr> |
| 42 | * <td>{@link com.datastax.driver.extras.codecs.jdk8}</td> |
| 43 | * <td>codecs mapping CQL types to Java 8 types, including {@code java.time} API and {@code java.util.Optional}.</td> |
| 44 | * </tr> |
| 45 | * <tr> |
| 46 | * <td>{@link com.datastax.driver.extras.codecs.joda}</td> |
| 47 | * <td>codecs mapping CQL types to Joda Time types.</td> |
| 48 | * </tr> |
| 49 | * <tr> |
| 50 | * <td>{@link com.datastax.driver.extras.codecs.json}</td> |
| 51 | * <td>codecs mapping CQL varchars to JSON structures.</td> |
| 52 | * </tr> |
| 53 | * </table> |
| 54 | */ |
| 55 | package com.datastax.driver.extras.codecs; |