Class EsqlParser
java.lang.Object
org.elasticsearch.xpack.esql.parser.EsqlParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMaximum number of characters in an ESQL query. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.elasticsearch.xpack.esql.parser.EsqlConfigconfig()createStatement(String query) createStatement(String query, QueryParams params) createStatement(String query, QueryParams params, PlanTelemetry metrics) voidsetEsqlConfig(org.elasticsearch.xpack.esql.parser.EsqlConfig config)
-
Field Details
-
MAX_LENGTH
public static final int MAX_LENGTHMaximum number of characters in an ESQL query. Antlr may parse the entire query into tokens to make the choices, buffering the world. There's a lot we can do in the grammar to prevent that, but let's be paranoid and assume we'll fail at preventing antlr from slurping in the world. Instead, let's make sure that the world just isn't that big.- See Also:
-
-
Constructor Details
-
EsqlParser
public EsqlParser()
-
-
Method Details
-
config
public org.elasticsearch.xpack.esql.parser.EsqlConfig config() -
setEsqlConfig
public void setEsqlConfig(org.elasticsearch.xpack.esql.parser.EsqlConfig config) -
createStatement
-
createStatement
-
createStatement
-