public class HashLogger extends Object implements HashConsumer
HashConsumer.ExecutionStatus| Constructor and Description |
|---|
HashLogger(String tableName,
long start,
long end) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
consumeRow(long row,
Hasher hasher) |
void |
consumeTable(String genericName,
boolean nonDeterministic,
boolean failed,
long rowCount) |
void |
consumeValue(long row,
Column c,
byte[] bytes,
Hasher h) |
void |
consumeValueHeader(long row) |
HashConsumer.ExecutionStatus |
getStatus() |
void |
initializeHasher(Hasher h) |
public HashLogger(String tableName, long start, long end) throws DumpFileReader.InvalidDumpFileException, DumpFileReader.DumpFileIOException
public void initializeHasher(Hasher h)
initializeHasher in interface HashConsumerpublic 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,
CloneNotSupportedException,
DumpFileReader.InvalidDumpFileException,
DumpFileReader.DumpFileIOException
consumeRow in interface HashConsumerIOExceptionCloneNotSupportedExceptionDumpFileReader.InvalidDumpFileExceptionDumpFileReader.DumpFileIOExceptionpublic void consumeTable(String genericName, boolean nonDeterministic, boolean failed, long rowCount) throws InvalidHashFileException
consumeTable in interface HashConsumerInvalidHashFileExceptionpublic void close()
throws Exception
close in interface AutoCloseableExceptionpublic HashConsumer.ExecutionStatus getStatus()
getStatus in interface HashConsumerCopyright © 2025. All rights reserved.