@Taxonomy(stability=EXPERIMENTAL) public final class LogQueryResultImpl extends Object implements LogQueryResult
| Constructor and Description |
|---|
LogQueryResultImpl(List<Serializable[]> records)
|
LogQueryResultImpl(String[] fieldNames,
LogQueryEntry[] entries) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object rhs) |
LogQueryEntry[] |
getEntries()
Return all log entries found by the query not including the field headers.
|
String[] |
getFieldNames()
Get field names for each field of a
LogQueryEntry. |
int |
hashCode() |
String |
toString()
Output a tab-delimited String with a header line.
|
public LogQueryResultImpl(String[] fieldNames, LogQueryEntry[] entries)
public LogQueryResultImpl(List<Serializable[]> records)
LogQuery.queryServerLog(java.lang.String, long, boolean, int, java.lang.Long, java.lang.Long, java.lang.String, java.util.Set<java.lang.String>, java.util.List<javax.management.Attribute>, java.lang.String).
The first Object[] is a String[] of the field names.
Subsequent Object[] are the data values.public String[] getFieldNames()
LogQueryResultLogQueryEntry.
Log entries in the server log file are of the form:[#|DATE|LEVEL|PRODUCT_NAME|MODULE|NAME_VALUE_PAIRS|MESSAGE|#]
getFieldNames in interface LogQueryResultpublic LogQueryEntry[] getEntries()
LogQueryResultgetEntries in interface LogQueryResultpublic String toString()
Copyright © 2017. All rights reserved.