public final class DoubleSerializer extends TypeSerializerSingleton<Double>
Double.| Modifier and Type | Class and Description |
|---|---|
static class |
DoubleSerializer.DoubleSerializerSnapshot
Serializer configuration snapshot for compatibility and format evolution.
|
| Modifier and Type | Field and Description |
|---|---|
static DoubleSerializer |
INSTANCE
Sharable instance of the DoubleSerializer.
|
| Constructor and Description |
|---|
DoubleSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target) |
Double |
copy(Double from) |
Double |
copy(Double from,
Double reuse) |
Double |
createInstance() |
Double |
deserialize(org.apache.flink.core.memory.DataInputView source) |
Double |
deserialize(Double reuse,
org.apache.flink.core.memory.DataInputView source) |
int |
getLength() |
boolean |
isImmutableType() |
void |
serialize(Double record,
org.apache.flink.core.memory.DataOutputView target) |
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Double> |
snapshotConfiguration() |
duplicate, equals, hashCodepublic static final DoubleSerializer INSTANCE
public boolean isImmutableType()
isImmutableType in class org.apache.flink.api.common.typeutils.TypeSerializer<Double>public Double createInstance()
createInstance in class org.apache.flink.api.common.typeutils.TypeSerializer<Double>public Double copy(Double from)
copy in class org.apache.flink.api.common.typeutils.TypeSerializer<Double>public Double copy(Double from, Double reuse)
copy in class org.apache.flink.api.common.typeutils.TypeSerializer<Double>public int getLength()
getLength in class org.apache.flink.api.common.typeutils.TypeSerializer<Double>public void serialize(Double record, org.apache.flink.core.memory.DataOutputView target) throws IOException
serialize in class org.apache.flink.api.common.typeutils.TypeSerializer<Double>IOExceptionpublic Double deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize in class org.apache.flink.api.common.typeutils.TypeSerializer<Double>IOExceptionpublic Double deserialize(Double reuse, org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize in class org.apache.flink.api.common.typeutils.TypeSerializer<Double>IOExceptionpublic 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<Double>IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.