<commit_before>package org.kairosdb.rollup;

import com.google.common.collect.HashMultimap;
import com.google.common.collect.SetMultimap;
import com.google.gson.annotations.SerializedName;
import org.kairosdb.core.groupby.GroupBy;
import org.kairosdb.core.http.rest.json.RelativeTime;

import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import static org.kairosdb.util.Preconditions.checkNotNullOrEmpty;

/**
 * Roll up task.
 */
public class RollUpTask
{
	// todo regular expressions
	// todo one time go back and redo option
	// todo setup annotations for validation

	@SerializedName("metric_name")
	private String metricName;

	@SerializedName("start_relative")
	private RelativeTime startTime;

	@SerializedName("end_relative")<commit_msg>Added todo.<commit_after>package org.kairosdb.rollup;

import com.google.common.collect.HashMultimap;
import com.google.common.collect.SetMultimap;
import com.google.gson.annotations.SerializedName;
import org.kairosdb.core.groupby.GroupBy;
import org.kairosdb.core.http.rest.json.RelativeTime;

import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import static org.kairosdb.util.Preconditions.checkNotNullOrEmpty;

/**
 * Roll up task.
 */
public class RollUpTask
{
	// todo regular expressions
	// todo one time go back and redo option
	// todo setup annotations for validation
	// todo add tags

	@SerializedName("metric_name")
	private String metricName;

	@SerializedName("start_relative")
	private RelativeTime startTime;

	@SerializedName("end_relative")
{'fraction_non_alphanumeric': 0.10088202866593164, 'fraction_numerical': 0.0, 'mean_word_length': 5.528776978417266, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4885810', 'n_tokens_mistral': 568, 'n_tokens_neox': 559, 'n_words': 119}