public final class RecordSerializer extends TypeSerializer<Record>
Record.| Modifier and Type | Method and Description |
|---|---|
void |
copy(DataInputView source,
DataOutputView target) |
Record |
copy(Record from,
Record reuse) |
Record |
createInstance() |
Record |
deserialize(Record target,
DataInputView source) |
static RecordSerializer |
get() |
int |
getLength() |
boolean |
isImmutableType() |
boolean |
isStateful() |
void |
serialize(Record record,
DataOutputView target) |
equals, hashCodepublic static final RecordSerializer get()
public boolean isImmutableType()
isImmutableType in class TypeSerializer<Record>public boolean isStateful()
isStateful in class TypeSerializer<Record>public Record createInstance()
createInstance in class TypeSerializer<Record>public Record copy(Record from, Record reuse)
copy in class TypeSerializer<Record>public int getLength()
getLength in class TypeSerializer<Record>public void serialize(Record record, DataOutputView target) throws IOException
serialize in class TypeSerializer<Record>IOExceptionpublic Record deserialize(Record target, DataInputView source) throws IOException
deserialize in class TypeSerializer<Record>IOExceptionpublic void copy(DataInputView source, DataOutputView target) throws IOException
copy in class TypeSerializer<Record>IOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.