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