Package org.apache.derby.iapi.sql.dictionary

Examples of org.apache.derby.iapi.sql.dictionary.RowList


    throws StandardException
  {
    TabInfo ti =  (catalogNumber < NUM_CORE) ? coreInfo[catalogNumber] :
      getNonCoreTI(catalogNumber);
    CatalogRowFactory crf = ti.getCatalogRowFactory();
    RowList rl = new RowList();

    for (int index = 0; index < td.length; index++)
    {
      ExecRow row = crf.makeRow(td[index], parent);
      rl.add(row);
    }

    int insertRetCode = ti.insertRowList( rl, tc );
    if (!allowDuplicates && insertRetCode != TabInfo.ROWNOTDUPLICATE)
    {
View Full Code Here


   * @exception StandardException    Thrown on failure
   */
  public int insertRow( ExecRow row, TransactionController tc, boolean wait)
    throws StandardException
  {
    RowList          rowList = new RowList( this );

    rowList.add(row);

    RowLocation[]       notUsed = new RowLocation[1];

    return insertRowListImpl(rowList,tc,notUsed, wait);
  }
View Full Code Here

   * @exception StandardException    Thrown on failure
   */
  public int insertRow( ExecRow row, LanguageConnectionContext lcc )
    throws StandardException
  {
    RowList          rowList = new RowList( this );

    rowList.add(row);

    return  insertRowList( rowList, lcc );
  }
View Full Code Here

   @exception StandardException Thrown on failure
   */
  public RowLocation insertRowAndFetchRowLocation(ExecRow row, TransactionController tc)
    throws StandardException
  {
    RowList  rowList = new RowList( this );
    rowList.add(row);
    RowLocation[] rowLocationOut = new RowLocation[1];
    insertRowListImpl(rowList,tc,rowLocationOut, true);
    return rowLocationOut[0];
  }
View Full Code Here

TOP

Related Classes of org.apache.derby.iapi.sql.dictionary.RowList

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.