Interface RelationalStructBuilder
-
public interface RelationalStructBuilder
For implementation byRelationalStruct
Builder. There is no metadata available whileRelationalStruct
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RelationalStructBuilder
addArray(java.lang.String fieldName, RelationalArray array)
RelationalStructBuilder
addBoolean(java.lang.String fieldName, boolean b)
RelationalStructBuilder
addBytes(java.lang.String fieldName, byte[] bytes)
RelationalStructBuilder
addDouble(java.lang.String fieldName, double d)
RelationalStructBuilder
addFloat(java.lang.String fieldName, float f)
RelationalStructBuilder
addInt(java.lang.String fieldName, int i)
RelationalStructBuilder
addLong(java.lang.String fieldName, long l)
RelationalStructBuilder
addObject(java.lang.String fieldName, java.lang.Object obj, int targetSqlType)
RelationalStructBuilder
addShort(java.lang.String fieldName, short b)
RelationalStructBuilder
addString(java.lang.String fieldName, java.lang.String s)
RelationalStructBuilder
addStruct(java.lang.String fieldName, RelationalStruct struct)
RelationalStruct
build()
Build aRelationalStruct
.
-
-
-
Method Detail
-
build
RelationalStruct build()
Build aRelationalStruct
.- Returns:
- A 'built' RelationalStruct instance.
-
addBoolean
RelationalStructBuilder addBoolean(java.lang.String fieldName, boolean b) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
addShort
RelationalStructBuilder addShort(java.lang.String fieldName, short b) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
addLong
RelationalStructBuilder addLong(java.lang.String fieldName, long l) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
addFloat
RelationalStructBuilder addFloat(java.lang.String fieldName, float f) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
addDouble
RelationalStructBuilder addDouble(java.lang.String fieldName, double d) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
addBytes
RelationalStructBuilder addBytes(java.lang.String fieldName, byte[] bytes) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
addString
RelationalStructBuilder addString(java.lang.String fieldName, @Nullable java.lang.String s) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
addObject
RelationalStructBuilder addObject(java.lang.String fieldName, @Nullable java.lang.Object obj, int targetSqlType) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
addStruct
RelationalStructBuilder addStruct(java.lang.String fieldName, @Nonnull RelationalStruct struct) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
addArray
RelationalStructBuilder addArray(java.lang.String fieldName, @Nonnull RelationalArray array) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
addInt
RelationalStructBuilder addInt(java.lang.String fieldName, int i) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-