Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionFor 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.useControlledWorkerScheduler(int, String). Scheduled to be removed in 4.0replaced withTripleSource.usePreparedQuery(StatementPattern, QueryInfo), to be removed in 4.0UseinsteadUseSimpleLiteral.getCoreDatatype()instead.UseinsteadUseLiteral.getCoreDatatype()instead.since 2.3 useServiceJoinConversionIterationsince 4.1.0. UseBindingAssignerOptimizerinstead.since 4.1.0. UseBindingSetAssignmentInlinerOptimizerinstead.since 4.1.0. UseCompareOptimizerinstead.since 4.1.0. UseConjunctiveConstraintSplitterOptimizerinstead.since 4.1.0. UseConstantOptimizerinstead.org.eclipse.rdf4j.query.algebra.evaluation.impl.DefaultEvaluationStrategy.evaluate(Join, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.DefaultEvaluationStrategy.evaluate(Lang, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.DefaultEvaluationStrategy.evaluate(Like, BindingSet) since 4.1.0. UseDisjunctiveConstraintOptimizerinstead.UseDefaultEvaluationStrategyinstead.since 4.3.0 - useDefaultEvaluationStrategyFactoryinstead.since 4.1.0. UseFilterOptimizerinstead.since 4.1.0. UseIterativeEvaluationOptimizerinstead.since 4.1.0. UseOrderLimitOptimizerinstead.since 4.1.0. UseParentReferenceCleanerinstead.since 4.1.0. UseProjectionRemovalOptimizerinstead.since 4.1.0. UseQueryJoinOptimizerinstead.since 4.1.0. UseQueryModelNormalizerOptimizerinstead.since 4.1.0. UseRegexAsStringFunctionOptimizerinstead.since 4.1.0. UseSameTermFilterOptimizerinstead.since 4.1.0. UseStandardQueryOptimizerPipelineinstead.since 4.3.0. UseDefaultEvaluationStrategyinstead.since 4.3.0 - useDefaultEvaluationStrategyFactoryinstead.since 4.3.0. UseDefaultEvaluationStrategyinstead.since 4.1.0. UseUnionScopeChangeOptimizerinstead.since 4.2.4. See https://github.com/eclipse/rdf4j/issues/3983since 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.useCONFIGvocabulary instead.useCONFIG.ContextAwarevocabulary instead.since 4.3.0. UseCONFIGinstead.useCONFIG.Proxy.proxiedIDinstead.useCONFIGinstead.useCONFIGinstead.UseBinaryRDFWriterSettings.BUFFER_SIZEinstead.UseBinaryRDFWriterSettings.CHARSETinstead.UseBinaryRDFWriterSettings.RECYCLE_IDSinstead.UseBinaryRDFWriterSettings.VERSIONinstead.UseNTriplesParserSettings.FAIL_ON_INVALID_LINESinstead.UseNTriplesWriterSettings.ESCAPE_UNICODEinstead.UseRDFJSONParserSettings.FAIL_ON_MULTIPLE_OBJECT_TYPESinstead.UseRDFJSONParserSettings.FAIL_ON_MULTIPLE_OBJECT_VALUESinstead.UseRDFJSONParserSettings.FAIL_ON_UNKNOWN_PROPERTYinstead.UseRDFJSONParserSettings.SUPPORT_GRAPHS_EXTENSIONinstead.UseRDFJSONWriterSettings.ALLOW_MULTIPLE_OBJECT_VALUESinstead.UseTriXParserSettings.FAIL_ON_INVALID_STATEMENTinstead.UseTriXParserSettings.FAIL_ON_MISSING_DATATYPEinstead.UseTurtleParserSettings.ACCEPT_TURTLESTARinstead.UseTurtleParserSettings.CASE_INSENSITIVE_DIRECTIVESinstead.UseTurtleWriterSettings.ABBREVIATE_NUMBERSinstead.useCONFIGinstead.useCONFIGinstead.since 4.3.0. UseCONFIG.Essinstead.since RDF4J 4.0. UseAbstractNotifyingSailConnectioninstead.useCONFIG.Luceneinstead.useCONFIG.Meminstead.Use getMemBNodesIterator() instead.Use getMemLiteralsIterator() instead.Use getMemIRIsIterator() instead.useCONFIG.Nativeinstead.since 4.2.4. See https://github.com/eclipse/rdf4j/issues/3983since 4.2.4. See https://github.com/eclipse/rdf4j/issues/3983since 4.3.0. UseCONFIG.Shaclinstead.useRepositorySPARQLComplianceTestSuiteinstead.
-
Deprecated Packages
-
Deprecated InterfacesInterfaceDescriptionIn the future this interface will stop extending
Iterationand 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.UseVariableScopeChangeinstead.
-
Deprecated ClassesClassDescriptionUse
AbstractLogConfigurationinstead.use Commons Collections or Guava instead.UseAbstractLogReaderinstead.UseSimpleLogRecordinstead.useParsedIRIinsteadsince 4.0. UseAbstractPlatforminstead.UseAbstractNavigationNodeinstead.UseinsteadUseinsteadsince 3.3.0. UseXSDinstead.UseAbstractAggregateOperatorinstead.UseAbstractFederatedServiceResolverinstead.UseJoinExecutorBasesince 2.3 useServiceJoinConversionIterationuseBooleanCastinsteaduseDateTimeCastinstead.useDecimalCastinstead.useDoubleCastinstead.useFloatCastinstead.useIntegerCastinsteaduseStringCastinsteadsince 4.1.0. UseBindingAssignerOptimizerinstead.since 4.1.0. UseBindingSetAssignmentInlinerOptimizerinstead.since 4.1.0. UseCompareOptimizerinstead.since 4.1.0. UseConjunctiveConstraintSplitterOptimizerinstead.since 4.1.0. UseConstantOptimizerinstead.since 4.1.0. UseDisjunctiveConstraintOptimizerinstead.UseStrictEvaluationStrategyinstead.UseDefaultEvaluationStrategyinstead.since 4.3.0 - useDefaultEvaluationStrategyFactoryinstead.since 4.1.0. UseFilterOptimizerinstead.since 4.1.0. UseIterativeEvaluationOptimizerinstead.since 4.1.0. UseOrderLimitOptimizerinstead.since 4.1.0. UseParentReferenceCleanerinstead.since 4.1.0. UseProjectionRemovalOptimizerinstead.since 4.1.0. UseQueryJoinOptimizerinstead.This class is protected for historic reasons only, and will be made private in a future major release.since 4.1.0. UseQueryModelNormalizerOptimizerinstead.Replaced byQueryModelNormalizer.since 4.1.0. UseRegexAsStringFunctionOptimizerinstead.since 4.1.0. UseSameTermFilterOptimizerinstead.renamed toStrictEvaluationStrategy.since 4.1.0. UseStandardQueryOptimizerPipelineinstead.since 4.3.0. UseDefaultEvaluationStrategyinstead.since 4.3.0 - useDefaultEvaluationStrategyFactoryinstead.since 4.3.0. UseDefaultEvaluationStrategyinstead.since 4.1.0. UseUnionScopeChangeOptimizerinstead.replaced by HashJoinIterationsince 2.3 useCollectionIterationUseSilentIterationinstead.since 4.2.4. See https://github.com/eclipse/rdf4j/issues/3983since 2.0. UseTripleSourcesinstead.since 2.0. UseAbstractQueryModelVisitorinstead.UseAbstractQueryModelNodeinstead.UseSimpleBindinginstead.UseSimpleDatasetinstead.since 2.0. UseIteratingGraphQueryResultinstead.UseIteratingTupleQueryResultinstead.UseAbstractASTVisitorinstead.since 3.6.0 UseSPARQLQueriesinstead.This feature is for internal use only: its existence, signature or behavior may change without warning from one release to the next.UseQueryResultsinstead.UseAbstractSPARQLJSONParserinstead.moved toSPARQLStarResultsJSONParserMoved toSPARQLStarResultsJSONParserFactoryMoved toSPARQLStarResultsJSONWriterMoved toSPARQLStarResultsJSONWriterFactoryUseAbstractSPARQLXMLParserinstead.Functionality has been folded intoSPARQLResultsTSVMappingStrategyMoved toSPARQLStarResultsTSVParser.since 3.4.0 - moved toSPARQLStarResultsTSVParserFactory.Moved toSPARQLStarResultsTSVWriter.Moved toSPARQLStarResultsTSVWriterFactory.since 2.0. UseAbstractTupleQueryResultHandlerinstead.useCONFIGvocabulary instead.useCONFIG.ContextAwarevocabulary instead.since 4.3.0. UseCONFIGinstead.useCONFIGinstead.useCONFIGinstead.UseSPARQLUpdateDataBlockParserinstead.since 4.0. UseNTriplesUtilinstead. Utility methods for N-Triples encoding/decoding.Pretty printing / bnode inlining logic has been moved toTurtleWriterinternally.useCONFIGinstead.useCONFIGinstead.since 4.3.0. UseCONFIG.Essinstead.since RDF4J 4.0. UseAbstractNotifyingSailConnectioninstead.since 4.3.0. UseCONFIG.Cgqiinstead.This inferencer implementation will be phased out. Consider switching to theSchemaCachingRDFSInferencerinstead.useCONFIG.Luceneinstead.This feature is for internal use only: its existence, signature or behavior may change without warning from one release to the next.This feature is for internal use only: its existence, signature or behavior may change without warning from one release to the next.useCONFIG.Meminstead.useCONFIG.Nativeinstead.since 4.2.4. See https://github.com/eclipse/rdf4j/issues/3983since 4.2.4. See https://github.com/eclipse/rdf4j/issues/3983since 4.3.0. UseCONFIG.Shaclinstead.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.UseModelTestinstead.useRepositorySPARQLComplianceTestSuiteinstead.UseSPARQL11SyntaxComplianceTestinstead.UseSPARQL11QueryComplianceTestinstead.UseSPARQL11UpdateComplianceTestinstead.This test suite is not maintained. Use instead. We may un-deprecate this suite in the future.UseAbstractRepositoryServletinstead.UseAbstractServletinstead.
-
Deprecated Enums
-
Deprecated FieldsFieldDescriptionThis will be changed to private, possibly with an accessor in future. Do not rely on it.use
SPARQLProtocolSession.DEFAULT_MAXIMUM_URL_LENGTHinstead.Usetransaction-setting__isolation-levelinstead.Use FAMILY_NAME instead for new statementsUse GIVEN_NAME instead for new statementssince 3.3.2 - useRDF4J.NILinsteaduseCONFIG.delegateinstead.useCONFIG#Repositoryinstead.useCONFIG.Rep.idinstead.useCONFIG.Rep.implinstead.useCONFIG.Rep.typeinstead.useCONFIG.ContextAware.baseinsteaduseCONFIG.ContextAware.includeInferredinstead.useCONFIG.ContextAware.insertContextinstead.useCONFIG.ContextAware.maxQueryTimeinsteaduseCONFIG.ContextAware.queryLanguageinstead.useCONFIG.ContextAware.readContextinsteaduseCONFIG.ContextAware.removeContextinstead.useCONFIG#passwordinstead.useCONFIG#urlinstead.useCONFIG#usernameinstead.useCONFIG.Proxyinstead.useCONFIG.Proxy.proxiedIDinstead.useCONFIG#proxiedIDinstead.useCONFIG#implinstead.useCONFIG#passThroughEnabledinstead.useCONFIG#queryEndpointinstead.useCONFIG#updateEndpointinstead.UseAbstractCloseableIteration.isClosed()instead.UseJoinExecutorBase.isFinished()instead.No replacement, don't use static shared int variables.UseBinaryRDFWriterSettings.BUFFER_SIZEinstead.UseBinaryRDFWriterSettings.CHARSETinstead.UseBinaryRDFWriterSettings.RECYCLE_IDSinstead.UseBinaryRDFWriterSettings.VERSIONinstead.UseNTriplesParserSettings.FAIL_ON_INVALID_LINESinstead.UseNTriplesWriterSettings.ESCAPE_UNICODEinstead.UseRDFJSONParserSettings.FAIL_ON_MULTIPLE_OBJECT_TYPESinstead.UseRDFJSONParserSettings.FAIL_ON_MULTIPLE_OBJECT_VALUESinstead.UseRDFJSONParserSettings.FAIL_ON_UNKNOWN_PROPERTYinstead.UseRDFJSONParserSettings.SUPPORT_GRAPHS_EXTENSIONinstead.UseRDFJSONWriterSettings.ALLOW_MULTIPLE_OBJECT_VALUESinstead.UseTriXParserSettings.FAIL_ON_INVALID_STATEMENTinstead.UseTriXParserSettings.FAIL_ON_MISSING_DATATYPEinstead.UseTurtleParserSettings.ACCEPT_TURTLESTARinstead.UseTurtleParserSettings.CASE_INSENSITIVE_DIRECTIVESinstead.UseTurtleWriterSettings.ABBREVIATE_NUMBERSinstead.useCONFIG#defaultQueryEvaluationModeinstead.useCONFIG#evaluationStrategyFactoryinstead.useCONFIG#connectionTimeOutinstead.useCONFIG.delegateinstead.useCONFIG#iterationCacheSyncThresholdinstead.useCONFIG#typeinstead.useElasticsearchIndex.WAIT_FOR_NO_RELOCATING_SHARDS_KEYin elastic search >= 5.xuseCONFIG.Ess.clusterNameinstead.useCONFIG.Ess.hostnameinstead.useCONFIG.Ess.indexinstead.useCONFIG.Ess.portinstead.Will be made private.useCONFIG.Cgqi.matcherQueryinstead.useCONFIG.Cgqi.queryLanguageinstead.useCONFIG.Cgqi.ruleQueryinstead.useCONFIG.Lucene.indexDirinstead.useCONFIG.Mem.persistinstead.useCONFIG.Mem.syncDelayinstead.useCONFIG.Native.forceSyncinstead.useCONFIG.Native.namespaceCacheSizeinstead.useCONFIG.Native.namespaceIDCacheSizeinstead.useCONFIG.Native.tripleIndexesinstead.useCONFIG.Native.valueCacheSizeinstead.useCONFIG.Native.valueIDCacheSizeinstead.useCONFIG.Shacl.cacheSelectNodesinstead.useCONFIG.Shacl.dashDataShapesinstead.useCONFIG.Shacl.eclipseRdf4jShaclExtensionsinstead.useCONFIG.Shacl.globalLogValidationExecutioninstead.useCONFIG.Shacl.logValidationPlansinstead.useCONFIG.Shacl.logValidationViolationsinstead.useCONFIG.Shacl.parallelValidationinstead.useCONFIG.Shacl.performanceLogginginstead.useCONFIG.Shacl.rdfsSubClassReasoninginstead.useCONFIG.Shacl.serializableValidationinstead.useCONFIG.Shacl.shapesGraphinstead.useCONFIG.Shacl.transactionalValidationLimitinstead.useCONFIG.Shacl.validationEnabledinstead.useCONFIG.Shacl.validationResultsLimitPerConstraintinstead.useCONFIG.Shacl.validationResultsLimitTotalinstead.
-
Deprecated MethodsMethodDescriptionuse
instead.replaced withTripleSource.usePreparedQuery(StatementPattern, QueryInfo), to be removed in 4.0replaced with#selectQueryStringBoundJoinVALUES(StatementPattern, List, FilterValueExpr, AtomicBoolean)since 2.8.0Create a new instance instead of trying to reactivate an old instance.WeakReference<?> callerRef argument will be removedWeakReference<?> callerRef argument will be removedWeakReference<?> callerRef argument will be removedWeakReference<?> callerRef argument will be removedWeakReference<?> callerRef argument will be removedWeakReference<?> callerRef argument will be removedUseSimpleLiteral.getCoreDatatype()instead.since 3.5.0UseValues.literal(Object)instead.UseValues.literal(Object, boolean)instead.UseLiteral.getCoreDatatype()instead.UseModels.isomorphic(Iterable, Iterable)instead.UseStatements.statement(Triple)insteadsince 3.7.0 - useStatements.statement(Triple, Resource)insteadUseValues.triple(Statement)insteadUseValues.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.DefaultEvaluationStrategy.evaluate(Join, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.DefaultEvaluationStrategy.evaluate(Lang, BindingSet) org.eclipse.rdf4j.query.algebra.evaluation.impl.DefaultEvaluationStrategy.evaluate(Like, BindingSet) UseTupleExprs.containsSubquery(TupleExpr)instead.UseTupleExprs.isVariableScopeChange(TupleExpr)instead.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.UseOperation.getMaxExecutionTime()instead.UseOperation.setMaxExecutionTime(int)instead.WeakReference<?> callerReference argument will be removedWeakReference<?> callerReference argument will be removedUseQueryResultParser.parseQueryResult(InputStream)instead.UseQueryResultHandler.handleBoolean(boolean)instead.WeakReference<?> callerReference argument will be removedWeakReference<?> callerReference argument will be removedUseQueryResultParser.parseQueryResult(InputStream)instead.UseRepositoryConnection.isActive()instead.UseRepositoryConnection.begin()instead.UseRepositoryConnectionWrapper.isActive()instead.useRepositoryConnectionWrapper.begin()instead.UseRepositoryManager.getAllRepositoryInfos()instead.UseRepositoryManager.getAllRepositoryInfos()instead.UseRepositoryConnection.isActive()instead.UseRepositoryConnection.begin()instead.UseIterations.addAll(Iteration, Collection)instead.UseIterations.asList(Iteration)instead.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!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.
-
Deprecated ConstructorsConstructorDescriptionWeakReference 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.0WeakReference 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