public class InterpretedHashGenerator extends Object implements HashGenerator
| Constructor and Description |
|---|
InterpretedHashGenerator(List<Type> hashChannelTypes,
int[] hashChannels) |
InterpretedHashGenerator(List<Type> hashChannelTypes,
List<Integer> hashChannels) |
| Modifier and Type | Method and Description |
|---|---|
long |
hashPosition(int position,
IntFunction<Block> blockProvider) |
long |
hashPosition(int position,
Page page) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionpublic InterpretedHashGenerator(List<Type> hashChannelTypes, List<Integer> hashChannels)
public long hashPosition(int position,
Page page)
hashPosition in interface HashGeneratorpublic long hashPosition(int position,
IntFunction<Block> blockProvider)
Copyright © 2012–2019. All rights reserved.