Package com.asakusafw.directio.hive.serde

Examples of com.asakusafw.directio.hive.serde.DataModelDescriptorEditor


            Map<String, ? extends ValueSerde> edits,
            String... removes) {
        OrcFileFormat<T> format = new OrcFileFormat<T>(
                "testing",
                new OrcFormatConfiguration(),
                new DataModelDescriptorEditor(FieldPropertyDescriptor.extract(type))
                    .editAll(edits)
                    .removeAll(Arrays.asList(removes))
                    .build());
        format.setConf(new org.apache.hadoop.conf.Configuration());
        return format;
View Full Code Here


            Map<String, ? extends ValueSerde> edits,
            String... removes) {
        ParquetFileFormat<T> format = new ParquetFileFormat<T>(
                "testing",
                new ParquetFormatConfiguration(),
                new DataModelDescriptorEditor(FieldPropertyDescriptor.extract(type))
                    .editAll(edits)
                    .removeAll(Arrays.asList(removes))
                    .build());
        format.setConf(new org.apache.hadoop.conf.Configuration());
        return format;
View Full Code Here

TOP

Related Classes of com.asakusafw.directio.hive.serde.DataModelDescriptorEditor

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.