Tabnine Logo
CloneSchema.create
Code IndexAdd Tabnine to your IDE (free)

How to use
create
method
in
net.hydromatic.optiq.impl.clone.CloneSchema

Best Java code snippets using net.hydromatic.optiq.impl.clone.CloneSchema.create (Showing top 3 results out of 315)

origin: net.hydromatic/optiq

 public Schema create(
   MutableSchema parentSchema,
   String name,
   Map<String, Object> operand) {
  JdbcSchema jdbcSchema =
    JdbcSchema.create(parentSchema, name + "$source", operand);
  return CloneSchema.create(parentSchema, name, jdbcSchema);
 }
}
origin: net.hydromatic/optiq

@Test public void testCloneSchema()
  throws ClassNotFoundException, SQLException {
 final OptiqConnection connection = JdbcTest.getConnection(null, false);
 Schema foodmart = connection.getRootSchema().getSubSchema("foodmart");
 CloneSchema.create(connection.getRootSchema(), "foodmart2", foodmart);
 Statement statement = connection.createStatement();
 ResultSet resultSet =
   statement.executeQuery(
     "select count(*) from \"foodmart2\".\"time_by_day\"");
 assertTrue(resultSet.next());
 assertEquals(730, resultSet.getInt(1));
 resultSet.close();
 connection.close();
}
origin: net.hydromatic/optiq

    "foodmart");
if (withClone) {
 CloneSchema.create(
   optiqConnection.getRootSchema(), "foodmart2", foodmart);
net.hydromatic.optiq.impl.cloneCloneSchemacreate

Javadoc

Creates a CloneSchema within another schema.

Popular methods of CloneSchema

  • <init>
    Creates a CloneSchema.
  • createCloneTable
  • addTable

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (Timer)
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Reference (javax.naming)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now