public class URLPartitioner extends Object
Constructor and Description |
---|
URLPartitioner() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Map stormConf) |
String |
getPartition(String url,
Metadata metadata)
Returns the host, domain, IP of a URL so that it can be partitioned for
politeness, depending on the value of the config
partition.url.mode.
|
Copyright © 2018 DigitalPebble Ltd. All rights reserved.