public boolean supportsLimitPushDown() { return getStorageType() != IStorageAware.ID_HBASE && getStorageType() != IStorageAware.ID_HYBRID; }
@Override public int getStorageType() { return getDescriptor().getStorageType(); }
protected void changeHtableHost(CubeInstance cube) { if (cube.getDescriptor().getStorageType() != IStorageAware.ID_SHARDED_HBASE) return; for (CubeSegment segment : cube.getSegments()) { operations .add(new Opt(OptType.CHANGE_HTABLE_HOST, new Object[] { segment.getStorageLocationIdentifier() })); } }
public void checkCube(String cubeName) { List<String> segFullNameList = Lists.newArrayList(); CubeInstance cube = CubeManager.getInstance(dstCfg).getCube(cubeName); if (cube.getDescriptor().getStorageType() == IStorageAware.ID_SHARDED_HBASE) addHTableNamesForCube(cube, segFullNameList); check(segFullNameList); }
newCubeDesc.setRetentionRange(cubeDesc.getRetentionRange()); newCubeDesc.setEngineType(cubeDesc.getEngineType()); newCubeDesc.setStorageType(cubeDesc.getStorageType()); newCubeDesc.setAggregationGroups(cubeDesc.getAggregationGroups()); newCubeDesc.setOverrideKylinProps(cubeDesc.getOverrideKylinProps());
public boolean supportsLimitPushDown() { return getStorageType() != IStorageAware.ID_HBASE && getStorageType() != IStorageAware.ID_HYBRID; }
@Override public int getStorageType() { return getDescriptor().getStorageType(); }
protected void changeHtableHost(CubeInstance cube) { if (cube.getDescriptor().getStorageType() != IStorageAware.ID_SHARDED_HBASE) return; for (CubeSegment segment : cube.getSegments()) { operations .add(new Opt(OptType.CHANGE_HTABLE_HOST, new Object[] { segment.getStorageLocationIdentifier() })); } }
public void checkCube(String cubeName) { List<String> segFullNameList = Lists.newArrayList(); CubeInstance cube = CubeManager.getInstance(dstCfg).getCube(cubeName); if (cube.getDescriptor().getStorageType() == IStorageAware.ID_SHARDED_HBASE) addHTableNamesForCube(cube, segFullNameList); check(segFullNameList); }
newCubeDesc.setRetentionRange(cubeDesc.getRetentionRange()); newCubeDesc.setEngineType(cubeDesc.getEngineType()); newCubeDesc.setStorageType(cubeDesc.getStorageType()); newCubeDesc.setAggregationGroups(cubeDesc.getAggregationGroups()); newCubeDesc.setOverrideKylinProps(cubeDesc.getOverrideKylinProps());