public static class SplunkConnectionImpl.CountingSearchResultListener extends Object implements SearchResultListener
SearchResultListener
interface that just counts the results.| Constructor and Description |
|---|
CountingSearchResultListener(boolean print) |
| Modifier and Type | Method and Description |
|---|---|
int |
getResultCount() |
boolean |
processSearchResult(String[] values)
Handles a record from a search result.
|
void |
setFieldNames(String[] fieldNames) |
public void setFieldNames(String[] fieldNames)
setFieldNames in interface SearchResultListenerpublic boolean processSearchResult(String[] values)
SearchResultListenerprocessSearchResult in interface SearchResultListenervalues - Values of the recordpublic int getResultCount()
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.