Class TransparentMergedResult
java.lang.Object
org.apache.shardingsphere.infra.merge.result.impl.transparent.TransparentMergedResult
- All Implemented Interfaces:
MergedResult
Transparent merged result.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCalendarValue(int columnIndex, Class<?> type, Calendar calendar) Get calendar value.getInputStream(int columnIndex, String type) Get InputStream.Get data value.booleannext()Iterate next data.booleanwasNull()Judge ResultSet is null or not.
-
Constructor Details
-
TransparentMergedResult
public TransparentMergedResult()
-
-
Method Details
-
next
Description copied from interface:MergedResultIterate next data.- Specified by:
nextin interfaceMergedResult- Returns:
- has next data
- Throws:
SQLException- SQL exception
-
getValue
Description copied from interface:MergedResultGet data value.- Specified by:
getValuein interfaceMergedResult- Parameters:
columnIndex- column indextype- class type of data value- Returns:
- data value
- Throws:
SQLException- SQL exception
-
getCalendarValue
public Object getCalendarValue(int columnIndex, Class<?> type, Calendar calendar) throws SQLException Description copied from interface:MergedResultGet calendar value.- Specified by:
getCalendarValuein interfaceMergedResult- Parameters:
columnIndex- column indextype- class type of data valuecalendar- calendar- Returns:
- calendar value
- Throws:
SQLException- SQL exception
-
getInputStream
Description copied from interface:MergedResultGet InputStream.- Specified by:
getInputStreamin interfaceMergedResult- Parameters:
columnIndex- column indextype- class type of data value- Returns:
- InputStream
- Throws:
SQLException- SQL exception
-
wasNull
Description copied from interface:MergedResultJudge ResultSet is null or not.- Specified by:
wasNullin interfaceMergedResult- Returns:
- ResultSet is null or not
- Throws:
SQLException- SQL exception
-