New

The executive guide to generative AI

Read more

Statements

edit

Painless supports all of Java’s control flow statements except the switch statement.

Painless also supports the for in syntax from Groovy:

for (item : list) {
  ...
}
Was this helpful?
Feedback