tech.ydb.jdbc.impl.YdbQueryResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ydb-jdbc-driver Show documentation
Show all versions of ydb-jdbc-driver Show documentation
JDBC Driver over YDB Java SDK
package tech.ydb.jdbc.impl;
import java.sql.SQLException;
import tech.ydb.jdbc.YdbResultSet;
/**
*
* @author Aleksandr Gorshenin
*/
public interface YdbQueryResult {
YdbQueryResult EMPTY = new YdbQueryResult() {
@Override
public int getUpdateCount() throws SQLException {
return -1;
}
@Override
public YdbResultSet getCurrentResultSet() throws SQLException {
return null;
}
@Override
public boolean hasResultSets() throws SQLException {
return false;
}
@Override
public boolean getMoreResults(int current) throws SQLException {
return false;
}
@Override
public void close() throws SQLException { }
};
int getUpdateCount() throws SQLException;
YdbResultSet getCurrentResultSet() throws SQLException;
boolean hasResultSets() throws SQLException;
boolean getMoreResults(int current) throws SQLException;
void close() throws SQLException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy