/** * * @param keyBuilderFactory * A factory that does not support unicode and has an * initialCapacity of {@value Bytes#SIZEOF_LONG}. */ public Id2TermTupleSerializer(final String namespace, final BigdataValueFactory valueFactory) { this(namespace,valueFactory, // Note: TermId is now 9 bytes (flags + tid) new ASCIIKeyBuilderFactory(Bytes.SIZEOF_LONG+1),// getDefaultLeafKeysCoder(),// // getDefaultValuesCoder() // Canonical Huffman coding. SimpleRabaCoder.INSTANCE // Much faster ); }
/** * * @param keyBuilderFactory * A factory that does not support unicode and has an * initialCapacity of {@value Bytes#SIZEOF_LONG}. */ public Id2TermTupleSerializer(final String namespace, final BigdataValueFactory valueFactory) { this(namespace,valueFactory, // Note: TermId is now 9 bytes (flags + tid) new ASCIIKeyBuilderFactory(Bytes.SIZEOF_LONG+1),// getDefaultLeafKeysCoder(),// // getDefaultValuesCoder() // Canonical Huffman coding. SimpleRabaCoder.INSTANCE // Much faster ); }