static class HashTable.ResultHasher extends Object
Modifier and Type | Field and Description |
---|---|
private ImmutableBytesWritable |
batchHash |
private long |
batchSize |
private boolean |
batchStarted |
private ImmutableBytesWritable |
batchStartKey |
private MessageDigest |
digest |
Constructor and Description |
---|
ResultHasher() |
Modifier and Type | Method and Description |
---|---|
void |
finishBatch() |
ImmutableBytesWritable |
getBatchHash() |
long |
getBatchSize() |
ImmutableBytesWritable |
getBatchStartKey() |
void |
hashResult(Result result) |
boolean |
isBatchStarted() |
void |
startBatch(ImmutableBytesWritable row) |
private MessageDigest digest
private boolean batchStarted
private ImmutableBytesWritable batchStartKey
private ImmutableBytesWritable batchHash
private long batchSize
public ResultHasher()
public void startBatch(ImmutableBytesWritable row)
public void hashResult(Result result)
public void finishBatch()
public boolean isBatchStarted()
public ImmutableBytesWritable getBatchStartKey()
public ImmutableBytesWritable getBatchHash()
public long getBatchSize()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.