public interface ArrowBufHasher
A default light-weight implementation is given in SimpleHasher
.
Modifier and Type | Method and Description |
---|---|
int |
hashCode(ArrowBuf buf,
long offset,
long length)
Calculates the hash code for a memory region.
|
int |
hashCode(long address,
long length)
Calculates the hash code for a memory region.
|
int hashCode(long address, long length)
address
- start address of the memory region.length
- length of the memory region.int hashCode(ArrowBuf buf, long offset, long length)
buf
- the buffer for the memory region.offset
- offset within the buffer for the memory region.length
- length of the memory region.Copyright © 2023 The Apache Software Foundation. All rights reserved.