All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scalar.db.sql.statement.builder.JoinStatementBuilder Maven / Gradle / Ivy

There is a newer version: 3.14.0
Show newest version
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);
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy