Examples of MetadataProcessor


Examples of org.teiid.dqp.internal.process.MetaDataProcessor

    public TestStaticMetadataProvider(String name) {
        super(name);
    }

    private MetadataProvider example1() throws Exception {
      MetaDataProcessor processor = new MetaDataProcessor(null, null, "vdb", 1); //$NON-NLS-1$
        Map[] columnMetadata = new Map[] {
            processor.getDefaultColumn("table", "c1", String.class), //$NON-NLS-1$ //$NON-NLS-2$
            processor.getDefaultColumn("table", "c2", Integer.class) //$NON-NLS-1$ //$NON-NLS-2$
        };              
       
        return new MetadataProvider(columnMetadata);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.