Class Layout.Builder
java.lang.Object
org.elasticsearch.xpack.esql.planner.Layout.Builder
- Enclosing interface:
Layout
Builder class for Layout. The builder ensures that layouts cannot be altered after creation (through references to the underlying
map).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(Collection<? extends NamedExpression> attributes) Appends many new channels to the layout.append(NamedExpression attribute) Appends a new channel to the layout.append(Layout.ChannelSet set) Appends a new channel to the layout.build()Build a newLayout.void
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
append
Appends a new channel to the layout. The channel is mapped to one or more attribute ids. -
append
Appends a new channel to the layout. The channel is mapped to a single attribute id. -
append
Appends many new channels to the layout. Each channel is mapped to a single attribute id. -
build
Build a newLayout. -
replace
-