Package org.apache.druid.query
Class LocatedSegmentDescriptor
- java.lang.Object
-
- org.apache.druid.query.LocatedSegmentDescriptor
-
public class LocatedSegmentDescriptor extends Object
public, evolving extended version of SegmentDescriptor, which is internal class, with location and size information attached
-
-
Constructor Summary
Constructors Constructor Description LocatedSegmentDescriptor(org.apache.druid.query.SegmentDescriptor descriptor, long size, List<DruidServerMetadata> candidates)LocatedSegmentDescriptor(org.joda.time.Interval interval, String version, int partitionNumber, long size, List<DruidServerMetadata> locations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)org.joda.time.IntervalgetInterval()List<DruidServerMetadata>getLocations()intgetPartitionNumber()longgetSize()StringgetVersion()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
LocatedSegmentDescriptor
public LocatedSegmentDescriptor(org.joda.time.Interval interval, String version, int partitionNumber, long size, List<DruidServerMetadata> locations)
-
LocatedSegmentDescriptor
public LocatedSegmentDescriptor(org.apache.druid.query.SegmentDescriptor descriptor, long size, List<DruidServerMetadata> candidates)
-
-
Method Detail
-
getInterval
public org.joda.time.Interval getInterval()
-
getVersion
public String getVersion()
-
getPartitionNumber
public int getPartitionNumber()
-
getSize
public long getSize()
-
getLocations
public List<DruidServerMetadata> getLocations()
-
-