Package org.teiid.query.mapping.xml

Examples of org.teiid.query.mapping.xml.MappingDocument.clone()


        // lookup mapping node for the user command
        GroupSymbol group = xmlQuery.getFrom().getGroups().iterator().next();

        MappingDocument doc = (MappingDocument)metadata.getMappingNode(group.getMetadataID());
        doc = (MappingDocument)doc.clone();
       
        // make a copy of the document
        planEnv.mappingDoc = doc;
    planEnv.documentGroup = group;
        planEnv.xmlCommand = (Query) command;
View Full Code Here


            } finally {
              try {
          inputStream.close();
              } catch(Exception e) {}
            }
            return (MappingDocument)mappingDoc.clone();
        }

        return null;
    }
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.