public ArrayType(IDataType elemType) { super(arrayTypeName(elemType), null); this.elemType = elemType; }
public MapType(IDataType keyType, IDataType valueType) { super(mapTypeName(keyType, valueType), null); this.keyType = keyType; this.valueType = valueType; }
public ArrayType(IDataType elemType) { super(arrayTypeName(elemType), null); this.elemType = elemType; }
public MapType(IDataType keyType, IDataType valueType) { super(mapTypeName(keyType, valueType), null); this.keyType = keyType; this.valueType = valueType; }
public static String arrayTypeName(IDataType elemType) { return arrayTypeName(elemType.getName()); }
public static String mapTypeName(IDataType keyType, IDataType valueType) { assert keyType != null; assert valueType != null; return mapTypeName(keyType.getName(), valueType.getName()); }
public static String arrayTypeName(IDataType elemType) { return arrayTypeName(elemType.getName()); }
public static String mapTypeName(IDataType keyType, IDataType valueType) { assert keyType != null; assert valueType != null; return mapTypeName(keyType.getName(), valueType.getName()); }
HierarchicalTypeDefinition<ClassType> testRelationalDataSetDef = TypesUtil.createClassTypeDef("TestRelationalDataSet", ImmutableSet.of("TestDataSet"), new AttributeDefinition("columns", DataTypes.arrayTypeName("TestColumn"), Multiplicity.OPTIONAL, true, null)); HierarchicalTypeDefinition<ClassType> testTableDef = TypesUtil.createClassTypeDef("TestTable", ImmutableSet.of("TestRelationalDataSet"),
HierarchicalTypeDefinition<ClassType> testRelationalDataSetDef = TypesUtil.createClassTypeDef("TestRelationalDataSet", ImmutableSet.of("TestDataSet"), new AttributeDefinition("columns", DataTypes.arrayTypeName("TestColumn"), Multiplicity.OPTIONAL, true, null)); HierarchicalTypeDefinition<ClassType> testTableDef = TypesUtil.createClassTypeDef("TestTable", ImmutableSet.of("TestRelationalDataSet"),
new AttributeDefinition("b", DataTypes.arrayTypeName(DataTypes.STRING_TYPE.getName()), Multiplicity.COLLECTION, false, null)); try {
new AttributeDefinition("b", DataTypes.arrayTypeName(DataTypes.STRING_TYPE.getName()), Multiplicity.COLLECTION, false, null)); try {