Deprecated API
Contents
-
ElementDescriptionFor performance and simplification the Iteration interface is deprecated and will be removed in 5.0.0. Use CloseableIteration instead, even if your iteration doesn't require AutoCloseable.WeakReference is no longer supported as a way to automatically close this iteration. The recommended approach to automatically closing an iteration on garbage collection is to use a
Cleaner
.WeakReference is no longer supported as a way to automatically close this iteration. The recommended approach to automatically closing an iteration on garbage collection is to use aCleaner
.WeakReference is no longer supported as a way to automatically close this iteration. The recommended approach to automatically closing an iteration on garbage collection is to use aCleaner
.use Commons Collections or Guava instead.Useinstead
UseSimpleLiteral.getCoreDatatype()
instead.Useinstead
UseLiteral.getCoreDatatype()
instead.since 2.3 useServiceJoinConversionIteration
org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(Bound, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(Group, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(IsURI, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(Label, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(Order, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(Regex, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(Slice, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(Union, BindingSet) since 4.1.1. UseProjectionElem.getName()
instead.since 4.1.1. UseProjectionElem.getProjectionAlias()
instead.since 4.1.1. UseProjectionElem.setName(String)
instead.since 4.1.1. UseProjectionElem.setProjectionAlias(String)
instead.since 4.1.1. UseProjectionElemList.getProjectedNames()
instead.since 4.1.1. UseProjectionElemList.getProjectedNamesFor(Collection)
instead.WeakReference is no longer supported as a way to automatically close this iteration. The recommended approach to automatically closing an iteration on garbage collection is to use aCleaner
.WeakReference is no longer supported as a way to automatically close this iteration. The recommended approach to automatically closing an iteration on garbage collection is to use aCleaner
.WeakReference is no longer supported as a way to automatically close this iteration. The recommended approach to automatically closing an iteration on garbage collection is to use aCleaner
.since RDF4J 4.0. UseAbstractNotifyingSailConnection
instead.Use getMemBNodesIterator() instead.Use getMemLiteralsIterator() instead.Use getMemIRIsIterator() instead.useRepositorySPARQLComplianceTestSuite
instead.
-
InterfaceDescriptionIn the future this interface will stop extending
Iteration
and instead declare the same interface methods directly. The interface will also stop requiring implementations to automatically close when exhausted, instead making this an optional feature and requiring the user to always call close. This interface may also be removed.For performance and simplification the Iteration interface is deprecated and will be removed in 5.0.0. Use CloseableIteration instead, even if your iteration doesn't require AutoCloseable.since 3.2. UseVariableScopeChange
instead.since 2.3 useRepositoryResolver
since 2.3 useRepositoryResolverClient
-
ClassDescriptionsince 4.0. Use
AbstractLogConfiguration
instead.use Commons Collections or Guava instead.since 4.0. UseAbstractLogReader
instead.since 4.0. UseSimpleLogRecord
instead.useParsedIRI
insteadsince 4.0. UseAbstractPlatform
instead.since 4.0. UseAbstractNavigationNode
instead.Useinstead
Useinstead
since 3.3.0. UseXSD
instead.since 2.0. UseAbstractAggregateOperator
instead.since 4.0. UseAbstractFederatedServiceResolver
instead.since 2.3 useJoinExecutorBase
since 2.3 useRepositoryFederatedService
since 2.3 useServiceJoinConversionIteration
since 2.3 useSPARQLFederatedService
useBooleanCast
insteaduseDateTimeCast
instead.useDecimalCast
instead.useDoubleCast
instead.useFloatCast
instead.useIntegerCast
insteaduseStringCast
insteadsince 4.0. UseStrictEvaluationStrategy
instead.This class is protected for historic reasons only, and will be made private in a future major release.Replaced byQueryModelNormalizer
.renamed toStrictEvaluationStrategy
.replaced by HashJoinIterationsince 2.3 useCollectionIteration
since 3.1.2. UseSilentIteration
instead.since 2.0. UseTripleSources
instead.since 2.0. UseAbstractQueryModelVisitor
instead.since 2.0. UseAbstractQueryModelNode
instead.since 2.0. UseSimpleBinding
instead.since 2.0. UseSimpleDataset
instead.since 2.0. UseIteratingGraphQueryResult
instead.since 2.0. UseIteratingTupleQueryResult
instead.since 2.0. UseAbstractASTVisitor
instead.since 3.6.0 UseSPARQLQueries
instead.since 3.0. This feature is for internal use only: its existence, signature or behavior may change without warning from one release to the next.since 2.0. UseQueryResults
instead.since 2.0. UseAbstractSPARQLJSONParser
instead.since 3.4.0 - moved toSPARQLStarResultsJSONParser
since 3.4.0 - moved toSPARQLStarResultsJSONParserFactory
since 3.4.0 - moved toSPARQLStarResultsJSONWriter
since 3.4.0 - moved toSPARQLStarResultsJSONWriterFactory
since 2.0. UseAbstractSPARQLXMLParser
instead.since 3.4.0 - functionality has been folded intoSPARQLResultsTSVMappingStrategy
since 3.4.0 - moved toSPARQLStarResultsTSVParser
.since 3.4.0 - moved toSPARQLStarResultsTSVParserFactory
.since 3.4.0 - moved toSPARQLStarResultsTSVWriter
.since 3.4.0 - moved toSPARQLStarResultsTSVWriterFactory
.since 2.0. UseAbstractTupleQueryResultHandler
instead.since 3.2.2. UseSPARQLUpdateDataBlockParser
instead.since 4.0. UseNTriplesUtil
instead. Utility methods for N-Triples encoding/decoding.since 3.3.1. pretty printing / bnode inlining logic has been moved toTurtleWriter
internally.since RDF4J 4.0. UseAbstractNotifyingSailConnection
instead.since 2.5. This inferencer implementation will be phased out. Consider switching to theSchemaCachingRDFSInferencer
instead.since 3.0. This feature is for internal use only: its existence, signature or behavior may change without warning from one release to the next.since 3.0. This feature is for internal use only: its existence, signature or behavior may change without warning from one release to the next.The ValidationReport is deprecated because it is planned moved to a new package to allow it to be used with remote validation reports.The ValidationResult is deprecated because it is planned moved to a new package to allow it to be used with remote validation results.since 3.5.0. UseModelTest
instead.useRepositorySPARQLComplianceTestSuite
instead.since 3.3.0 UseSPARQL11SyntaxComplianceTest
instead.since 3.3.0. UseSPARQL11QueryComplianceTest
instead.since 3.3.0. UseSPARQL11UpdateComplianceTest
instead.This test suite is not maintained. Use instead. We may un-deprecate this suite in the future.since 4.0. UseAbstractRepositoryServlet
instead.since 4.0. UseAbstractServlet
instead.
-
FieldDescriptionThis will be changed to private, possibly with an accessor in future. Do not rely on it.use
SPARQLProtocolSession.DEFAULT_MAXIMUM_URL_LENGTH
instead.since 3.3.0. Usetransaction-setting__isolation-level
instead.since 2.3 useProtocol.CACHE_TIMEOUT_PROPERTY
since 2.3 useProtocol.DEFAULT_TIMEOUT
Use FAMILY_NAME instead for new statementsUse GIVEN_NAME instead for new statementssince 3.3.2 - useRDF4J.NIL
insteadUseAbstractCloseableIteration.isClosed()
instead.UseJoinExecutorBase.isFinished()
instead.No replacement, don't use static shared int variables.useElasticsearchIndex.WAIT_FOR_NO_RELOCATING_SHARDS_KEY
in elastic search >= 5.xWill be made private.
-
MethodDescriptionuse
instead
.replaced withTripleSource.usePreparedQuery(StatementPattern, QueryInfo)
, to be removed in 4.0replaced withinvalid @link
#selectQueryStringBoundJoinVALUES(StatementPattern, List, FilterValueExpr, AtomicBoolean)
since 2.8.0Create a new instance instead of trying to reactivate an old instance.WeakReferenceinvalid input: '<'?> callerRef argument will be removedWeakReferenceinvalid input: '<'?> callerRef argument will be removedWeakReferenceinvalid input: '<'?> callerRef argument will be removedWeakReferenceinvalid input: '<'?> callerRef argument will be removedWeakReferenceinvalid input: '<'?> callerRef argument will be removedWeakReferenceinvalid input: '<'?> callerRef argument will be removedUseSimpleLiteral.getCoreDatatype()
instead.since 3.5.0since 3.5.0 - useValues.literal(Object)
instead.since 3.5.0 - useValues.literal(Object, boolean)
instead.UseLiteral.getCoreDatatype()
instead.since 3.6.0 - useModels.isomorphic(Iterable, Iterable)
instead.UseStatements.statement(Triple)
insteadsince 3.7.0 - useStatements.statement(Triple, Resource)
insteadsince 3.5.0 - useValues.triple(Statement)
insteadsince 3.5.0 - useValues.triple(ValueFactory, Statement)
insteadsince 3.3.0. UseFunction.evaluate(TripleSource, Value...)
instead. A reference to a ValueFactory can be retrieved usingTripleSource.getValueFactory()
if needed.org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(Bound, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(Group, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(IsURI, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(Label, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(Order, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(Regex, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(Slice, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy.evaluate(Union, BindingSet) since 2.0. UseTupleExprs.containsSubquery(TupleExpr)
instead.since 3.2. UseTupleExprs.isVariableScopeChange(TupleExpr)
instead.since 2.0. UseTupleExprs.containsProjection(TupleExpr)
instead.since 4.1.1. UseProjectionElem.getName()
instead.since 4.1.1. UseProjectionElem.getProjectionAlias()
instead.since 4.1.1. UseProjectionElem.setName(String)
instead.since 4.1.1. UseProjectionElem.setProjectionAlias(String)
instead.since 4.1.1. UseProjectionElemList.getProjectedNames()
instead.since 4.1.1. UseProjectionElemList.getProjectedNamesFor(Collection)
instead.since 3.6.0. UseSPARQLQueries.unescape(String)
instead.since 3.6.0. UseSPARQLQueries.escape(String)
instead.since 2.0. UseOperation.getMaxExecutionTime()
instead.since 2.0. UseOperation.setMaxExecutionTime(int)
instead.WeakReferenceinvalid input: '<'?> callerReference argument will be removedWeakReferenceinvalid input: '<'?> callerReference argument will be removedUseQueryResultParser.parseQueryResult(InputStream)
instead.UseQueryResultHandler.handleBoolean(boolean)
instead.WeakReferenceinvalid input: '<'?> callerReference argument will be removedWeakReferenceinvalid input: '<'?> callerReference argument will be removedUseQueryResultParser.parseQueryResult(InputStream)
instead.since 2.0. UseRepositoryConnection.isActive()
instead.since 2.0. UseRepositoryConnection.begin()
instead.since 2.0. UseRepositoryConnectionWrapper.isActive()
instead.useRepositoryConnectionWrapper.begin()
instead.since 2.0. UseRepositoryConnectionInterceptor.begin(RepositoryConnection)
instead.since 2.0. UseRepositoryConnectionListener.begin(RepositoryConnection)
instead.since 4.0 - useRepositoryManager.getAllRepositoryInfos()
instead.since 4.0 - useRepositoryManager.getAllRepositoryInfos()
instead.since 2.0. UseRepositoryConnection.isActive()
instead.As of release 2.7.0, useRepositoryConnection.begin()
instead.UseIterations.addAll(Iteration, Collection)
instead.UseIterations.asList(Iteration)
instead.since 2.0.useQueryStringUtil.getTupleQueryString(String, BindingSet)
since 3.6.0 - useSPARQLConnection.setSilentClear(boolean)
instead.useSPARQLRepository.createSPARQLProtocolSession()
insteadMap is no longer used, callAbstractRDFParser.clear()
instead.UseTurtleWriter.writeBNode(BNode, boolean)
instead.UseTurtleWriter.writeResource(Resource, boolean)
instead.UseTurtleWriter.writeValue(Value, boolean)
instead.Use getObserved() instead!since 2.7.0. UseAbstractSailConnection.verifyIsActive()
instead. We should not automatically start a transaction at the sail level. Instead, an exception should be thrown when an update is executed without first starting a transaction.Use getMemBNodesIterator() instead.Use getMemLiteralsIterator() instead.Use getMemIRIsIterator() instead.The returned ValidationReport is planned to be moved to a different package and this method is planned to return that class.
-
ConstructorDescriptionWeakReference is no longer supported as a way to automatically close this iteration. The recommended approach to automatically closing an iteration on garbage collection is to use a
Cleaner
.WeakReference is no longer supported as a way to automatically close this iteration. The recommended approach to automatically closing an iteration on garbage collection is to use aCleaner
.WeakReference is no longer supported as a way to automatically close this iteration. The recommended approach to automatically closing an iteration on garbage collection is to use aCleaner
.useControlledWorkerScheduler(int, String)
. Scheduled to be removed in 4.0since 3.6.2 - useRDF4JProtocolSession(HttpClient, ExecutorService)
insteadWeakReference is no longer supported as a way to automatically close this iteration. The recommended approach to automatically closing an iteration on garbage collection is to use aCleaner
.WeakReference is no longer supported as a way to automatically close this iteration. The recommended approach to automatically closing an iteration on garbage collection is to use aCleaner
.WeakReference is no longer supported as a way to automatically close this iteration. The recommended approach to automatically closing an iteration on garbage collection is to use aCleaner
.WeakReference is no longer supported as a way to automatically close this iteration. The recommended approach to automatically closing an iteration on garbage collection is to use aCleaner
.since 3.2.0since 3.2.0since 3.2.0since 3.2.0