public class SimpleFileEntrySerializer extends VersionedObjectSerializer<SimpleFileEntry>
VersionedObjectSerializer
for SimpleFileEntry
, only supports reading.rowSerializer
Constructor and Description |
---|
SimpleFileEntrySerializer() |
Modifier and Type | Method and Description |
---|---|
SimpleFileEntry |
convertFrom(int version,
InternalRow row) |
InternalRow |
convertTo(SimpleFileEntry meta) |
int |
getVersion()
Gets the version with which this serializer serializes.
|
fromRow, toRow, versionType
deserialize, deserializeFromBytes, deserializeList, deserializeList, fieldTypes, numFields, serialize, serializeList, serializeList, serializeToBytes
public int getVersion()
VersionedObjectSerializer
getVersion
in class VersionedObjectSerializer<SimpleFileEntry>
public InternalRow convertTo(SimpleFileEntry meta)
convertTo
in class VersionedObjectSerializer<SimpleFileEntry>
public SimpleFileEntry convertFrom(int version, InternalRow row)
convertFrom
in class VersionedObjectSerializer<SimpleFileEntry>
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.