IN
- the element type.BucketID
- the bucket id type.public abstract class AbstractPartFileWriter<IN,BucketID> extends Object implements InProgressFileWriter<IN,BucketID>
Bucket
.InProgressFileWriter.InProgressFileRecoverable, InProgressFileWriter.PendingFileRecoverable
CompactingFileWriter.Type
Constructor and Description |
---|
AbstractPartFileWriter(BucketID bucketID,
long createTime) |
Modifier and Type | Method and Description |
---|---|
BucketID |
getBucketId() |
long |
getCreationTime() |
long |
getLastUpdateTime() |
protected void |
markWrite(long now) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeForCommit, dispose, persist, write, write
getSize
public AbstractPartFileWriter(BucketID bucketID, long createTime)
public BucketID getBucketId()
getBucketId
in interface PartFileInfo<BucketID>
BucketAssigner.getBucketId(Object, BucketAssigner.Context)
.public long getCreationTime()
getCreationTime
in interface PartFileInfo<BucketID>
public long getLastUpdateTime()
getLastUpdateTime
in interface PartFileInfo<BucketID>
protected void markWrite(long now)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.