public interface BinaryQueryResultConstants
DataInput
and
DataOutput
, except for the encoding of string values. String values are encoded in UTF-8 and are preceeded by
a 32-bit integer specifying the length in bytes of this UTF-8 encoded string.
The file header is 13 bytes long:
Zero or more records follow after the column headers. This can be a mixture of records describing a result and supporting records. The results table is described by the result records which are written from left to right, from top to bottom. Each record starts with a record type marker (a single byte). The following records are defined in the current format:
Modifier and Type | Field and Description |
---|---|
static int |
BNODE_RECORD_MARKER |
static int |
DATATYPE_LITERAL_RECORD_MARKER |
static int |
EMPTY_ROW_RECORD_MARKER |
static int |
ERROR_RECORD_MARKER |
static int |
FORMAT_VERSION
The version number of the current format.
|
static int |
LANG_LITERAL_RECORD_MARKER |
static byte[] |
MAGIC_NUMBER
Magic number for Binary RDF Table Result files.
|
static int |
MALFORMED_QUERY_ERROR |
static int |
NAMESPACE_RECORD_MARKER |
static int |
NULL_RECORD_MARKER |
static int |
PLAIN_LITERAL_RECORD_MARKER |
static int |
QNAME_RECORD_MARKER |
static int |
QUERY_EVALUATION_ERROR |
static int |
REPEAT_RECORD_MARKER |
static int |
TABLE_END_RECORD_MARKER |
static int |
TRIPLE_RECORD_MARKER |
static int |
URI_RECORD_MARKER |
static final byte[] MAGIC_NUMBER
static final int FORMAT_VERSION
static final int NULL_RECORD_MARKER
static final int REPEAT_RECORD_MARKER
static final int NAMESPACE_RECORD_MARKER
static final int QNAME_RECORD_MARKER
static final int URI_RECORD_MARKER
static final int BNODE_RECORD_MARKER
static final int PLAIN_LITERAL_RECORD_MARKER
static final int LANG_LITERAL_RECORD_MARKER
static final int DATATYPE_LITERAL_RECORD_MARKER
static final int EMPTY_ROW_RECORD_MARKER
static final int TRIPLE_RECORD_MARKER
static final int ERROR_RECORD_MARKER
static final int TABLE_END_RECORD_MARKER
static final int MALFORMED_QUERY_ERROR
static final int QUERY_EVALUATION_ERROR
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.