Package org.eclipse.rdf4j.rio.hdt
Class HDTBitmap
java.lang.Object
org.eclipse.rdf4j.rio.hdt.HDTPart
org.eclipse.rdf4j.rio.hdt.HDTBitmap
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.rdf4j.rio.hdt.HDTPart
HDTPart.Type
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final int
private int
private byte[]
Fields 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 bitprotected void
parse
(InputStream is) Parse from input streamprotected int
size()
Get number of entries in this bitmapMethods inherited from class org.eclipse.rdf4j.rio.hdt.HDTPart
checkControl, checkCRC, checkFormat, countToNull, getDebugPartStr, getIntegerProperty, getProperties, getProperties, mapProperties, readToNull
-
Field Details
-
BITMAP1
protected static final int BITMAP1- See Also:
-
bits
private int bits -
buffer
private byte[] buffer
-
-
Constructor Details
-
HDTBitmap
HDTBitmap()
-
-
Method Details
-
get
protected int get(int i) Get bit- Parameters:
i
-- Returns:
- 0 or 1
-
size
protected int size()Get number of entries in this bitmap- Returns:
- positive integer value
-
parse
Description copied from class:HDTPart
Parse from input stream- Specified by:
parse
in classHDTPart
- Parameters:
is
-- Throws:
IOException
-