public abstract class TupleSerializerBase<T>
extends org.apache.flink.api.common.typeutils.TypeSerializer<T>
| Modifier and Type | Field and Description |
|---|---|
protected int |
arity |
protected org.apache.flink.api.common.typeutils.TypeSerializer<Object>[] |
fieldSerializers |
protected Class<T> |
tupleClass |
| Constructor and Description |
|---|
TupleSerializerBase(Class<T> tupleClass,
org.apache.flink.api.common.typeutils.TypeSerializer<?>[] fieldSerializers) |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target) |
abstract T |
createInstance(Object[] fields) |
boolean |
equals(Object obj) |
int |
getArity() |
int |
getLength() |
Class<T> |
getTupleClass() |
int |
hashCode() |
boolean |
isImmutableType() |
protected org.apache.flink.api.common.typeutils.TypeSerializer<Object>[] fieldSerializers
protected final int arity
public boolean isImmutableType()
isImmutableType in class org.apache.flink.api.common.typeutils.TypeSerializer<T>public int getLength()
getLength in class org.apache.flink.api.common.typeutils.TypeSerializer<T>public int getArity()
public void copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target)
throws IOException
copy in class org.apache.flink.api.common.typeutils.TypeSerializer<T>IOExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.