Examples of readLong()


Examples of org.openquark.cal.internal.serialization.RecordInputStream.readLong()

            RecordInputStream ris = new RecordInputStream(is);

            try {
                // read the timestamp.
                ris.findRecord(ModuleSerializationTags.SERIALIZATION_INFO);
                this.timeStamp = ris.readLong();
               
                // read the code info
                this.codeInfo = Module.loadGeneratedCodeInfo(ris);
                ris.skipRestOfRecord();
View Full Code Here

Examples of org.openrdf.http.client.connections.HTTPRequest.readLong()

      request.sendQueryString(getParams(subj, pred, obj, includeInferred, contexts));
      execute(request);
      if (request.isNotModified()) {
        return null;
      }
      return request.readLong();
    }
    catch (NumberFormatException e) {
      throw new StoreException("Server responded with invalid size value");
    }
    catch (IOException e) {
View Full Code Here

Examples of org.persvr.util.BufferedDataInput.readLong()

          } else
            break;
        } while (true);
        //TODO: Make the last one a special entry that records the size of the linked list 
      }
      allDescendants = bdi.readLong();
      entries = new IndexEntry[entriesList.size()];
      entriesList.toArray(entries);
    }

    IndexNode loadChildIndexNode(long reference) throws IOException {
View Full Code Here

Examples of org.springframework.batch.item.file.transform.FieldSet.readLong()

   
    if(line.charAt(0) == 'F'){
      //line starts with F, so the footer tokenizer should tokenize it.
      FieldSet fs = footerTokenizer.tokenize(line);
      long customerUpdateTotal = stepExecution.getReadCount();
      long fileUpdateTotal = fs.readLong(1);
      if(customerUpdateTotal != fileUpdateTotal){
        throw new IllegalStateException("The total number of customer updates in the file footer does not match the " +
            "number entered  File footer total: [" + fileUpdateTotal + "] Total encountered during processing: [" +
            customerUpdateTotal + "]");
      }
View Full Code Here

Examples of org.voltdb.messaging.FastDeserializer.readLong()

            ArrayList<VoltType> types = new ArrayList<VoltType>();
            ArrayList<String> names = new ArrayList<String>();

            byte is_replicated = fds.readByte();
            int p_id = fds.readInt();
            long t_id = fds.readLong();
            String t_name = fds.readString();
            int colcnt = fds.readInt();
            for (int jj = 0; jj < colcnt; jj++) {
                names.add(fds.readString());
                types.add(VoltType.get((byte)fds.readInt()));
View Full Code Here

Examples of parquet.column.values.plain.PlainValuesReader.LongPlainValuesReader.readLong()

      final byte[] dictionaryBytes = dictionaryPage.getBytes().toByteArray();
      longDictionaryContent = new long[dictionaryPage.getDictionarySize()];
      LongPlainValuesReader longReader = new LongPlainValuesReader();
      longReader.initFromPage(dictionaryPage.getDictionarySize(), dictionaryBytes, 0);
      for (int i = 0; i < longDictionaryContent.length; i++) {
        longDictionaryContent[i] = longReader.readLong();
      }
    }

    @Override
    public long decodeToLong(int id) {
View Full Code Here

Examples of uk.ac.ucl.panda.utility.io.IndexInput.readLong()

      int format = input.readInt();
      if(format < 0){     // file contains explicit format info
        // check that it is a format we can understand
        if (format < CURRENT_FORMAT)
          throw new CorruptIndexException("Unknown format version: " + format);
        version = input.readLong(); // read version
        counter = input.readInt(); // read counter
      }
      else{     // file is in old format without explicit format info
        counter = format;
      }
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.