C - The component typepublic class GenericArraySerializer<C> extends TypeSerializer<C[]>
| Constructor and Description |
|---|
GenericArraySerializer(Class<C> componentClass,
TypeSerializer<C> componentSerializer) |
| Modifier and Type | Method and Description |
|---|---|
C[] |
copy(C[] from,
C[] reuse) |
void |
copy(DataInputView source,
DataOutputView target) |
C[] |
createInstance() |
C[] |
deserialize(C[] reuse,
DataInputView source) |
boolean |
equals(Object obj) |
int |
getLength() |
int |
hashCode() |
boolean |
isImmutableType() |
boolean |
isStateful() |
void |
serialize(C[] value,
DataOutputView target) |
public GenericArraySerializer(Class<C> componentClass, TypeSerializer<C> componentSerializer)
public boolean isImmutableType()
isImmutableType in class TypeSerializer<C[]>public boolean isStateful()
isStateful in class TypeSerializer<C[]>public C[] createInstance()
createInstance in class TypeSerializer<C[]>public int getLength()
getLength in class TypeSerializer<C[]>public void serialize(C[] value, DataOutputView target) throws IOException
serialize in class TypeSerializer<C[]>IOExceptionpublic C[] deserialize(C[] reuse, DataInputView source) throws IOException
deserialize in class TypeSerializer<C[]>IOExceptionpublic void copy(DataInputView source, DataOutputView target) throws IOException
copy in class TypeSerializer<C[]>IOExceptionpublic int hashCode()
hashCode in class TypeSerializer<C[]>public boolean equals(Object obj)
equals in class TypeSerializer<C[]>Copyright © 2014 The Apache Software Foundation. All rights reserved.