Class SQLFederationResultSet
java.lang.Object
org.apache.shardingsphere.sqlfederation.advanced.resultset.WrapperAdapter
org.apache.shardingsphere.sqlfederation.advanced.resultset.AbstractUnsupportedUpdateOperationResultSet
org.apache.shardingsphere.sqlfederation.advanced.resultset.AbstractUnsupportedOperationResultSet
org.apache.shardingsphere.sqlfederation.advanced.resultset.SQLFederationResultSet
- All Implemented Interfaces:
AutoCloseable,ResultSet,Wrapper
SQL federation result set.
-
Field Summary
Fields inherited from interface java.sql.ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE -
Constructor Summary
ConstructorsConstructorDescriptionSQLFederationResultSet(org.apache.calcite.linq4j.Enumerator<Object> enumerator, org.apache.shardingsphere.infra.metadata.database.schema.decorator.model.ShardingSphereSchema schema, org.apache.calcite.schema.impl.AbstractSchema filterableSchema, org.apache.shardingsphere.infra.binder.statement.dml.SelectStatementContext selectStatementContext, org.apache.calcite.rel.type.RelDataType validatedNodeType) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()intfindColumn(String columnLabel) getArray(int columnIndex) getAsciiStream(int columnIndex) getAsciiStream(String columnLabel) getBigDecimal(int columnIndex) getBigDecimal(int columnIndex, int scale) getBigDecimal(String columnLabel) getBigDecimal(String columnLabel, int scale) getBinaryStream(int columnIndex) getBinaryStream(String columnLabel) getBlob(int columnIndex) booleangetBoolean(int columnIndex) booleangetBoolean(String columnLabel) bytegetByte(int columnIndex) bytebyte[]getBytes(int columnIndex) byte[]getCharacterStream(int columnIndex) getCharacterStream(String columnLabel) getClob(int columnIndex) intgetDate(int columnIndex) doublegetDouble(int columnIndex) doubleintintfloatgetFloat(int columnIndex) floatintgetInt(int columnIndex) intlonggetLong(int columnIndex) longgetNString(int columnIndex) getNString(String columnLabel) getObject(int columnIndex) shortgetShort(int columnIndex) shortgetSQLXML(int columnIndex) getString(int columnIndex) getTime(int columnIndex) getTimestamp(int columnIndex) getTimestamp(int columnIndex, Calendar cal) getTimestamp(String columnLabel) getTimestamp(String columnLabel, Calendar cal) intgetType()getUnicodeStream(int columnIndex) getUnicodeStream(String columnLabel) getURL(int columnIndex) booleanisClosed()booleannext()voidsetFetchDirection(int direction) voidsetFetchSize(int rows) booleanwasNull()Methods inherited from class org.apache.shardingsphere.sqlfederation.advanced.resultset.AbstractUnsupportedOperationResultSet
absolute, afterLast, beforeFirst, cancelRowUpdates, deleteRow, first, getCursorName, getHoldability, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getRowId, getRowId, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, updateRowMethods inherited from class org.apache.shardingsphere.sqlfederation.advanced.resultset.AbstractUnsupportedUpdateOperationResultSet
updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestampMethods inherited from class org.apache.shardingsphere.sqlfederation.advanced.resultset.WrapperAdapter
isWrapperFor, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.sql.ResultSet
updateObject, updateObject, updateObject, updateObjectMethods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
SQLFederationResultSet
public SQLFederationResultSet(org.apache.calcite.linq4j.Enumerator<Object> enumerator, org.apache.shardingsphere.infra.metadata.database.schema.decorator.model.ShardingSphereSchema schema, org.apache.calcite.schema.impl.AbstractSchema filterableSchema, org.apache.shardingsphere.infra.binder.statement.dml.SelectStatementContext selectStatementContext, org.apache.calcite.rel.type.RelDataType validatedNodeType)
-
-
Method Details
-
next
public boolean next() -
close
public void close() -
wasNull
public boolean wasNull() -
getString
- Throws:
SQLException
-
getString
- Throws:
SQLException
-
getBoolean
- Throws:
SQLException
-
getBoolean
- Throws:
SQLException
-
getByte
- Throws:
SQLException
-
getByte
- Throws:
SQLException
-
getShort
- Throws:
SQLException
-
getShort
- Throws:
SQLException
-
getInt
- Throws:
SQLException
-
getInt
- Throws:
SQLException
-
getLong
- Throws:
SQLException
-
getLong
- Throws:
SQLException
-
getFloat
- Throws:
SQLException
-
getFloat
- Throws:
SQLException
-
getDouble
- Throws:
SQLException
-
getDouble
- Throws:
SQLException
-
getBigDecimal
- Throws:
SQLException
-
getBigDecimal
- Throws:
SQLException
-
getBigDecimal
- Throws:
SQLException
-
getBigDecimal
- Throws:
SQLException
-
getBytes
- Throws:
SQLException
-
getBytes
- Throws:
SQLException
-
getDate
- Throws:
SQLException
-
getDate
- Throws:
SQLException
-
getDate
- Throws:
SQLException
-
getDate
- Throws:
SQLException
-
getTime
- Throws:
SQLException
-
getTime
- Throws:
SQLException
-
getTime
- Throws:
SQLException
-
getTime
- Throws:
SQLException
-
getTimestamp
- Throws:
SQLException
-
getTimestamp
- Throws:
SQLException
-
getTimestamp
- Throws:
SQLException
-
getTimestamp
- Throws:
SQLException
-
getAsciiStream
- Throws:
SQLException
-
getAsciiStream
- Throws:
SQLException
-
getUnicodeStream
- Throws:
SQLException
-
getUnicodeStream
- Throws:
SQLException
-
getBinaryStream
- Throws:
SQLException
-
getBinaryStream
- Throws:
SQLException
-
getWarnings
-
clearWarnings
public void clearWarnings() -
getMetaData
-
getObject
- Throws:
SQLException
-
getObject
- Throws:
SQLException
-
findColumn
- Throws:
SQLException
-
getCharacterStream
- Throws:
SQLException
-
getCharacterStream
- Throws:
SQLException
-
setFetchDirection
public void setFetchDirection(int direction) -
getFetchDirection
public int getFetchDirection() -
setFetchSize
public void setFetchSize(int rows) -
getFetchSize
public int getFetchSize() -
getType
public int getType() -
getConcurrency
public int getConcurrency() -
getStatement
-
getBlob
- Throws:
SQLException
-
getBlob
- Throws:
SQLException
-
getClob
- Throws:
SQLException
-
getClob
- Throws:
SQLException
-
getArray
- Throws:
SQLException
-
getArray
- Throws:
SQLException
-
getURL
- Throws:
SQLException
-
getURL
- Throws:
SQLException
-
isClosed
public boolean isClosed() -
getSQLXML
- Throws:
SQLException
-
getSQLXML
- Throws:
SQLException
-
getNString
- Throws:
SQLException
-
getNString
- Throws:
SQLException
-