public class LocatedSegmentDescriptor extends Object
Constructor and Description |
---|
LocatedSegmentDescriptor(org.joda.time.Interval interval,
String version,
int partitionNumber,
long size,
List<DruidServerMetadata> locations) |
LocatedSegmentDescriptor(SegmentDescriptor descriptor,
long size,
List<DruidServerMetadata> candidates) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
org.joda.time.Interval |
getInterval() |
List<DruidServerMetadata> |
getLocations() |
int |
getPartitionNumber() |
long |
getSize() |
String |
getVersion() |
int |
hashCode() |
String |
toString() |
public LocatedSegmentDescriptor(org.joda.time.Interval interval, String version, int partitionNumber, long size, List<DruidServerMetadata> locations)
public LocatedSegmentDescriptor(SegmentDescriptor descriptor, long size, List<DruidServerMetadata> candidates)
public org.joda.time.Interval getInterval()
public String getVersion()
public int getPartitionNumber()
public long getSize()
public List<DruidServerMetadata> getLocations()
Copyright © 2011–2017. All rights reserved.