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 int
get
(int i) Get entry from this arrayprotected int
getType()
Get the type of the arrayprotected void
parse
(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:HDTArray
Get the type of the array -
get
protected int get(int i) Description copied from class:HDTArray
Get entry from this array -
parse
Description copied from class:HDTPart
Parse from input stream- Overrides:
parse
in classHDTArray
- Parameters:
is
-- Throws:
IOException
-