public class QueryResult extends Object
| Constructor and Description |
|---|
QueryResult(RowResult rows,
Supplier<Metadata> metadata,
Exception exception) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<T> T |
column(int columnIndex,
Class<T> type)
Get the nth column from the row result.
|
int |
columnCount() |
boolean |
error() |
String |
errorText() |
Exception |
exception() |
int |
jdbcType(int columnIndex) |
Metadata |
metadata() |
boolean |
next() |
void |
printStackTrace() |
public boolean next()
public int columnCount()
public <T> T column(int columnIndex,
Class<T> type)
public boolean error()
public void printStackTrace()
public Exception exception()
public Metadata metadata()
public int jdbcType(int columnIndex)
public void close()
public String errorText()
Copyright © 2022 The Apache Software Foundation. All rights reserved.