public class InternalRowTypeSerializer extends InternalTypeSerializer<InternalRow>
InternalRow
.Constructor and Description |
---|
InternalRowTypeSerializer(DataType... types) |
InternalRowTypeSerializer(RowType rowType) |
Modifier and Type | Method and Description |
---|---|
void |
copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target) |
InternalRow |
copy(InternalRow from) |
InternalRow |
copy(InternalRow from,
InternalRow reuse) |
InternalRow |
createInstance() |
InternalRow |
deserialize(org.apache.flink.core.memory.DataInputView source) |
InternalRow |
deserialize(InternalRow reuse,
org.apache.flink.core.memory.DataInputView source) |
org.apache.flink.api.common.typeutils.TypeSerializer<InternalRow> |
duplicate() |
boolean |
equals(Object o) |
int |
hashCode() |
void |
serialize(InternalRow record,
org.apache.flink.core.memory.DataOutputView target) |
getLength, isImmutableType, snapshotConfiguration
public InternalRowTypeSerializer(RowType rowType)
public InternalRowTypeSerializer(DataType... types)
public org.apache.flink.api.common.typeutils.TypeSerializer<InternalRow> duplicate()
duplicate
in class org.apache.flink.api.common.typeutils.TypeSerializer<InternalRow>
public InternalRow createInstance()
createInstance
in class org.apache.flink.api.common.typeutils.TypeSerializer<InternalRow>
public InternalRow copy(InternalRow from)
copy
in class org.apache.flink.api.common.typeutils.TypeSerializer<InternalRow>
public InternalRow copy(InternalRow from, InternalRow reuse)
copy
in class InternalTypeSerializer<InternalRow>
public void serialize(InternalRow record, org.apache.flink.core.memory.DataOutputView target) throws IOException
serialize
in class org.apache.flink.api.common.typeutils.TypeSerializer<InternalRow>
IOException
public InternalRow deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize
in class org.apache.flink.api.common.typeutils.TypeSerializer<InternalRow>
IOException
public InternalRow deserialize(InternalRow reuse, org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize
in class InternalTypeSerializer<InternalRow>
IOException
public void copy(org.apache.flink.core.memory.DataInputView source, org.apache.flink.core.memory.DataOutputView target) throws IOException
copy
in class InternalTypeSerializer<InternalRow>
IOException
public boolean equals(Object o)
equals
in class org.apache.flink.api.common.typeutils.TypeSerializer<InternalRow>
public int hashCode()
hashCode
in class org.apache.flink.api.common.typeutils.TypeSerializer<InternalRow>
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.