summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-01 09:59:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-03 10:45:02 +0200
commit54481a2d6a6f9d415e0979a03c0c878195a10845 (patch)
treeaa6e89c31fdf8715b034a2b0ac01a335d399ea7f /offapi
parent310923188c300ecc818fd442e0c7c7a4fe83044d (diff)
Revert "tdf#125706 and tdf#125665 writer, speed up RDF"
This reverts commit 47e04cf31c6165dd55dc20962ad9c72962b958bd. Because we are going to do this a better way. Change-Id: Ic92d6fc471578973a141b6fd2be49fc38a9f55a5 Reviewed-on: https://gerrit.libreoffice.org/74991 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/UnoApi_offapi.mk1
-rw-r--r--offapi/com/sun/star/rdf/XNamedGraph2.idl134
2 files changed, 0 insertions, 135 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk
index 8a567218dec1..c86e7d5a7800 100644
--- a/offapi/UnoApi_offapi.mk
+++ b/offapi/UnoApi_offapi.mk
@@ -2981,7 +2981,6 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/rdf,\
XLiteral \
XMetadatable \
XNamedGraph \
- XNamedGraph2 \
XNode \
XQuerySelectResult \
XReifiedStatement \
diff --git a/offapi/com/sun/star/rdf/XNamedGraph2.idl b/offapi/com/sun/star/rdf/XNamedGraph2.idl
deleted file mode 100644
index e90254a577d3..000000000000
--- a/offapi/com/sun/star/rdf/XNamedGraph2.idl
+++ /dev/null
@@ -1,134 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef __com_sun_star_rdf_XNamedGraph_idl__
-#define __com_sun_star_rdf_XNamedGraph_idl__
-
-#include <com/sun/star/rdf/XNamedGraph.idl>
-
-
-
-module com { module sun { module star { module rdf {
-
-/** represents an RDF named graph that is stored in an RDF Repository.
-
- @since LibreOffice 6.4
- */
-interface XNamedGraph2 : XNamedGraph
-{
-
- /** gets objects for matching RDF statements from a graph.
-
- <p>this call caches its results (as opposed to getStatements in XNamedGraph
- which cannot because it returns a mutable object).
-
- <p>
- Note that the ODF elements that can have metadata attached all
- implement the interface XMetadatable, which inherits
- from XResource, meaning that you can simply pass them
- in as arguments here, and it will magically work.
- </p>
-
- <p>
- Any parameter may be `NULL`, which acts as a wildcard.
- For example, to get all statements about myURI:
- <code>getStatements2(myURI, null, null)</code>
- </p>
-
- @param Subject
- the subject of the RDF triple.
-
- @param Predicate
- the predicate of the RDF triple.
-
- @param Object
- the object of the RDF triple.
-
- @returns
- a sequence of XURIs for the objects in RDF statements
- in the graph that match
- the parameters, represented as an
- enumeration of Statement
-
- @throws com::sun::star::container::NoSuchElementException
- if this graph does not exist in the repository any more
-
- @throws RepositoryException
- if an error occurs when accessing the repository.
- */
- sequence<com::sun::star::rdf::XURI> getStatementsObjects(
- [in] XResource Subject,
- [in] XURI Predicate,
- [in] XNode Object)
- raises( com::sun::star::container::NoSuchElementException,
- RepositoryException );
-
- /** returns true if there are matching RDF statements from a graph.
-
- <p>this call caches its results (as opposed to getStatements in XNamedGraph
- which cannot because it returns a mutable object).
-
- <p>
- Note that the ODF elements that can have metadata attached all
- implement the interface XMetadatable, which inherits
- from XResource, meaning that you can simply pass them
- in as arguments here, and it will magically work.
- </p>
-
- <p>
- Any parameter may be `NULL`, which acts as a wildcard.
- For example, to get all statements about myURI:
- <code>getStatements2(myURI, null, null)</code>
- </p>
-
- @param Subject
- the subject of the RDF triple.
-
- @param Predicate
- the predicate of the RDF triple.
-
- @param Object
- the object of the RDF triple.
-
- @returns
- a sequence of XURIs for the objects in RDF statements
- in the graph that match
- the parameters, represented as an
- enumeration of Statement
-
- @throws com::sun::star::container::NoSuchElementException
- if this graph does not exist in the repository any more
-
- @throws RepositoryException
- if an error occurs when accessing the repository.
- */
- boolean hasStatements(
- [in] XResource Subject,
- [in] XURI Predicate,
- [in] XNode Object)
- raises( com::sun::star::container::NoSuchElementException,
- RepositoryException );
-};
-
-
-}; }; }; };
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */