public class DateLexicoder extends org.apache.accumulo.core.client.lexicoder.impl.AbstractLexicoder<Date>
Constructor and Description |
---|
DateLexicoder() |
Modifier and Type | Method and Description |
---|---|
Date |
decode(byte[] b) |
protected Date |
decodeUnchecked(byte[] data,
int offset,
int len)
Decodes a byte array without checking if the offset and len exceed the bounds of the actual array.
|
byte[] |
encode(Date data) |
decode
public byte[] encode(Date data)
public Date decode(byte[] b)
decode
in interface org.apache.accumulo.core.iterators.TypedValueCombiner.Encoder<Date>
decode
in class AbstractEncoder<Date>
protected Date decodeUnchecked(byte[] data, int offset, int len)
AbstractEncoder
decodeUnchecked
in class AbstractEncoder<Date>
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.