Class SqlResponse.Builder
java.lang.Object
org.springframework.data.elasticsearch.core.sql.SqlResponse.Builder
- Enclosing class:
SqlResponse
- Since:
- 5.4
- Author:
- Aouichaoui Youssef
-
Method Summary
Modifier and TypeMethodDescriptionbuild()withColumn(SqlResponse.Column column) Column heading for the search results.withColumns(List<SqlResponse.Column> columns) Column headings for the search results.withCursor(@Nullable String cursor) Cursor for the next set of paginated results.withPartial(boolean partial) Iftrue, the response does not contain complete search results.withRow(SqlResponse.Row row) Value for the search results.withRows(List<SqlResponse.Row> rows) Values for the search results.withRunning(boolean running) Iftrue, the search is still running.
-
Method Details
-
withRunning
Iftrue, the search is still running. -
withPartial
Iftrue, the response does not contain complete search results. -
withCursor
Cursor for the next set of paginated results. -
withColumns
Column headings for the search results. -
withColumn
Column heading for the search results. -
withRows
Values for the search results. -
withRow
Value for the search results. -
build
-