Interface DataSegmentAnnouncer

All Known Implementing Classes:
BatchDataSegmentAnnouncer, NoopDataSegmentAnnouncer

public interface DataSegmentAnnouncer
  • Method Details

    • announceSegment

      void announceSegment(DataSegment segment) throws IOException
      Throws:
      IOException
    • unannounceSegment

      void unannounceSegment(DataSegment segment)
    • announceSegments

      void announceSegments(Iterable<DataSegment> segments) throws IOException
      Throws:
      IOException
    • unannounceSegments

      void unannounceSegments(Iterable<DataSegment> segments)
    • 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