Package org.eclipse.rdf4j.rio.hdt
Class HDTArrayLog64
java.lang.Object
org.eclipse.rdf4j.rio.hdt.HDTPart
org.eclipse.rdf4j.rio.hdt.HDTArray
org.eclipse.rdf4j.rio.hdt.HDTArrayLog64
Log64
It contains the data part of the HDTArray, followed by the 32-bit CRC calculated over this data.
Data structure:
...+---------+-------+
| entries | CRC32 |
...+---------+-------+
Entries are stored little-endian, with each entry using nrbits bits
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.rdf4j.rio.hdt.HDTArray
HDTArray.Type -
Field Summary
FieldsFields inherited from class org.eclipse.rdf4j.rio.hdt.HDTPart
COOKIE, name, pos, properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intget(int i) Get entry from this arrayprotected intgetType()Get the type of the arrayprotected voidparse(InputStream is) Parse from input streamMethods inherited from class org.eclipse.rdf4j.rio.hdt.HDTPart
checkControl, checkCRC, checkFormat, countToNull, getDebugPartStr, getIntegerProperty, getProperties, getProperties, mapProperties, readToNull
-
Field Details
-
buffer
private byte[] buffer
-
-
Constructor Details
-
HDTArrayLog64
HDTArrayLog64()
-
-
Method Details
-
getType
protected int getType()Description copied from class:HDTArrayGet the type of the array -
get
protected int get(int i) Description copied from class:HDTArrayGet entry from this array -
parse
Description copied from class:HDTPartParse from input stream- Overrides:
parsein classHDTArray- Parameters:
is-- Throws:
IOException
-