Class EmbeddedRelationalStruct.Builder
java.lang.Object
com.apple.foundationdb.relational.api.EmbeddedRelationalStruct.Builder
- All Implemented Interfaces:
com.apple.foundationdb.relational.api.RelationalStructBuilder
- Enclosing interface:
- EmbeddedRelationalStruct
public static class EmbeddedRelationalStruct.Builder
extends Object
implements com.apple.foundationdb.relational.api.RelationalStructBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBoolean
(String fieldName, boolean b) com.apple.foundationdb.relational.api.RelationalStructBuilder
build()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
- Specified by:
build
in interfacecom.apple.foundationdb.relational.api.RelationalStructBuilder
-
addBoolean
- Specified by:
addBoolean
in interfacecom.apple.foundationdb.relational.api.RelationalStructBuilder
- Throws:
SQLException
-
addShort
- Specified by:
addShort
in interfacecom.apple.foundationdb.relational.api.RelationalStructBuilder
- Throws:
SQLException
-
addLong
- Specified by:
addLong
in interfacecom.apple.foundationdb.relational.api.RelationalStructBuilder
- Throws:
SQLException
-
addFloat
- Specified by:
addFloat
in interfacecom.apple.foundationdb.relational.api.RelationalStructBuilder
- Throws:
SQLException
-
addDouble
- Specified by:
addDouble
in interfacecom.apple.foundationdb.relational.api.RelationalStructBuilder
- Throws:
SQLException
-
addBytes
public EmbeddedRelationalStruct.Builder addBytes(String fieldName, byte[] bytes) throws SQLException - Specified by:
addBytes
in interfacecom.apple.foundationdb.relational.api.RelationalStructBuilder
- Throws:
SQLException
-
addString
public EmbeddedRelationalStruct.Builder addString(String fieldName, @Nullable String s) throws SQLException - Specified by:
addString
in interfacecom.apple.foundationdb.relational.api.RelationalStructBuilder
- Throws:
SQLException
-
addObject
public com.apple.foundationdb.relational.api.RelationalStructBuilder addObject(String fieldName, @Nullable Object obj, int targetSqlType) throws SQLException - Specified by:
addObject
in interfacecom.apple.foundationdb.relational.api.RelationalStructBuilder
- Throws:
SQLException
-
addStruct
public EmbeddedRelationalStruct.Builder addStruct(String fieldName, @Nonnull com.apple.foundationdb.relational.api.RelationalStruct struct) throws SQLException - Specified by:
addStruct
in interfacecom.apple.foundationdb.relational.api.RelationalStructBuilder
- Throws:
SQLException
-
addArray
public EmbeddedRelationalStruct.Builder addArray(String fieldName, @Nonnull com.apple.foundationdb.relational.api.RelationalArray array) throws SQLException - Specified by:
addArray
in interfacecom.apple.foundationdb.relational.api.RelationalStructBuilder
- Throws:
SQLException
-
addInt
- Specified by:
addInt
in interfacecom.apple.foundationdb.relational.api.RelationalStructBuilder
- Throws:
SQLException
-