Package com.sap.cds.jdbc.generic
Class GenericBinder
java.lang.Object
com.sap.cds.jdbc.generic.AbstractValueBinder
com.sap.cds.jdbc.generic.GenericBinder
- All Implemented Interfaces:
ValueBinder
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sap.cds.jdbc.spi.ValueBinder
ValueBinder.Getter<T extends Object>, ValueBinder.Setter -
Field Summary
Fields inherited from class com.sap.cds.jdbc.generic.AbstractValueBinder
UTC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InstantgetInstant(ResultSet result, int i) protected InputStreamgetLargeBinary(ResultSet result, int i) protected ReadergetLargeString(ResultSet result, int i) protected LocalDategetLocalDate(ResultSet result, int i) protected LocalTimegetLocalTime(ResultSet result, int i) protected voidsetInstant(PreparedStatement pstmt, int i, Instant instant) protected voidsetLargeBinary(PreparedStatement pstmt, int i, InputStream stream) protected voidsetLargeString(PreparedStatement pstmt, int i, Reader reader) protected voidsetLocalDate(PreparedStatement pstmt, int i, LocalDate localDate) protected voidsetLocalTime(PreparedStatement pstmt, int i, LocalTime localTime) Methods inherited from class com.sap.cds.jdbc.generic.AbstractValueBinder
getBoolean, getCalendarForDefaultTimeZone, getDouble, getFloat, getInt, getLong, getRealVector, getShort, getter, getValue, setLocalDate, setLocalTime, setRealVector, setter, setValue, setValue
-
Constructor Details
-
GenericBinder
-
-
Method Details
-
getInstant
- Specified by:
getInstantin classAbstractValueBinder- Throws:
SQLException
-
setInstant
- Specified by:
setInstantin classAbstractValueBinder- Throws:
SQLException
-
getLocalDate
- Specified by:
getLocalDatein classAbstractValueBinder- Throws:
SQLException
-
setLocalDate
protected void setLocalDate(PreparedStatement pstmt, int i, LocalDate localDate) throws SQLException - Specified by:
setLocalDatein classAbstractValueBinder- Throws:
SQLException
-
getLocalTime
- Specified by:
getLocalTimein classAbstractValueBinder- Throws:
SQLException
-
setLocalTime
protected void setLocalTime(PreparedStatement pstmt, int i, LocalTime localTime) throws SQLException - Specified by:
setLocalTimein classAbstractValueBinder- Throws:
SQLException
-
getLargeString
- Specified by:
getLargeStringin classAbstractValueBinder- Throws:
SQLException
-
setLargeString
- Specified by:
setLargeStringin classAbstractValueBinder- Throws:
SQLException
-
getLargeBinary
- Specified by:
getLargeBinaryin classAbstractValueBinder- Throws:
SQLException
-
setLargeBinary
protected void setLargeBinary(PreparedStatement pstmt, int i, InputStream stream) throws SQLException - Specified by:
setLargeBinaryin classAbstractValueBinder- Throws:
SQLException
-