Interface RelationalStructBuilder
public interface RelationalStructBuilder
For implementation by
RelationalStruct
Builder.
There is no metadata available while RelationalStruct
instance when under construction.
The order in which columns are set is preserved and is the order in which fields are returned when accessed by
field/column index.-
Method Summary
Modifier and TypeMethodDescriptionaddArray
(String fieldName, RelationalArray array) addBoolean
(String fieldName, boolean b) addStruct
(String fieldName, RelationalStruct struct) build()
Build aRelationalStruct
.
-
Method Details
-
build
RelationalStruct build()Build aRelationalStruct
.- Returns:
- A 'built' RelationalStruct instance.
-
addBoolean
- Throws:
SQLException
-
addShort
- Throws:
SQLException
-
addLong
- Throws:
SQLException
-
addFloat
- Throws:
SQLException
-
addDouble
- Throws:
SQLException
-
addBytes
- Throws:
SQLException
-
addString
- Throws:
SQLException
-
addObject
RelationalStructBuilder addObject(String fieldName, @Nullable Object obj, int targetSqlType) throws SQLException - Throws:
SQLException
-
addStruct
RelationalStructBuilder addStruct(String fieldName, @Nonnull RelationalStruct struct) throws SQLException - Throws:
SQLException
-
addArray
RelationalStructBuilder addArray(String fieldName, @Nonnull RelationalArray array) throws SQLException - Throws:
SQLException
-
addInt
- Throws:
SQLException
-