Class DecoratorMergedResult
java.lang.Object
org.apache.shardingsphere.infra.merge.result.impl.decorator.DecoratorMergedResult
- All Implemented Interfaces:
MergedResult
Decorator merged result.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ObjectgetCalendarValue(int columnIndex, Class<?> type, Calendar calendar) Get calendar value.final InputStreamgetInputStream(int columnIndex, String type) Get InputStream.final ObjectGet data value.final booleanwasNull()Judge ResultSet is null or not.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.shardingsphere.infra.merge.result.MergedResult
next
-
Constructor Details
-
DecoratorMergedResult
public DecoratorMergedResult()
-
-
Method Details
-
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 final 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
-