Package org.cipres.treebase.dao.jdbc

Examples of org.cipres.treebase.dao.jdbc.MatrixJDBC


          LOGGER
            .debug("convertMatrices: matrix: " + data.getName() + " -" + data.getNumChars()); //$NON-NLS-1$
        }

        MesquiteMatrixConverter converter = getConverter(data, pDataTypeHome, pItemDefHome);
        MatrixJDBC matrixJDBC = converter.convertMatrix(data, pDataSet);

        CharacterMatrix m = matrixJDBC.getCharacterMatrix();
        m.setNexusFileName(pNexusFileName);
        pDataSet.getMatrices().add(m);

        // setup jdbc dataset for direct jdbc batch inserts:
        // pDataSet.getDataJDBC().addData(m, data, converter);
View Full Code Here


   *
   * @param pData
   * @return
   */
  private MatrixJDBC convertMatrix(CharacterData pMesqMatrix, NexusDataSet pDataSet) {
    MatrixJDBC matrixJDBC = createMatrix(pMesqMatrix);
    CharacterMatrix m = matrixJDBC.getCharacterMatrix();

    // matrix properties:
    m.setTitle(pMesqMatrix.getName());
    m.setMissingSymbol(pMesqMatrix.getUnassignedSymbol());
    m.setGapSymbol(pMesqMatrix.getInapplicableSymbol());
View Full Code Here

TOP

Related Classes of org.cipres.treebase.dao.jdbc.MatrixJDBC

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.