@Test public void testGetCost() { HybridInstance hybridInstance = new HybridInstance(); assertEquals(Integer.MAX_VALUE, hybridInstance.getCost()); }
@Override public int getCost() { int c = Integer.MAX_VALUE; for (IRealization realization : getRealizations()) { c = Math.min(realization.getCost(), c); } return c; }
HybridInstance extends RootPersistentEntity implements IRealization { @Override public int getCost() { int c = Integer.MAX_VALUE; for (IRealization realization : getRealizations()) { c = Math.min(realization.getCost(), c); } return c; } }
HybridInstance extends RootPersistentEntity implements IRealization { @Override public int getCost() { int c = Integer.MAX_VALUE; for (IRealization realization : getRealizations()) { c = Math.min(realization.getCost(), c); } return c; }  }
HybridInstance extends RootPersistentEntity implements IRealization { @Override public int getCost() { int c = Integer.MAX_VALUE; for (IRealization realization : getRealizations()) { c = Math.min(realization.getCost(), c); } return c; }  static HybridInstance create(KylinConfig config, String name, List<RealizationEntry> realizationEntries); @Override String resourceName(); List<RealizationEntry> getRealizationEntries(); void setRealizationEntries(List<RealizationEntry> realizationEntries); @Override CapabilityResult isCapable(SQLDigest digest); @Override int getCost(); @Override RealizationType getType(); @Override DataModelDesc getModel(); @Override Set<TblColRef> getAllColumns(); @Override Set<ColumnDesc> getAllColumnDescs(); @Override List<MeasureDesc> getMeasures(); @Override boolean isReady(); @Override String getName(); void setName(String name); @Override String toString(); @Override String getCanonicalName(); @Override KylinConfig getConfig(); void setConfig(KylinConfig config); @Override long getDateRangeStart(); @Override long getDateRangeEnd(); @Override boolean supportsLimitPushDown(); @Override List<TblColRef> getAllDimensions(); IRealization[] getRealizations(); String getResourcePath(); static String concatResourcePath(String hybridName); void setCost(int cost); IRealization getLatestRealization(); @Override int getStorageType(); }
HybridInstance extends RootPersistentEntity implements IRealization { @Override public int getCost() { int c = Integer.MAX_VALUE; for (IRealization realization : getRealizations()) { c = Math.min(realization.getCost(), c); } return c; }  static HybridInstance create(KylinConfig config, String name, List<RealizationEntry> realizationEntries); @Override String resourceName(); List<RealizationEntry> getRealizationEntries(); void setRealizationEntries(List<RealizationEntry> realizationEntries); @Override CapabilityResult isCapable(SQLDigest digest); @Override int getCost(); @Override RealizationType getType(); @Override DataModelDesc getModel(); @Override Set<TblColRef> getAllColumns(); @Override Set<ColumnDesc> getAllColumnDescs(); @Override List<MeasureDesc> getMeasures(); @Override boolean isReady(); @Override String getName(); void setName(String name); @Override String toString(); @Override String getCanonicalName(); @Override KylinConfig getConfig(); void setConfig(KylinConfig config); @Override long getDateRangeStart(); @Override long getDateRangeEnd(); @Override boolean supportsLimitPushDown(); @Override List<TblColRef> getAllDimensions(); IRealization[] getRealizations(); String getResourcePath(); static String concatResourcePath(String hybridName); void setCost(int cost); IRealization getLatestRealization(); @Override int getStorageType();  }