Interface BinaryRDFConstants

All Known Implementing Classes:
BinaryRDFParser, BinaryRDFWriter

public interface BinaryRDFConstants

Constants for Binary RDF

Since:
1.0
Version:
6.1.2
Author:
Jeen Broekstra, Michael Grove
  • Field Details

    • MAGIC_NUMBER

      static final byte[] MAGIC_NUMBER
      Magic number for Binary RDF files.
    • FORMAT_VERSION

      static final int FORMAT_VERSION
      The version number of the current format.
      See Also:
    • FORMAT_VERSION_UTF8

      static final int FORMAT_VERSION_UTF8
      Format version that introduced UTF-8 string encoding. Earlier versions used UTF-16BE encoding (2 bytes per character).
      See Also:
    • LONG_STRING_MARKER

      static final int LONG_STRING_MARKER
      Marker value indicating that a string length is encoded as a 4-byte integer rather than the default 2-byte short. When reading a string, if the first 2 bytes equal this value, the actual length follows as a 4-byte integer.
      See Also:
    • NAMESPACE_DECL

      static final int NAMESPACE_DECL
      See Also:
    • QUAD

      static final int QUAD
      See Also:
    • COMMENT

      static final int COMMENT
      See Also:
    • VALUE_DECL

      static final int VALUE_DECL
      See Also:
    • TRIPLE

      static final int TRIPLE
      Statement in the default graph
      See Also:
    • END_OF_DATA

      static final int END_OF_DATA
      See Also:
    • NULL_VALUE

      static final int NULL_VALUE
      See Also:
    • URI_VALUE

      static final int URI_VALUE
      See Also:
    • BNODE_VALUE

      static final int BNODE_VALUE
      See Also:
    • PLAIN_LITERAL_VALUE

      static final int PLAIN_LITERAL_VALUE
      See Also:
    • LANG_LITERAL_VALUE

      static final int LANG_LITERAL_VALUE
      See Also:
    • DATATYPE_LITERAL_VALUE

      static final int DATATYPE_LITERAL_VALUE
      See Also:
    • VALUE_REF

      static final int VALUE_REF
      See Also:
    • EMBEDDED_TRIPLE

      static final int EMBEDDED_TRIPLE
      Embedded triple in the default graph
      See Also:
    • EMBEDDED_QUAD

      static final int EMBEDDED_QUAD
      Embedded triple in a named graph
      See Also: