K
- type of the column key or namepublic static final class DateColumn.DateColumnDecoder<K extends Serializable & Comparable<K>> extends Object implements ColumnDecoder<K,Date>
Modifier and Type | Method and Description |
---|---|
Column<K,Date> |
decode(com.netflix.astyanax.model.Column<K> code)
Decodes a code to reconstruct the original entity.
|
static <K extends Serializable & Comparable<K>> |
getInstance()
Returns the single instance of this class.
|
public static <K extends Serializable & Comparable<K>> ColumnDecoder<K,Date> getInstance()
public Column<K,Date> decode(com.netflix.astyanax.model.Column<K> code) throws IllegalArgumentException
Decoder
decode
in interface Decoder<Column<K extends Serializable & Comparable<K>,Date>,com.netflix.astyanax.model.Column<K extends Serializable & Comparable<K>>>
code
- code representing an entity.IllegalArgumentException
- if code
does not have the appropriate format.Copyright © 2015. All Rights Reserved.