Examples of fetch()


Examples of KFramework30.Communication.dbTransactionClientClass.fetch()

                // STATUS COMBO
                dbTransactionClientClass query = new dbTransactionClientClass(configuration, log);
                query.prepare( " select FACSTATUS_STATUS from SAMPLE_FACTURA_STATUS " );
                query.executeQuery( 0 , 999 );                 
                Vector< String > options = new Vector< String >();
                while( query.fetch() ) options.add( (String )query.getField( "FACSTATUS_STATUS" ) );               
               
                setColumnEditor("STATUS", new ComboCellEditorClass( options,  tableModel, log, true ) );
                setColumnRenderer("STATUS", new ComboCellRendererClass( options, tableModel, log) );
                  
                // TOTAL
View Full Code Here

Examples of ariba.ui.table.AWTDisplayGroup.fetch()

    public static void updateQuerySpecification (AWRequestContext requestContext, QuerySpecification spec)
    {
        AWTDisplayGroup displayGroup = setupDisplayGroup(requestContext);

        ((ObjectContextDataSource)displayGroup.dataSource()).setQuerySpecification(spec);
        displayGroup.fetch();
    }
}
View Full Code Here

Examples of bm.db.Table.fetch()

                        case GET_PARENT         :
                            return (Instance) target.getAttachment( "parent" );

                        case FETCH              :
                            return sendRow(
                                    table.fetch(
                                            Conversor.toInteger(
                                                    args[0].get( "value" )
                                            ).intValue()
                                    ),
                                    target
View Full Code Here

Examples of com.alibaba.otter.canal.parse.inbound.mysql.dbsync.DirectLogFetcher.fetch()

        LogDecoder decoder = new LogDecoder();
        decoder.handle(LogEvent.ROTATE_EVENT);
        decoder.handle(LogEvent.QUERY_EVENT);
        decoder.handle(LogEvent.XID_EVENT);
        LogContext context = new LogContext();
        while (fetcher.fetch()) {
            LogEvent event = null;
            event = decoder.decode(fetcher, context);

            if (event == null) {
                throw new CanalParseException("parse failed");
View Full Code Here

Examples of com.basho.riak.client.bucket.Bucket.fetch()

        long hoursSince1970 = timeperiod / 240;

        Bucket myBucket = null;
        try {
            myBucket = riakClient.fetchBucket(accountName + ";" + hoursSince1970).execute();
            BasicMetricHour storedMetricHour = myBucket.fetch("" + guiPath, BasicMetricHour.class).execute();
            if (storedMetricHour == null) {
                storedMetricHour = new BasicMetricHour(guiPath, accountName, hoursSince1970, valueType.toString(), unitType.toString());
            }

            storedMetricHour.addStatistic(new BasicLiveStatistics(guiPath, accountName, timeperiod, valueDouble, valueType.value(), unitType.value(), count));
View Full Code Here

Examples of com.cloudera.iterativereduce.yarn.avro.generated.IterativeReduceService.fetch()

    assertEquals(1, masterPrc.waiting(workerOne, 0, 1));
    assertEquals(1, masterPrc.waiting(workerTwo, 0, 1));
   
    // Fetch
    UpdateableInt update = new UpdateableInt();
    update.fromBytes(masterPrc.fetch(workerOne, 1));
    assertEquals(Integer.valueOf(200), update.get());
   
    // Complete
    masterPrc.complete(workerOne, progress);
    masterPrc.error(workerTwo, "An error occurred");
View Full Code Here

Examples of com.cubusmail.mail.IMailFolder.fetch()

          int pagedIndex = 0;
          for (int msgIndex = start; msgIndex < start + pageSize; msgIndex++) {
            pagedMessages[pagedIndex++] = msgs[msgIndex];
          }
          FetchProfile completeProfile = MessageUtils.createFetchProfile( true, null );
          currentFolder.fetch( pagedMessages, completeProfile );

          String[][] messageStringArray = new String[pageSize][MessageListFields.values().length];
          Preferences preferences = SessionManager.get().getPreferences();

          // get date formats for message list date
View Full Code Here

Examples of com.cubusmail.server.mail.IMailFolder.fetch()

          int pagedIndex = 0;
          for (int msgIndex = start; msgIndex < start + pageSize; msgIndex++) {
            pagedMessages[pagedIndex++] = msgs[msgIndex];
          }
          FetchProfile completeProfile = MessageUtils.createFetchProfile( true, null );
          currentFolder.fetch( pagedMessages, completeProfile );

          Preferences preferences = SessionManager.get().getPreferences();

          GWTMessageRecord[] messageStringArray = ConvertUtil.convertMessagesToStringArray(
              getApplicationContext(), preferences, (IMAPFolder) currentFolder.getFolder(), pageSize,
View Full Code Here

Examples of com.data2semantics.yasgui.server.fetchers.AutocompletionFetcher.fetch()

        fetcher = new PropertiesFetcher(endpoint, dbHelper);
      } else {
        fetcher = new ClassesFetcher(endpoint, dbHelper);
      }
      try {
        fetcher.fetch();
      } catch (Exception e) {
        statusObj = generateStatusObject("failed", "Exception message: " + e.getMessage(), AutocompletionStatusLevel.ERROR);
      }
      fetchCompletions(FetchMethod.QUERY_RESULTS);
    }
View Full Code Here

Examples of com.esri.sde.sdk.client.SeQuery.fetch()

     
      // it is not documented in the ArcSDE API how you know there are no more rows to fetch!
      // I'm assuming: query.fetch returns null (empiric tests indicate this assumption is correct).
      boolean allRowsFetched = false;
      while(! allRowsFetched) {
        SeRow row = query.fetch();
        if(row != null) {
          ByteArrayInputStream bytes = row.getBlob(0);
          byte [] buff = new byte[bytes.available()];
          bytes.read(buff);
          String document = new String(buff, Constants.ENCODING);
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.