DRILL-2613: 1-Hygiene/prep.: Split DrillResultSet impl. vs. intf.; renaming.
Code "hygiene":
- Renamed parameter index to rowOffset, and documented it, in SqlAccessor.
- Renamed index to rowOffset in AbstractSqlAccessor and BoundCheckingAccessor too.
- Fixed a cast to DrillResultSet to be a ResultSet.unwrap(...) call.
Preparation: Split DrillResultSet into interface vs. implementation:
- Moved old implementation class org.apache.drill.jdbc.DrillResultSet
to new implementation class org.apache.drill.jdbc.impl.DrillResultSetImpl.
- Created new interface org.apache.drill.jdbc.DrillResultSet,
declaring method getQueryId(...).
- Relatedly, in nearby JDBC code:
- Renamed various references.
- Added some "public" qualifiers. Most are only for the interim until
DRILL-2089 (moving other implementation classes from org.apache.drill.jdbc
to org.apache.drill.jdbc.impl) is completed sufficiently. (See marking
with "DRILL-2089".)n
- (Files: old DrillResultSet, DrillResultSetImpl, new DrillResultSet;
DrillConnectionImpl, DrillCursor, DrillJdbc41Factory, MetaImpl;
JdbcTestQueryBase.)