Package com.asakusafw.dmdl.directio.hive.common

Examples of com.asakusafw.dmdl.directio.hive.common.Namer


        Map<String, AstAttributeElement> elements = AttributeUtil.getElementMap(attribute);
        OrcFileTrait trait = analyzeElements(environment, attribute, elements);
        declaration.putTrait(OrcFileTrait.class, trait);

        HiveDataModelTrait baseTrait = HiveDataModelTrait.get(declaration);
        baseTrait.addDataFormatNamer(new Namer() {
            @Override
            public Name computeName(EmitContext context, ModelDeclaration model) {
                return OrcFileEmitter.getClassName(context, model);
            }
        });
View Full Code Here


        Map<String, AstAttributeElement> elements = AttributeUtil.getElementMap(attribute);
        ParquetFileTrait trait = analyzeElements(environment, attribute, elements);
        declaration.putTrait(ParquetFileTrait.class, trait);

        HiveDataModelTrait baseTrait = HiveDataModelTrait.get(declaration);
        baseTrait.addDataFormatNamer(new Namer() {
            @Override
            public Name computeName(EmitContext context, ModelDeclaration model) {
                return ParquetFileEmitter.getClassName(context, model);
            }
        });
View Full Code Here

TOP

Related Classes of com.asakusafw.dmdl.directio.hive.common.Namer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.