public interface ShardSpec
| Modifier and Type | Method and Description |
|---|---|
<T> PartitionChunk<T> |
createChunk(T obj) |
List<String> |
getDomainDimensions()
Get dimensions who have possible range for the rows this shard contains.
|
ShardSpecLookup |
getLookup(List<ShardSpec> shardSpecs) |
int |
getPartitionNum() |
boolean |
isInChunk(long timestamp,
InputRow inputRow) |
boolean |
possibleInDomain(Map<String,com.google.common.collect.RangeSet<String>> domain)
if given domain ranges are not possible in this shard, return false; otherwise return true;
|
<T> PartitionChunk<T> createChunk(T obj)
boolean isInChunk(long timestamp,
InputRow inputRow)
int getPartitionNum()
ShardSpecLookup getLookup(List<ShardSpec> shardSpecs)
List<String> getDomainDimensions()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.