XDimAttribute xd = XCF.createXDimAttribute(); xd.setName(cd.getName()); xd.setDescription(cd.getDescription());
XDimAttribute xd = XCF.createXDimAttribute(); xd.setName(cd.getName()); xd.setDescription(cd.getDescription());
XDimAttribute xd1 = cubeObjectFactory.createXDimAttribute(); xd1.setName("col3Added"); xd1.setType("STRING");
cube.getMeasures().getMeasure().add(xm2); XDimAttribute xd2 = cubeObjectFactory.createXDimAttribute(); xd2.setName("dim3"); xd2.setType("STRING");
XDimAttribute xd3 = cubeObjectFactory.createXDimAttribute(); xd3.setName("col3"); xd3.setType("STRING"); XDimAttribute xd4 = cubeObjectFactory.createXDimAttribute(); xd4.setName("col4"); xd4.setDescription("hierarchical column"); xd4.setDisplayString("Column4"); XDimAttributes hierarchy = new XDimAttributes(); XDimAttribute hd1 = cubeObjectFactory.createXDimAttribute(); hd1.setName("col4-h1"); hd1.setType("STRING"); hd1.getValues().add("Val3-h1"); hierarchy.getDimAttribute().add(hd1); XDimAttribute hd2 = cubeObjectFactory.createXDimAttribute(); hd2.setName("col4-h2"); hd2.setType("STRING"); hd2.setDisplayString("Column4-h2"); hierarchy.getDimAttribute().add(hd2); XDimAttribute hd3 = cubeObjectFactory.createXDimAttribute(); hd3.setName("col4-h3"); hd3.setType("STRING"); XDimAttribute xd5 = cubeObjectFactory.createXDimAttribute(); xd5.setName("col5"); xd5.setType("INT");
new XProperty().withName(MetastoreUtil.getDimTimedDimensionKey(dimName)).withValue("dt")) ); XDimAttribute xd1 = cubeObjectFactory.createXDimAttribute(); xd1.setName("col1"); xd1.setType("STRING"); XDimAttribute xd2 = cubeObjectFactory.createXDimAttribute(); xd2.setName("col2"); xd2.setType("INT");
cube.setJoinChains(new XJoinChains()); cube.setProperties(new XProperties()); XDimAttribute xd1 = cubeObjectFactory.createXDimAttribute(); xd1.setName("dim1"); xd1.setType("STRING"); xd1.setNumDistinctValues(2000L); XDimAttribute xd2 = cubeObjectFactory.createXDimAttribute(); xd2.setName("dim2"); xd2.setType("INT"); XDimAttribute xd3 = cubeObjectFactory.createXDimAttribute(); xd3.setName("testdim2col2"); xd3.setType("STRING"); XDimAttribute xd4 = cubeObjectFactory.createXDimAttribute(); xd4.setName("dim4"); xd4.setType("struct<a:INT,b:array<string>,c:map<int,array<struct<x:int,y:array<int>>>");