Class MergeRollupTaskMetadata


  • public class MergeRollupTaskMetadata
    extends BaseTaskMetadata
    Metadata for the minion task of type MergeRollupTask. The watermarkMap denotes the time (exclusive) upto which tasks have been executed for the bucket granularity. This gets serialized and stored in zookeeper under the path MINION_TASK_METADATA/${tableNameWithType}/MergeRollupTask
    • Constructor Detail

      • MergeRollupTaskMetadata

        public MergeRollupTaskMetadata​(String tableNameWithType,
                                       Map<String,​Long> watermarkMap)
    • Method Detail

      • getWatermarkMap

        public Map<String,​Long> getWatermarkMap()
        Get the watermarkMap in millis
      • fromZNRecord

        public static MergeRollupTaskMetadata fromZNRecord​(org.apache.helix.zookeeper.datamodel.ZNRecord znRecord)
      • toZNRecord

        public org.apache.helix.zookeeper.datamodel.ZNRecord toZNRecord()
        Specified by:
        toZNRecord in class BaseTaskMetadata
        Returns:
        ZNRecord containing the task metadata