public class SelectQuery extends Object implements Executable<SqlResultSet>
Constructor and Description |
---|
SelectQuery(ConnectionContext connectionContext,
String sql,
ParameterBinding parameterBinding) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
SqlResultSet |
execute()
Computes a result, or throws an exception if unable to do so.
|
public SelectQuery(ConnectionContext connectionContext, String sql, ParameterBinding parameterBinding)
public void close() throws MintleafException
close
in interface AutoCloseable
close
in interface Executable<SqlResultSet>
MintleafException
public SqlResultSet execute() throws MintleafException
execute
in interface Executable<SqlResultSet>
MintleafException
- if unable to compute a resultCopyright © 2017. All rights reserved.