@Immutable public class PrestoSparkQueryStatusInfo extends Object
The PrestoSparkQueryStatusInfo does not contain data to keep it slim. Presto on Spark stores query results in a separate file.
| Constructor and Description |
|---|
PrestoSparkQueryStatusInfo(String id,
Optional<List<Column>> columns,
StatementStats stats,
Optional<QueryError> error,
List<PrestoWarning> warnings,
Optional<String> updateType,
OptionalLong updateCount) |
| Modifier and Type | Method and Description |
|---|---|
Optional<List<Column>> |
getColumns() |
Optional<QueryError> |
getError() |
String |
getId() |
StatementStats |
getStats() |
OptionalLong |
getUpdateCount() |
Optional<String> |
getUpdateType() |
List<PrestoWarning> |
getWarnings() |
public PrestoSparkQueryStatusInfo(String id, Optional<List<Column>> columns, StatementStats stats, Optional<QueryError> error, List<PrestoWarning> warnings, Optional<String> updateType, OptionalLong updateCount)
public String getId()
public StatementStats getStats()
public Optional<QueryError> getError()
public List<PrestoWarning> getWarnings()
public OptionalLong getUpdateCount()
Copyright © 2012–2021. All rights reserved.