public class IndexCollectionArgs extends CollectionArgs
IndexCollectionArgs
class contains arguments for retrieving
indexes from a collection (see Service.getIndexes()
).CollectionArgs.SortDirection, CollectionArgs.SortMode
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
IndexCollectionArgs()
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setCount(int count)
Sets the maximum number of entries to return.
|
void |
setSummarize(boolean summarize)
Sets whether to omits certain index details to provide a faster response.
|
setApp, setOffset, setOwner, setSearch, setSharing, setSortDirection, setSortKey, setSortMode
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 setCount(int count)
setCount
in class CollectionArgs
count
- The maximum number of entries to return. To return all entries, specify -1.public void setSummarize(boolean summarize)
summarize
- true
to omit index details for a faster response,
false
if not.Copyright © 2022 Splunk, Inc.. All rights reserved.