Package lupos.datastructures.paged_dbbptree.node.nodedeserializer

Examples of lupos.datastructures.paged_dbbptree.node.nodedeserializer.LazyLiteralDBBPTreeStatisticsNodeDeSerializer


      return LengthHelper.lengthLuposByte();
    }

    @Override
    public void serialize(final NodeDeSerializer<TripleKey, Triple> t, final OutputStream out) throws IOException {
      final LazyLiteralDBBPTreeStatisticsNodeDeSerializer tc = (LazyLiteralDBBPTreeStatisticsNodeDeSerializer) t;
      OutHelper.writeLuposByte((byte) tc.getCollationOrder().ordinal(), out);
    }
View Full Code Here


      OutHelper.writeLuposByte((byte) tc.getCollationOrder().ordinal(), out);
    }

    @Override
    public  NodeDeSerializer<TripleKey, Triple> deserialize(final InputStream in) throws IOException, URISyntaxException, ClassNotFoundException {
      return new LazyLiteralDBBPTreeStatisticsNodeDeSerializer(RDF3XIndexScan.CollationOrder.values()[InputHelper.readLuposByte(in)]);
    }
View Full Code Here

  public LazyLiteralTripleKeyDBBPTreeStatistics(
      final Comparator<? super TripleKey> comparator, final int k,
      final int k_, final RDF3XIndexScan.CollationOrder order)
      throws IOException {
    super(comparator, k, k_, new LazyLiteralDBBPTreeStatisticsNodeDeSerializer(order), TripleKey.class, Triple.class);
    this.order = order;
  }
View Full Code Here

      final Class valueClass,
      final RDF3XIndexScan.CollationOrder order, final int currentID)
      throws IOException {
    super(k, k_, size, comp, rootFilename, firstLeafFileName, keyClass,
        valueClass, currentID,
        new LazyLiteralDBBPTreeStatisticsNodeDeSerializer(order));
    this.order = order;
  }
View Full Code Here

TOP

Related Classes of lupos.datastructures.paged_dbbptree.node.nodedeserializer.LazyLiteralDBBPTreeStatisticsNodeDeSerializer

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.