com.scalar.db.sql.statement.builder.JoinStatementBuilder Maven / Gradle / Ivy
package com.scalar.db.sql.statement.builder;
import com.scalar.db.sql.statement.JoinStatement;
public class JoinStatementBuilder {
private JoinStatementBuilder() {}
public static class Start extends Buildable {
Start(String transactionId) {
super(transactionId);
}
}
public static class Buildable {
private final String transactionId;
private Buildable(String transactionId) {
this.transactionId = transactionId;
}
/**
* Builds a JoinStatement object.
*
* @return a JoinStatement object
*/
public JoinStatement build() {
return JoinStatement.create(transactionId);
}
}
}