public class JobSummaryArgs extends Args
JobSummaryArgs
class contains arguments for getting a job summary
using the Job.getSummary()
method.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
JobSummaryArgs()
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setEarliestTime(String earliestTime)
Specifies the earliest time in the time range to search.
|
void |
setFieldList(String[] fieldList)
Sets a list of fields to return for the event set.
|
void |
setHistogram(boolean histogram)
Indicates whether to add histogram data to the summary output.
|
void |
setLatestTime(String latestTime)
Specifies the latest time in the time range to search.
|
void |
setMinimumFrequency(double minimumFrequency)
Sets the fraction of results for each key that this key must occur in to be displayed.
|
void |
setOutputTimeFormat(String outputTimeFormat)
Sets a UTC time format.
|
void |
setSearch(String search)
Sets a search query to filter the response.
|
void |
setTimeFormat(String timeFormat)
Specifies an expression to convert a formatted time string from {start,end}_time into UTC seconds.
|
void |
setTopCount(int topCount)
Sets for each key how many of the most frequent items to return.
|
add, create, create, create, encode, encode, encode, get
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public void setEarliestTime(String earliestTime)
earliestTime
- The earliest time.public void setFieldList(String[] fieldList)
fieldList
- A list of fields.public void setHistogram(boolean histogram)
histogram
- true
to add histogram data, false
if not.public void setLatestTime(String latestTime)
latestTime
- The latest time.public void setMinimumFrequency(double minimumFrequency)
minimumFrequency
- The frequency, as a fraction (a value between 0 and 1).public void setOutputTimeFormat(String outputTimeFormat)
outputTimeFormat
- A UTC time format.public void setSearch(String search)
search
- A search substring.public void setTimeFormat(String timeFormat)
timeFormat
- The time format.public void setTopCount(int topCount)
topCount
- The number of items to return.Copyright © 2022 Splunk, Inc.. All rights reserved.