Package org.jitterbit.integration.data.structure.database

Examples of org.jitterbit.integration.data.structure.database.TableUsage$Parser


        super.setUp();
        WorkspaceImpl wsp = (WorkspaceImpl) superuser.getWorkspace();
        QueryManagerImpl qm = (QueryManagerImpl) wsp.getQueryManager();
        QueryObjectModelFactoryImpl factory = (QueryObjectModelFactoryImpl) qm
                .getQOMFactory();
        parser = new Parser(factory, superuser.getValueFactory());
    }
View Full Code Here


  private ManifestParseTree parse(InputStream inputStream) throws IOException, TokenizerException, ParserException {
    Preprocessor preprocessor = new ManifestPreprocessor();
    List<InputLine> contents = preprocessor.process(inputStream);
    Tokenizer tokenizer = new ManifestTokenizer(contents);

    Parser parser = new ManifestParser();
    return parser.parse(tokenizer);
  }
View Full Code Here

  private ManifestParseTree parse(InputStream inputStream) throws IOException, TokenizerException, ParserException {
    Preprocessor preprocessor = new ManifestPreprocessor();
    List<InputLine> contents = preprocessor.process(inputStream);
    Tokenizer tokenizer = new ManifestTokenizer(contents);

    Parser parser = new ManifestParser();
    return parser.parse(tokenizer);
  }
View Full Code Here

        }
    }

    private void deriveTableUsageFromTableList(DatabaseStructure struct, SelectedTables selectedObjects) {
        BeginEndQuote quotes = struct.getBeginEndQuote();
        TableUsage usage = struct.getDbTables().getTableUsage(quotes);
        for (DatabaseObject o : selectedObjects.getIncludedTables()) {
            int count = usage.getUsageCount(o.getName());
            if (count > 0) {
                selectedObjects.setTableUsage(o, count);
            }
        }
    }
View Full Code Here

        } else {
            // Either the project was created in an ancient version, or
            // it was downloaded from a server. Deduce the value of the property
            // from the DbTables information.
            BeginEndQuote quotes = getBeginEndQuote();
            TableUsage tables = dbTables.getTableUsage(quotes);
            includeSchema = tables.isSchemaIncluded();
        }
        setIncludeSchemaName(includeSchema);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.structure.database.TableUsage$Parser

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.