@Test public void test2Update() throws IOException { HybridManager hybridManager = HybridManager.getInstance(KylinConfig.getInstanceFromEnv()); Assert.assertNull(hybridManager.getHybridInstance("ssb_hybrid")); HybridCubeCLI.main(new String[] { "-name", "ssb_hybrid", "-project", "default", "-model", "ssb", "-cubes", "ssb_cube1,ssb_cube2", "-action", "create" }); HybridInstance hybridInstance = hybridManager.getHybridInstance("ssb_hybrid"); Assert.assertNotNull(hybridManager.getHybridInstance("ssb_hybrid")); Assert.assertEquals("ssb_hybrid", hybridInstance.getName()); Assert.assertEquals(2, hybridInstance.getRealizationEntries().size()); HybridCubeCLI.main(new String[] { "-name", "ssb_hybrid", "-project", "default", "-model", "ssb", "-cubes", "ssb_cube1,ssb_cube2,ssb_cube3", "-action", "update" }); hybridInstance = hybridManager.getHybridInstance("ssb_hybrid"); Assert.assertNotNull(hybridInstance); Assert.assertEquals("ssb_hybrid", hybridInstance.getName()); Assert.assertEquals(3, hybridInstance.getRealizationEntries().size()); }
public static void main(String[] args) { org.apache.kylin.rest.job.HybridCubeCLI cli = new org.apache.kylin.rest.job.HybridCubeCLI(); cli.execute(args); }
HybridCubeCLI { public static void main(String[] args) { org.apache.kylin.rest.job.HybridCubeCLI cli = new org.apache.kylin.rest.job.HybridCubeCLI(); cli.execute(args); } }
HybridCubeCLI { public static void main(String[] args) { org.apache.kylin.rest.job.HybridCubeCLI cli = new org.apache.kylin.rest.job.HybridCubeCLI(); cli.execute(args); }  }
HybridCubeCLI { public static void main(String[] args) { org.apache.kylin.rest.job.HybridCubeCLI cli = new org.apache.kylin.rest.job.HybridCubeCLI(); cli.execute(args); }  static void main(String[] args); }
HybridCubeCLI { public static void main(String[] args) { org.apache.kylin.rest.job.HybridCubeCLI cli = new org.apache.kylin.rest.job.HybridCubeCLI(); cli.execute(args); }  static void main(String[] args);  }