| Constructor and Description |
|---|
NoneShardSpec()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
<T> PartitionChunk<T> |
createChunk(T obj) |
boolean |
equals(Object 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() |
int |
hashCode() |
static NoneShardSpec |
instance() |
boolean |
isInChunk(long timestamp,
InputRow inputRow) |
String |
toString() |
@Deprecated public NoneShardSpec()
public static NoneShardSpec instance()
public <T> PartitionChunk<T> createChunk(T obj)
createChunk in interface ShardSpecpublic boolean isInChunk(long timestamp,
InputRow inputRow)
public int getPartitionNum()
getPartitionNum in interface ShardSpecpublic ShardSpecLookup getLookup(List<ShardSpec> shardSpecs)
public Map<String,com.google.common.collect.Range<String>> getDomain()
ShardSpecCopyright © 2011–2017. All rights reserved.