} // constructor

        // @Override
        public void offerSources(DocumentSourceProvider documentSourceProvider)
        {
            DocumentSource document_source = documentSourceProvider.getMixedDocumentSourceForSampling();

            try
            {
                while (true)
                {
                    Document document = document_source.next();
                    if (document == null)
                    {
                        break;
                    }
                    string tableName = determineTable(document);
                    addObservation(tableName, document);
                }
            }
            finally
            {
                document_source.close();
            }
        } // offerSources()
Exemplo n.º 2
0
        } // constructor

        #endregion Constructors


        // @Override
        public void offerSources(DocumentSourceProvider documentSourceProvider)
        {
            DocumentSource documentSource = documentSourceProvider.getMixedDocumentSourceForSampling();

            getTableBuilder(_tableName).offerSource(documentSource);
        } // offerSources()