public class HashFileWriter extends Object implements HashConsumer
HashConsumer.ExecutionStatus| Constructor and Description |
|---|
HashFileWriter(String filename) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeEntry(String genericName,
boolean nonDeterministic) |
boolean |
consumeRow(long row,
Hasher hasher) |
void |
consumeValue(long row,
Column c,
byte[] bytes,
Hasher h) |
void |
consumeValueHeader(long row) |
HashFile |
getHashFile() |
HashConsumer.ExecutionStatus |
getStatus() |
public HashFileWriter(String filename)
public void consumeValueHeader(long row)
consumeValueHeader in interface HashConsumerpublic void consumeValue(long row,
Column c,
byte[] bytes,
Hasher h)
throws CloneNotSupportedException
consumeValue in interface HashConsumerCloneNotSupportedExceptionpublic boolean consumeRow(long row,
Hasher hasher)
throws IOException
consumeRow in interface HashConsumerIOExceptionpublic HashFile getHashFile()
public void closeEntry(String genericName, boolean nonDeterministic) throws InvalidHashFileException
closeEntry in interface HashConsumerInvalidHashFileExceptionpublic void close()
throws Exception
close in interface AutoCloseableExceptionpublic HashConsumer.ExecutionStatus getStatus()
getStatus in interface HashConsumerCopyright © 2025. All rights reserved.