Examples of beforeFirst()


Examples of org.hsqldb_voltpatches.navigator.RowSetNavigatorClient.beforeFirst()

        if (updateRowSet.size() > 0) {
            count = update(session, baseTable, updateRowSet);
        }

        // insert any non-matched rows
        newData.beforeFirst();

        while (newData.hasNext()) {
            Object[] data = newData.getNext();

            baseTable.insertRow(session, store, data);
View Full Code Here

Examples of org.ofbiz.entity.util.EntityListIterator.beforeFirst()

                eli = delegator.findListIteratorByCondition(dve, cond, null, fieldsToSelect, orderBy, findOpts);

                orderCount = eli.getResultsSizeAfterPartialList();

                // get the partial list for this page
                eli.beforeFirst();
                if (orderCount > viewSize.intValue()) {
                    orderList = eli.getPartialList(lowIndex, viewSize.intValue());
                } else if (orderCount > 0) {
                    orderList = eli.getCompleteList();
                }
View Full Code Here

Examples of org.openrdf.query.impl.MutableTupleQueryResult.beforeFirst()

    MutableTupleQueryResult queryResultTable = new MutableTupleQueryResult(queryResult);
    MutableTupleQueryResult expectedResultTable = new MutableTupleQueryResult(expectedResult);

    if (!QueryResultUtil.equals(queryResultTable, expectedResultTable)) {
      queryResultTable.beforeFirst();
      expectedResultTable.beforeFirst();

      /*
       * StringBuilder message = new StringBuilder(128);
       * message.append("\n============ "); message.append(getName());
       * message.append(" =======================\n");
View Full Code Here

Examples of org.openrdf.result.impl.MutableTupleResult.beforeFirst()

    MutableTupleResult queryResultTable = new MutableTupleResult(queryResult);
    MutableTupleResult expectedResultTable = new MutableTupleResult(expectedResult);

    if (!QueryResultUtil.equals(expectedResultTable, queryResultTable)) {
      queryResultTable.beforeFirst();
      expectedResultTable.beforeFirst();

      /*
       * StringBuilder message = new StringBuilder(128);
       * message.append("\n============ "); message.append(getName());
       * message.append(" =======================\n");
View Full Code Here

Examples of org.openrdf.result.impl.MutableTupleResult.beforeFirst()

      resultsEqual = QueryResultUtil.equals(queryResultTable, expectedResultTable);
    }

    if (!resultsEqual) {
      queryResultTable.beforeFirst();
      expectedResultTable.beforeFirst();

      /*
       * StringBuilder message = new StringBuilder(128);
       * message.append("\n============ "); message.append(getName());
       * message.append(" =======================\n");
View Full Code Here

Examples of org.pentaho.commons.connection.IPentahoResultSet.beforeFirst()

    if ( reportSpec != null ) {
      if ( !isDefinedInput( AbstractJFreeReportComponent.REPORTGENERATEDEFN_REPORTTEMP_PERFQRY )
          || "true".equals( getInputParameter( AbstractJFreeReportComponent.REPORTGENERATEDEFN_REPORTTEMP_PERFQRY ) ) ) { //$NON-NLS-1$
        IPentahoResultSet pentahoResultSet = getResultSet( getReportSpec() );
        factory = new PentahoTableDataFactory();
        pentahoResultSet.beforeFirst();
        factory.addTable( AbstractJFreeReportComponent.DATACOMPONENT_DEFAULTINPUT, new PentahoTableModel(
              pentahoResultSet ) );

      } else {
        factory = super.getDataFactory();
View Full Code Here

Examples of org.pentaho.platform.plugin.services.connections.javascript.JavaScriptResultSet.beforeFirst()

    assertEquals( "a", data.next()[0] );
    assertEquals( "b", data.next()[0] );
    assertEquals( "c", data.next()[0] );
    assertNull( data.next() );

    data.beforeFirst();

    assertEquals( "a", data.next()[0] );
    assertEquals( "b", data.next()[0] );
    assertEquals( "c", data.next()[0] );
    assertNull( data.next() );
View Full Code Here

Examples of org.springframework.jdbc.support.rowset.SqlRowSet.beforeFirst()

        final SqlRowSet columnDefinitions = getDatatableMetaData(datatable);

        final List<ResultsetColumnHeaderData> columnHeaders = new ArrayList<>();

        columnDefinitions.beforeFirst();
        while (columnDefinitions.next()) {
            final String columnName = columnDefinitions.getString("COLUMN_NAME");
            final String isNullable = columnDefinitions.getString("IS_NULLABLE");
            final String isPrimaryKey = columnDefinitions.getString("COLUMN_KEY");
            final String columnType = columnDefinitions.getString("DATA_TYPE");
View Full Code Here

Examples of org.uengine.kernel.ProcessVariableValue.beforeFirst()

        if(variable == null) throw new UEngineException("Undeclared process variable reference : " + varKey);
       
        ProcessVariableValue theValue = definition.getProcessVariable(varKey).getMultiple(instance, scope);
       
        //ProcessVariableValue theValue = instance.getMultiple(scope, varKey);
        theValue.beforeFirst();
        if(theValue.size()==1)
          return theValue.getValue();
        else
          return theValue;
      }else{
View Full Code Here

Examples of org.uengine.kernel.RoleMapping.beforeFirst()

      resultsForTransformers.put(this, result);
     
      if(result instanceof RoleMapping){
        RoleMapping rm = (RoleMapping)result;
        try {
          rm.beforeFirst();
          rm.fill(instance);
          String endpoint = rm.getEndpoint();
          result = rm;
        } catch (Exception e) {
          e.printStackTrace();
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.