Interface DataSegmentAnnouncer

    • Method Detail

      • announceSegment

        void announceSegment​(org.apache.druid.timeline.DataSegment segment)
                      throws IOException
        Throws:
        IOException
      • unannounceSegment

        void unannounceSegment​(org.apache.druid.timeline.DataSegment segment)
                        throws IOException
        Throws:
        IOException
      • announceSegmentSchemas

        void announceSegmentSchemas​(String taskId,
                                    SegmentSchemas segmentSchemas,
                                    @Nullable
                                    SegmentSchemas segmentSchemasChange)
        Announces schema associated with all segments for the specified realtime task.
        Parameters:
        taskId - taskId
        segmentSchemas - absolute schema for all sinks, in case the client requests full sync.
        segmentSchemasChange - schema change for all sinks
      • removeSegmentSchemasForTask

        void removeSegmentSchemasForTask​(String taskId)
        Removes schema associated with all segments for the specified realtime task.
        Parameters:
        taskId - taskId