com.github.vlachenal.sql.UpdateBuilder Maven / Gradle / Ivy
/*
SQL request builder: Dynamic SQL request builder for java
Copyright (C) 2018 Vincent Lachenal
This file is part of SQL request builder.
SQL request builder is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
SQL request builder is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with SQL request builder. If not, see .
*/
package com.github.vlachenal.sql;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
/**
* SQL {@code UPDATE} request builder.
* This class should be instantiated through {@link SQL} static method.
*
* @since 0.5
*
* @author Vincent Lachenal
*/
public class UpdateBuilder {
// Attributes +
/** SQL request string buffer */
final StringBuilder buffer;
/** Clauses values */
final List