Package at.jku.sii.sqlitereader.io.AdvancedDataInput

Examples of at.jku.sii.sqlitereader.io.AdvancedDataInput.Varint


    this.columns = columns;
  }

  public static Record read(AdvancedAnnotatedDataInput in, DataBaseEncoding encoding) {
    int count = 0;
    Varint headerSize = in.readVarint("headerSize");
    count += headerSize.bytesUsed;

    ArrayList<RecordColumn> columns = new ArrayList<RecordColumn>();
    while (count < headerSize.value) {
      Varint next = in.readVarint();
      count += next.bytesUsed;
      final RecordColumn c = RecordColumns.create(next.value);
      columns.add(c);
      in.annotateLast(next.bytesUsed, "ColumnType", c.getSerialType(), c.getDescription());
    }
View Full Code Here

TOP

Related Classes of at.jku.sii.sqlitereader.io.AdvancedDataInput.Varint

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.