Top Fields Constructors Methods
jdk.jfr.internal.query

pack-priv final Class QueryParser

extends Object
implements AutoCloseable
Class Inheritance
All Implemented Interfaces
java.lang.AutoCloseable
Imports
java.text.ParseException, java.util.ArrayList, .List, .Optional, java.util.function.Consumer, jdk.jfr.internal.query.Configuration.Truncate, .Query.Condition, .Query.Expression, .Query.Formatter, .Query.Grouper, .Query.OrderElement, .Query.Property, .Query.SortOrder, .Query.Source, jdk.jfr.internal.util.Tokenizer

Field Summary

Modifier and TypeField and Description
pack-priv static final char[]
private final Tokenizer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private Query.Expression
private Optional<String>
private Consumer<Field>
public void
close()

Implements java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources.
public List<String>
private Query.Condition
private String
private Query.Expression
public List<Query.Formatter>
private Query.Formatter
public List<Query.Source>
from()

public List<Query.Grouper>
private Query.Grouper
public int
private Consumer<Field>
missing(String missing)

public List<Query.OrderElement>
private Query.OrderElement
public int
private Query.Property
public List<Query.Expression>
private Query.SortOrder
private Query.Source
private String
private String
text()

private String
type()

public List<Query.Condition>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

SEPARATORSback to summary
pack-priv static final char[] SEPARATORS
tokenizerback to summary
private final Tokenizer tokenizer

Constructor Detail

QueryParserback to summary
public QueryParser(String text)

Method Detail

aggregatorback to summary
private Query.Expression aggregator() throws ParseException
aliasback to summary
private Optional<String> alias() throws ParseException
cellHeightback to summary
private Consumer<Field> cellHeight(String height) throws ParseException
closeback to summary
public void close() throws ParseException

Implements java.lang.AutoCloseable.close.

Doc from java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources. This method is invoked automatically on objects managed by the try-with-resources statement.

Annotations
@Override
columnback to summary
public List<String> column() throws ParseException
conditionback to summary
private Query.Condition condition() throws ParseException
eventFieldback to summary
private String eventField() throws ParseException
expressionback to summary
private Query.Expression expression() throws ParseException
formatback to summary
public List<Query.Formatter> format() throws ParseException
formatterback to summary
private Query.Formatter formatter() throws ParseException
fromback to summary
public List<Query.Source> from() throws ParseException
groupByback to summary
public List<Query.Grouper> groupBy() throws ParseException
grouperback to summary
private Query.Grouper grouper() throws ParseException
limitback to summary
public int limit() throws ParseException
missingback to summary
private Consumer<Field> missing(String missing)
orderByback to summary
public List<Query.OrderElement> orderBy() throws ParseException
ordererback to summary
private Query.OrderElement orderer() throws ParseException
positionback to summary
public int position()
propertyback to summary
private Query.Property property() throws ParseException
selectback to summary
public List<Query.Expression> select() throws ParseException
sortOrderback to summary
private Query.SortOrder sortOrder() throws ParseException
sourceback to summary
private Query.Source source() throws ParseException
symbolback to summary
private String symbol() throws ParseException
textback to summary
private String text() throws ParseException
typeback to summary
private String type() throws ParseException
whereback to summary
public List<Query.Condition> where() throws ParseException