public final class DenseMatrixSerializer extends org.apache.flink.api.common.typeutils.base.TypeSerializerSingleton<DenseMatrix>
DenseMatrix
.Modifier and Type | Class and Description |
---|---|
static class |
DenseMatrixSerializer.DenseMatrixSerializerSnapshot
Serializer configuration snapshot for compatibility and format evolution.
|
Modifier and Type | Field and Description |
---|---|
static DenseMatrixSerializer |
INSTANCE |
Constructor and Description |
---|
DenseMatrixSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target) |
DenseMatrix |
copy(DenseMatrix from) |
DenseMatrix |
copy(DenseMatrix from,
DenseMatrix reuse) |
DenseMatrix |
createInstance() |
DenseMatrix |
deserialize(org.apache.flink.core.memory.DataInputView source) |
DenseMatrix |
deserialize(DenseMatrix reuse,
org.apache.flink.core.memory.DataInputView source) |
int |
getLength() |
boolean |
isImmutableType() |
void |
serialize(DenseMatrix matrix,
org.apache.flink.core.memory.DataOutputView target) |
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<DenseMatrix> |
snapshotConfiguration() |
public static final DenseMatrixSerializer INSTANCE
public boolean isImmutableType()
isImmutableType
in class org.apache.flink.api.common.typeutils.TypeSerializer<DenseMatrix>
public DenseMatrix createInstance()
createInstance
in class org.apache.flink.api.common.typeutils.TypeSerializer<DenseMatrix>
public DenseMatrix copy(DenseMatrix from)
copy
in class org.apache.flink.api.common.typeutils.TypeSerializer<DenseMatrix>
public DenseMatrix copy(DenseMatrix from, DenseMatrix reuse)
copy
in class org.apache.flink.api.common.typeutils.TypeSerializer<DenseMatrix>
public int getLength()
getLength
in class org.apache.flink.api.common.typeutils.TypeSerializer<DenseMatrix>
public void serialize(DenseMatrix matrix, org.apache.flink.core.memory.DataOutputView target) throws IOException
serialize
in class org.apache.flink.api.common.typeutils.TypeSerializer<DenseMatrix>
IOException
public DenseMatrix deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize
in class org.apache.flink.api.common.typeutils.TypeSerializer<DenseMatrix>
IOException
public DenseMatrix deserialize(DenseMatrix reuse, org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize
in class org.apache.flink.api.common.typeutils.TypeSerializer<DenseMatrix>
IOException
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<DenseMatrix>
IOException
public org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<DenseMatrix> snapshotConfiguration()
snapshotConfiguration
in class org.apache.flink.api.common.typeutils.TypeSerializer<DenseMatrix>
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.