@Internal public class WriterProperties extends Object
BucketWriter
.Constructor and Description |
---|
WriterProperties(SimpleVersionedSerializer<InProgressFileWriter.InProgressFileRecoverable> inProgressFileRecoverableSerializer,
SimpleVersionedSerializer<InProgressFileWriter.PendingFileRecoverable> pendingFileRecoverableSerializer,
boolean supportsResume) |
Modifier and Type | Method and Description |
---|---|
SimpleVersionedSerializer<InProgressFileWriter.InProgressFileRecoverable> |
getInProgressFileRecoverableSerializer() |
SimpleVersionedSerializer<InProgressFileWriter.PendingFileRecoverable> |
getPendingFileRecoverableSerializer() |
boolean |
supportsResume() |
public WriterProperties(SimpleVersionedSerializer<InProgressFileWriter.InProgressFileRecoverable> inProgressFileRecoverableSerializer, SimpleVersionedSerializer<InProgressFileWriter.PendingFileRecoverable> pendingFileRecoverableSerializer, boolean supportsResume)
public boolean supportsResume()
BucketWriter
support appending data to the restored the
in-progress file or not.public SimpleVersionedSerializer<InProgressFileWriter.PendingFileRecoverable> getPendingFileRecoverableSerializer()
InProgressFileWriter.PendingFileRecoverable
.public SimpleVersionedSerializer<InProgressFileWriter.InProgressFileRecoverable> getInProgressFileRecoverableSerializer()
InProgressFileWriter.InProgressFileRecoverable
.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.