public class HashComparator extends Object implements HashConsumer
HashConsumer.ExecutionStatus| Constructor and Description |
|---|
HashComparator(String tableName,
File baseline,
File current) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeEntry(String genericName,
boolean hasOrderingErrors) |
boolean |
consumeRow(long liveRow,
Hasher hasher) |
void |
consumeValue(long row,
Column c,
byte[] bytes,
Hasher h) |
void |
consumeValueHeader(long row) |
HashConsumer.ExecutionStatus |
getStatus() |
public HashComparator(String tableName, File baseline, File current) throws DumpFileReader.InvalidDumpFileException, DumpFileReader.DumpFileIOException
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 liveRow,
Hasher hasher)
throws IOException,
CloneNotSupportedException,
DumpFileReader.InvalidDumpFileException,
DumpFileReader.DumpFileIOException
consumeRow in interface HashConsumerIOExceptionCloneNotSupportedExceptionDumpFileReader.InvalidDumpFileExceptionDumpFileReader.DumpFileIOExceptionpublic void closeEntry(String genericName, boolean hasOrderingErrors) 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.