public abstract class AbstractCloudSpannerFetcher extends AbstractCloudSpannerWrapper
| Constructor and Description |
|---|
AbstractCloudSpannerFetcher() |
| Modifier and Type | Method and Description |
|---|---|
int |
getFetchDirection() |
int |
getFetchSize() |
void |
setFetchDirection(int direction) |
void |
setFetchSize(int rows) |
extractColumnType, getClassName, getClassName, getGoogleTypeName, isWrapperFor, unwrappublic void setFetchDirection(int direction)
throws SQLException
direction - The fetch direction to use. Only
ResultSet.FETCH_FORWARD is supported.SQLException - Thrown if any other fetch direction than
ResultSet.FETCH_FORWARD is suppliedpublic int getFetchDirection()
throws SQLException
ResultSet.FETCH_FORWARDSQLException - Cannot be thrown by this method, but is added to the method
signature in order to comply with the interfaces that will be
implemented by this abstract class' concrete subclassespublic void setFetchSize(int rows)
throws SQLException
rows - The number of rows to fetchSQLException - Thrown if rows<1public int getFetchSize()
throws SQLException
SQLException - Cannot be thrown by this method, but is added to the method
signature in order to comply with the interfaces that will be
implemented by this abstract class' concrete subclassesCopyright © 2018. All rights reserved.