Package org.apache.druid.query
Class LocatedSegmentDescriptor
java.lang.Object
org.apache.druid.query.LocatedSegmentDescriptor
public, evolving
extended version of SegmentDescriptor, which is internal class, with location and size information attached
-
Constructor Summary
ConstructorsConstructorDescriptionLocatedSegmentDescriptor(SegmentDescriptor descriptor, long size, List<DruidServerMetadata> candidates) LocatedSegmentDescriptor(org.joda.time.Interval interval, String version, int partitionNumber, long size, List<DruidServerMetadata> locations) -
Method Summary
-
Constructor Details
-
LocatedSegmentDescriptor
public LocatedSegmentDescriptor(org.joda.time.Interval interval, String version, int partitionNumber, long size, List<DruidServerMetadata> locations) -
LocatedSegmentDescriptor
public LocatedSegmentDescriptor(SegmentDescriptor descriptor, long size, List<DruidServerMetadata> candidates)
-
-
Method Details
-
getInterval
public org.joda.time.Interval getInterval() -
getVersion
-
getPartitionNumber
public int getPartitionNumber() -
getSize
public long getSize() -
getLocations
-
equals
-
hashCode
public int hashCode() -
toString
-