Class SegmentCreateRequest
- java.lang.Object
-
- org.apache.druid.indexing.overlord.SegmentCreateRequest
-
public class SegmentCreateRequest extends Object
Contains information used byIndexerMetadataStorageCoordinatorfor creating a new segment.The
sequenceNameandpreviousSegmentIdfields are meant to make it easy for two independent ingestion tasks to produce the same series of segments.
-
-
Constructor Summary
Constructors Constructor Description SegmentCreateRequest(String sequenceName, String previousSegmentId, String version, org.apache.druid.timeline.partition.PartialShardSpec partialShardSpec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.druid.timeline.partition.PartialShardSpecgetPartialShardSpec()StringgetPreviousSegmentId()Non-null previous segment id.StringgetSequenceName()StringgetVersion()
-
-
-
Method Detail
-
getSequenceName
public String getSequenceName()
-
getPreviousSegmentId
public String getPreviousSegmentId()
Non-null previous segment id. This can be used for persisting to the pending segments table in the metadata store.
-
getVersion
public String getVersion()
-
getPartialShardSpec
public org.apache.druid.timeline.partition.PartialShardSpec getPartialShardSpec()
-
-