confTo.set(Pig8CubeIncrementalCompilerBean.PROP_CUBEMODEL, encodeCubeModel(yamlStr));
}
private static Yaml getYaml() {
Constructor c = new Constructor(SimpleCube.class);
Representer rp = new Representer();
// understand !SimpleCuboid as custom tag
addTag(SimpleCuboid.class, c, rp);
addTag(HexDimension.class, c, rp);
addTag(UTF8CharDimension.class, c, rp);