Class InsertStatement.Builder
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.model.InsertStatement.Builder
-
- Enclosing class:
- InsertStatement
public static class InsertStatement.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsertStatement.Builder
addColumn(java.lang.String columnName)
Add a column name to the insert statementInsertStatement.Builder
addColumn(java.lang.String columnName, java.lang.String value)
Add a column with a literal value (e.g.InsertStatement
build()
-
-
-
Method Detail
-
build
public InsertStatement build()
-
addColumn
public InsertStatement.Builder addColumn(java.lang.String columnName)
Add a column name to the insert statement- Parameters:
columnName
-
-
addColumn
public InsertStatement.Builder addColumn(java.lang.String columnName, java.lang.String value)
Add a column with a literal value (e.g. "CURRENT TIMESTAMP")- Parameters:
columnName
-value
-- Returns:
-
-