public static class SummingArrayCombiner.StringArrayEncoder extends AbstractEncoder<List<Long>> implements TypedValueCombiner.Encoder<List<Long>>
Constructor and Description |
---|
SummingArrayCombiner.StringArrayEncoder() |
Modifier and Type | Method and Description |
---|---|
List<Long> |
decode(byte[] b) |
protected List<Long> |
decodeUnchecked(byte[] b,
int offset,
int len)
Decodes a byte array without checking if the offset and len exceed the bounds of the actual array.
|
byte[] |
encode(List<Long> la) |
decode
public SummingArrayCombiner.StringArrayEncoder()
public byte[] encode(List<Long> la)
encode
in interface TypedValueCombiner.Encoder<List<Long>>
public List<Long> decode(byte[] b)
decode
in interface TypedValueCombiner.Encoder<List<Long>>
decode
in class AbstractEncoder<List<Long>>
protected List<Long> decodeUnchecked(byte[] b, int offset, int len)
AbstractEncoder
decodeUnchecked
in class AbstractEncoder<List<Long>>
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.