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

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

The newest version!
package com.scalar.db.sql.statement.builder;

import com.scalar.db.sql.statement.UseStatement;

public class UseStatementBuilder {

  private UseStatementBuilder() {}

  public static class Start extends Buildable {
    Start(String namespaceName) {
      super(namespaceName);
    }
  }

  public static class Buildable {
    private final String namespaceName;

    private Buildable(String namespaceName) {
      this.namespaceName = namespaceName;
    }

    /**
     * Builds a UseStatement object.
     *
     * @return a UseStatement object
     */
    public UseStatement build() {
      return UseStatement.create(namespaceName);
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy