Class HashPartitioner
- java.lang.Object
-
- org.apache.druid.timeline.partition.HashPartitioner
-
public class HashPartitioner extends Object
This class is used for hash partitioning during ingestion. TheShardSpecLookupreturned fromcreateHashLookup(java.util.List<? extends org.apache.druid.timeline.partition.ShardSpec>)is used to determine what hash bucket the given input row will belong to.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<Object>extractKeys(List<String> partitionDimensions, long timestamp, InputRow inputRow)
-