public class SegmentIdentifier extends Object
| Constructor and Description |
|---|
SegmentIdentifier(String dataSource,
org.joda.time.Interval interval,
String version,
org.apache.druid.timeline.partition.ShardSpec shardSpec) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static SegmentIdentifier |
fromDataSegment(org.apache.druid.timeline.DataSegment segment) |
String |
getDataSource() |
String |
getIdentifierAsString() |
org.joda.time.Interval |
getInterval() |
org.apache.druid.timeline.partition.ShardSpec |
getShardSpec() |
String |
getVersion() |
int |
hashCode() |
String |
toString() |
public String getDataSource()
public org.joda.time.Interval getInterval()
public String getVersion()
public org.apache.druid.timeline.partition.ShardSpec getShardSpec()
public String getIdentifierAsString()
public static SegmentIdentifier fromDataSegment(org.apache.druid.timeline.DataSegment segment)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.