Interface MergedResult
-
- All Known Implementing Classes:
DecoratorMergedResult,LocalDataMergedResult,MemoryMergedResult,StreamMergedResult,TransparentMergedResult
public interface MergedResultMerged result after merge engine.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetCalendarValue(int columnIndex, Class<?> type, Calendar calendar)Get calendar value.ReadergetCharacterStream(int columnIndex)Get CharacterStream.InputStreamgetInputStream(int columnIndex, String type)Get InputStream.ObjectgetValue(int columnIndex, Class<?> type)Get data value.booleannext()Iterate next data.booleanwasNull()Judge ResultSet is null or not.
-
-
-
Method Detail
-
next
boolean next() throws SQLExceptionIterate next data.- Returns:
- has next data
- Throws:
SQLException- SQL exception
-
getValue
Object getValue(int columnIndex, Class<?> type) throws SQLException
Get data value.- Parameters:
columnIndex- column indextype- class type of data value- Returns:
- data value
- Throws:
SQLException- SQL exception
-
getCalendarValue
Object getCalendarValue(int columnIndex, Class<?> type, Calendar calendar) throws SQLException
Get calendar value.- Parameters:
columnIndex- column indextype- class type of data valuecalendar- calendar- Returns:
- calendar value
- Throws:
SQLException- SQL exception
-
getInputStream
InputStream getInputStream(int columnIndex, String type) throws SQLException
Get InputStream.- Parameters:
columnIndex- column indextype- class type of data value- Returns:
- InputStream
- Throws:
SQLException- SQL exception
-
getCharacterStream
Reader getCharacterStream(int columnIndex) throws SQLException
Get CharacterStream.- Parameters:
columnIndex- column index- Returns:
- Reader
- Throws:
SQLException- SQL exception
-
wasNull
boolean wasNull() throws SQLExceptionJudge ResultSet is null or not.- Returns:
- ResultSet is null or not
- Throws:
SQLException- SQL exception
-
-