Used by 'jcmd JFR.query' and 'jfr query'.
| Modifier and Type | Field and Description |
|---|---|
| private final Configuration | |
| private final Output | |
| private final StopWatch | |
| private final EventStream |
| Access | Constructor and Description |
|---|---|
| public | QueryPrinter(Configuration
display configuration configuration, EventStream a non-started stream from where data should be fetched. stream)Constructs a query printer. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public static String | |
| private boolean | |
| private void | |
| private List | |
| private boolean | |
| private boolean | |
| private void |
| configuration | back to summary |
|---|---|
| private final Configuration configuration | |
| out | back to summary |
|---|---|
| private final Output out | |
| stopWatch | back to summary |
|---|---|
| private final StopWatch stopWatch | |
| stream | back to summary |
|---|---|
| private final EventStream stream | |
| QueryPrinter | back to summary |
|---|---|
| public QueryPrinter(Configuration configuration, EventStream stream) Constructs a query printer.
| |
| execute | back to summary |
|---|---|
| public void execute(String query) throws UserDataException, UserSyntaxException Prints the query.
| |
| getGrammarText | back to summary |
|---|---|
| public static String getGrammarText() | |
| isExperimental | back to summary |
|---|---|
| private boolean isExperimental(EventType t) | |
| printFields | back to summary |
|---|---|
| private void printFields(EventType type, List<EventType> allTypes) | |
| relations | back to summary |
|---|---|
| private List | |
| showEvents | back to summary |
|---|---|
| private boolean showEvents(String queryText) | |
| showFields | back to summary |
|---|---|
| private boolean showFields(String text) | |
| showQuery | back to summary |
|---|---|
| private void showQuery(String query) throws UserDataException, UserSyntaxException | |