Class SummingArrayCombiner.DOSArrayEncoder<V>
- java.lang.Object
-
- org.apache.accumulo.core.client.lexicoder.AbstractEncoder<T>
-
- org.apache.accumulo.core.client.lexicoder.impl.AbstractLexicoder<List<V>>
-
- org.apache.accumulo.core.iterators.user.SummingArrayCombiner.DOSArrayEncoder<V>
-
- All Implemented Interfaces:
Encoder<List<V>>
,Lexicoder<List<V>>
,TypedValueCombiner.Encoder<List<V>>
- Direct Known Subclasses:
SummingArrayCombiner.FixedLongArrayEncoder
,SummingArrayCombiner.VarLongArrayEncoder
- Enclosing class:
- SummingArrayCombiner
public abstract static class SummingArrayCombiner.DOSArrayEncoder<V> extends AbstractLexicoder<List<V>>
-
-
Constructor Summary
Constructors Constructor Description DOSArrayEncoder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.apache.accumulo.core.client.lexicoder.AbstractEncoder
decode
-
-
-
-
Method Detail
-
write
public abstract void write(DataOutputStream dos, V v) throws IOException
- Throws:
IOException
-
read
public abstract V read(DataInputStream dis) throws IOException
- Throws:
IOException
-
decode
public List<V> decode(byte[] b)
- Specified by:
decode
in interfaceTypedValueCombiner.Encoder<V>
- Overrides:
decode
in classAbstractEncoder<List<V>>
-
decodeUnchecked
protected List<V> decodeUnchecked(byte[] b, int offset, int origLen)
Description copied from class:AbstractEncoder
Decodes a byte array without checking if the offset and len exceed the bounds of the actual array.- Specified by:
decodeUnchecked
in classAbstractEncoder<List<V>>
-
-