Pierre-Antoine Champin
5022a09573
add destruct method to Literal and Quad
...
This is (again) useful for building bridges to other APIs.
Note that NamedNode already has this (into_string),
that BlankNode kind of has it (id)
and that Quad has incomplete versions of it (subject_owned, predicate_owned...).
So I don't think those are too disruptive.
5 years ago
Pierre-Antoine Champin
b93c6e0ae6
fix BlankNode::as_str
...
Before that patch, it would return a string padded with null characters,
which is not a valid BLANK_NODE_IDENTIFIER in RDF syntaxes.
5 years ago
Pierre-Antoine Champin
2352fc2384
complete documentation
5 years ago
Pierre-Antoine Champin
cc6ca5fe1e
making unchecked constructor of Literal public
...
for the same reason as before: bindings to other languages/APIs can benefit from this
5 years ago
Tpt
4c9bd52614
Validates language tags
...
Makes also sure their are all lowercase
Closes #24
5 years ago
Tpt
a8dbc94d6f
Improves Error type documentation
5 years ago
Tpt
beb7192e22
Removes ModelError
...
We could keep one error class and avoid allocation for common errors by adding variants to the main ErrorKind enumeration
5 years ago
Tpt
23f5ac78ed
Drops dependency on anyhow to get something implementing std::error::Error
...
Closes #25
5 years ago
Tpt
73f61884c1
Breaking: Uses anyhow instead of failure
...
Closes #25
5 years ago
Pierre-Antoine Champin
053335b431
open API for creating unchecked NamedNode
...
Again, this will be useful for bindings to other languages and APIs,
where IRIs have been checked elsewhere, and hence do not need another parsing.
Renamed new_from_string to new_unchecked, to make explicit the unchecked
nature of this method (now that it is public).
5 years ago
Pierre-Antoine Champin
816798d006
open blank_node inners
...
This is required by libraries binding Oxigraph to other languages or other APIs.
5 years ago
Tpt
52bb5274cd
Enforces Rust 2018 idioms
5 years ago
Tpt
0265adbafc
Avoids unwrap() in From implementations
5 years ago
Tpt
ee39f162aa
Upgrades to peg 0.6
...
Improves performances by 50%
5 years ago
Tpt
03d08917c4
Optimizes the SPARQL parser
...
Provides a 68% improvement
5 years ago
Tpt
329a80bc8c
Makes new Clippy lints pass
5 years ago
Tpt
b530af153f
Adds WebAssembly support to Oxigraph lib
5 years ago
Tpt
8c4c273edf
[Breaking] Uses big endian encoding
...
Allows to do range search based on byte representation
5 years ago
Tpt
1f903335ff
Avoids unsafe everywhere in the library
5 years ago
Tpt
7cd5558d2b
Adds extra compiler and Clippy lints
5 years ago
Tpt
e6124c5fe3
Drops the dependency on byteorder
5 years ago
Tpt
603b58c856
Drops the dependency on num_traits
5 years ago
Tpt
c49da613ea
Reduces lazy_static usages
5 years ago
Tpt
10b1fa68f3
Adds native xsd:duration xsd:dateTime xsd:date and xsd:time structures
5 years ago
Tpt
8aa5bf4ceb
Drops EncodedTerm Ord and PartialOrd implementations
5 years ago
Tpt
8c115abc19
Uses HashSet and HashMap in MemoryRepository
5 years ago
Tpt
4a2daeb739
Adds back float to decimal casts
5 years ago
Tpt
87f2823688
Upgrades to Rust 1.40
5 years ago
Tpt
1bd91f6797
Simplifies slightly the iteration code
5 years ago
Tpt
e0bbe29dc2
Use our own xsd:decimal implementation and restrict xsd:integer precision to 64bits
5 years ago
Tpt
8b539ab7ac
CI: Always update rustup
5 years ago
Tpt
70f5c25a88
GitHub actions: Runs rustfmt and Clippy
5 years ago
Tpt
05a32f7d7a
Improves slightly code style
5 years ago
Tpt
62e3d14984
Adds proper write transaction support
5 years ago
Tpt
5f0c5b150a
RocksDB: Simplifies slightly buffered writing code
5 years ago
Tpt
b369eb8126
Migrates to RocksDB 0.13
5 years ago
Tpt
1cd0691520
Introduces EncodedTuple structs
...
Allows to make sure that all access to it are safe and won't panic
5 years ago
Tpt
5481262bf9
Simplifies PlanNode
5 years ago
Tpt
c477324845
Simplifies quads pattern in the RocksDB patterns
5 years ago
Tpt
0827374304
Fixes formatting of const hashes
5 years ago
Tpt
29bd547dbb
Drops dependency on UUID
...
Should make port to webassembly easier
5 years ago
Tpt
58fe455621
Tweaks the join reordering algorithm to prefer using bound variables
5 years ago
Tpt
f3a0242d41
Fixes and simplifies RocksDB store quads lookup
5 years ago
Tpt
85bc596cc0
Renames Rudf to Oxigraph
5 years ago
Tpt
1550acdc31
Adds a basic Wikibase loader
5 years ago
Tpt
aac2c0ba87
Adds execution of SPARQL Federation test suite
...
TODO: Make service5 tests pass
(service name from an other part of the SPARQL query)
5 years ago
Tpt
96837fb64d
SERVICE SILENT should not remove tuple on failure
...
See: https://www.w3.org/TR/sparql11-federated-query/#serviceFailure
5 years ago
Tpt
a1fcb6a9b7
Simplifies the definition of the ServiceHandler trait
5 years ago
Tpt
d026d3fc3e
Avoids copies when returning SERVICE results
...
Makes sure that we do not lock too much the encoding dictionary to avoid "already locked" errors
5 years ago
Tpt
0d8ccdae3e
Simplifies some lifetimes
5 years ago