Examples of Record


Examples of Control.Record

    } catch (UnsupportedLookAndFeelException e1) {
      e1.printStackTrace();
    }
   
    Settings settings = null;
    Record record = null;
   
    try {
      FileInputStream fileinput = new FileInputStream(CLIENT_DATA_URL + "settings.dat");
      ObjectInputStream input = new ObjectInputStream(fileinput);
      settings = (Settings) input.readObject();
      input.close();
    } catch (FileNotFoundException e) {
     
      settings = new Settings();
     
    } catch (IOException e) {
    } catch (ClassNotFoundException e) {
    }

    try {
      ObjectInputStream objectinput = new ObjectInputStream(new FileInputStream(CLIENT_DATA_URL + "records.dat"));
      record = (Record) objectinput.readObject();
      objectinput.close();
    } catch (FileNotFoundException e) {
     
      record = new Record();
     
    } catch (IOException e) {
      e.printStackTrace();
    } catch (ClassNotFoundException e) {
      e.printStackTrace();
View Full Code Here

Examples of cc.mallet.cluster.Record

          fi++;


          File record = records.get(k);
          labels.add(label);
          instances.add(new Instance(new Record(fieldAlph, valueAlph, parseFile(record)),
                        new Integer(label), record.toString(),
                        record.toString()));
        }
      }
      clusterings[i] =
View Full Code Here

Examples of center.task.Record

    public SAXHandler(Context cntx) {
      super();
      doc = XMLFileWaiter.getDocument();
      this.cntx = cntx;
      this.record = new Record();
      prc.regResourceName(record, "all_objects");
    }
View Full Code Here

Examples of ch.ethz.inf.vs.scandium.dtls.Record

   
    if (session != null) {
      DTLSMessage closeNotify = new AlertMessage(AlertLevel.WARNING, AlertDescription.CLOSE_NOTIFY);
     
      DTLSFlight flight = new DTLSFlight();
      flight.addMessage(new Record(ContentType.ALERT, session.getWriteEpoch(), session.getSequenceNumber(), closeNotify, session));
      flight.setRetransmissionNeeded(false);
     
      cancelPreviousFlight(peerAddress);
 
      flight.setPeerAddress(peerAddress);
View Full Code Here

Examples of com.acme.jpa.model.Record

    * the entity is retrieved from a transaction-scoped persistence context owned by that EJB.
    */
   @Test
   public void entity_should_not_be_managed_by_transaction_scoped_pc_outside_active_ejb()
   {
      Record record = helper.retrieveById(Record.class, idOfFirstRecord);
      assertFalse(helper.isManaging(record));
   }
View Full Code Here

Examples of com.aerospike.client.Record

      operations[count++] = Operation.add(new Bin(bin.name, bin.value));
    }
    operations[count] = Operation.get();

    try {
      Record record = super.operate(getWritePolicy(opts, wOpts), new Key(namespace, set, Value.get(key)), operations);
      return getResult(record);
    }
    catch (AerospikeException ae) {
      return getResult(ae);
    }
View Full Code Here

Examples of com.alee.managers.language.data.Record

        // Merging current level records
        if ( dictionary.getRecords () != null )
        {
            for ( final Record record : dictionary.getRecords () )
            {
                final Record clone = record.clone ();
                clone.setKey ( prefix + clone.getKey () );
                mergeInto.addRecord ( clone );
            }
        }

        // Merging language information data
View Full Code Here

Examples of com.amazonaws.services.kinesis.model.Record

        scope.addData(RECORDS_PROCESSED_METRIC, records.size(), StandardUnit.Count);
        ListIterator<Record> recordIterator = records.listIterator();
        BigInteger maxSequenceNumber = BigInteger.ZERO;

        while (recordIterator.hasNext()) {
            Record record = recordIterator.next();
            BigInteger sequenceNumber = new BigInteger(record.getSequenceNumber());
            if (maxSequenceNumber.compareTo(sequenceNumber) < 0) {
                maxSequenceNumber = sequenceNumber;
            }

            scope.addData(DATA_BYTES_PROCESSED_METRIC, record.getData().limit(), StandardUnit.Bytes);
        }

        return maxSequenceNumber.toString();
    }
View Full Code Here

Examples of com.cloudera.cdk.morphline.api.Record

    assertFalse(iter.hasNext());
  }
 
  private ListMultimap<String, Object> next(Iterator<SolrDocument> iter) {
    SolrDocument doc = iter.next();
    Record record = toRecord(doc);
    record.removeAll("_version_"); // the values of this field are unknown and internal to solr
    return record.getFields();   
  }
View Full Code Here

Examples of com.dbxml.db.core.data.Record

      try {
         long pos = findValue(tx, key);
         Page page = getPage(tx, pos);
         Value v = readValue(tx, page);
         RecordMetaData md = buildMetaData(page);
         return new Record(key, v, md);
      }
      catch ( BTreeNotFoundException b ) {
      }
      catch ( BTreeException b ) {
         throw b;
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.