public interface ShardSpec
Modifier and Type | Method and Description |
---|---|
<T> PartitionChunk<T> |
createChunk(T obj) |
Map<String,com.google.common.collect.Range<String>> |
getDomain()
Get the possible range of each dimension for the rows this shard contains.
|
ShardSpecLookup |
getLookup(List<ShardSpec> shardSpecs) |
int |
getPartitionNum() |
boolean |
isInChunk(long timestamp,
InputRow inputRow) |
<T> PartitionChunk<T> createChunk(T obj)
boolean isInChunk(long timestamp, InputRow inputRow)
int getPartitionNum()
ShardSpecLookup getLookup(List<ShardSpec> shardSpecs)
Copyright © 2011–2017. All rights reserved.