@Override protected void initialiseInternal(final DataAccessLayerFactory factory) throws InitialisationException { _namespaces.initialise(factory); _localNames.initialise(factory); _bNodesAndLiterals.initialise(factory); }
@Override protected void closeInternal() { _decoratee.close(); } }
/** * Returns the value associated with the given identifier. * * @param id the identifier. * @return the value associated with the given identifier, null in case no value is found. * @throws DataAccessLayerException in case of data access failure. */ private Value getValue(final byte[] id) throws DataAccessLayerException { return _dict.getValue(id, _p); }
@Override public byte[] compose(final byte[] id1, final byte[] id2, final byte[] id3) { return _decoratee.compose(id1, id2, id3); }
@Override public byte[][] decompose(final byte[] compositeId) { return _decoratee.decompose(compositeId); }
@Override public boolean isResource(final byte[] id) { return id != null && ((id[0] == KNOWN_URI_MARKER && id[1] == RESOURCE_BYTE_FLAG && id.length == ID_LENGTH) || (_decoratee.isResource(id))); }
@Override public void removeValue(final Value value, final boolean p) throws DataAccessLayerException { if (value != null && !(value instanceof URI)) { _bNodesAndLiterals.removeValue(value, p); } }
@Override public void removeValue(final String value, final boolean p) throws DataAccessLayerException { _decoratee.removeValue(value, p); }
@Override public boolean isBNode(final byte[] id) { return id != null && id[0] != KNOWN_URI_MARKER && _decoratee.isBNode(id); }
@Override protected void initialiseInternal(final DataAccessLayerFactory factory) throws InitialisationException { _longLiteralsDictionary.initialise(factory); }
protected DictionaryRuntimeContext initialValue() { return new DictionaryRuntimeContext(); }; };
/** * Returns the value associated with the given identifier. * * @param id the identifier. * @return the value associated with the given identifier, null in case no value is found. * @throws DataAccessLayerException in case of data access failure. */ private Value getValue(final byte[] id) throws DataAccessLayerException { return _dict.getValue(id, _p); }
@Override protected void initialiseInternal(final DataAccessLayerFactory factory) throws InitialisationException { _namespaces.initialise(factory); _localNames.initialise(factory); _bNodesAndLiterals.initialise(factory); }
@Override public boolean isResource(final byte[] id) { return id != null && ((id[0] == KNOWN_URI_MARKER && id[1] == RESOURCE_BYTE_FLAG && id.length == ID_LENGTH) || (_decoratee.isResource(id))); }
@Override protected void closeInternal() { _decoratee.close(); } }
@Override public void removeValue(final Value value, final boolean p) throws DataAccessLayerException { if (value != null && !(value instanceof URI)) { _bNodesAndLiterals.removeValue(value, p); } }
@Override public void removeValue(final String value, final boolean p) throws DataAccessLayerException { _decoratee.removeValue(value, p); }
@Override public boolean isResource(final byte[] id) { return _decoratee.isResource(id); }