Package io.trino.server.protocol
Class QueryResultRows
- java.lang.Object
-
- io.trino.server.protocol.QueryResultRows
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueryResultRows.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryResultRowsempty(Session session)Optional<List<Column>>getColumns()longgetTotalRowsCount()Returns expected row count (we don't know yet if every row is serializable).Optional<Long>getUpdateCount()booleanisEmpty()Iterator<List<Object>>iterator()static QueryResultRows.BuilderqueryResultRowsBuilder(Session session)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
getTotalRowsCount
public long getTotalRowsCount()
Returns expected row count (we don't know yet if every row is serializable).
-
empty
public static QueryResultRows empty(Session session)
-
queryResultRowsBuilder
public static QueryResultRows.Builder queryResultRowsBuilder(Session session)
-
-