public abstract static class SummingArrayCombiner.DOSArrayEncoder<V> extends AbstractLexicoder<List<V>>
Constructor and Description |
---|
DOSArrayEncoder() |
Modifier and Type | Method and Description |
---|---|
List<V> |
decode(byte[] b) |
protected List<V> |
decodeUnchecked(byte[] b,
int offset,
int origLen)
Decodes a byte array without checking if the offset and len exceed the bounds of the actual
array.
|
byte[] |
encode(List<V> vl) |
abstract V |
read(DataInputStream dis) |
abstract void |
write(DataOutputStream dos,
V v) |
decode
public abstract void write(DataOutputStream dos, V v) throws IOException
IOException
public abstract V read(DataInputStream dis) throws IOException
IOException
public List<V> decode(byte[] b)
decode
in interface TypedValueCombiner.Encoder<List<V>>
decode
in class AbstractEncoder<List<V>>
protected List<V> decodeUnchecked(byte[] b, int offset, int origLen)
AbstractEncoder
decodeUnchecked
in class AbstractEncoder<List<V>>
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.