-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
#164 critical pre-release hotfix in native and memory store strategy selection
- Loading branch information
Showing
13 changed files
with
254 additions
and
31 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
.../src/test/java/org/eclipse/rdf4j/repository/sail/memory/MemoryEvaluationStrategyTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Copyright (c) 2016 Eclipse RDF4J contributors. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Distribution License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/org/documents/edl-v10.php. | ||
*/ | ||
package org.eclipse.rdf4j.repository.sail.memory; | ||
|
||
import org.eclipse.rdf4j.repository.EvaluationStrategyTest; | ||
import org.eclipse.rdf4j.sail.base.config.BaseSailConfig; | ||
import org.eclipse.rdf4j.sail.memory.config.MemoryStoreConfig; | ||
|
||
|
||
/** | ||
* @author jeen | ||
* | ||
*/ | ||
public class MemoryEvaluationStrategyTest extends EvaluationStrategyTest { | ||
|
||
@Override | ||
protected BaseSailConfig getBaseSailConfig() { | ||
return new MemoryStoreConfig(false); | ||
} | ||
|
||
} |
26 changes: 26 additions & 0 deletions
26
...c/test/java/org/eclipse/rdf4j/repository/sail/nativerdf/NativeEvaluationStrategyTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Copyright (c) 2016 Eclipse RDF4J contributors. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Distribution License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/org/documents/edl-v10.php. | ||
*/ | ||
package org.eclipse.rdf4j.repository.sail.nativerdf; | ||
|
||
import org.eclipse.rdf4j.repository.EvaluationStrategyTest; | ||
import org.eclipse.rdf4j.sail.base.config.BaseSailConfig; | ||
import org.eclipse.rdf4j.sail.nativerdf.config.NativeStoreConfig; | ||
|
||
|
||
/** | ||
* @author jeen | ||
* | ||
*/ | ||
public class NativeEvaluationStrategyTest extends EvaluationStrategyTest { | ||
|
||
@Override | ||
protected BaseSailConfig getBaseSailConfig() { | ||
return new NativeStoreConfig(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
...va/org/eclipse/rdf4j/query/algebra/evaluation/impl/AbstractEvaluationStrategyFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** | ||
* Copyright (c) 2016 Eclipse RDF4J contributors. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Distribution License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/org/documents/edl-v10.php. | ||
*/ | ||
package org.eclipse.rdf4j.query.algebra.evaluation.impl; | ||
|
||
import org.eclipse.rdf4j.query.algebra.evaluation.EvaluationStrategyFactory; | ||
|
||
/** | ||
* Abstract base class for {@link ExtendedEvaluationStrategy}. | ||
* | ||
* @author Jeen Broekstra | ||
*/ | ||
public abstract class AbstractEvaluationStrategyFactory implements EvaluationStrategyFactory { | ||
|
||
private long querySolutionCacheThreshold; | ||
|
||
@Override | ||
public void setQuerySolutionCacheThreshold(long threshold) { | ||
this.querySolutionCacheThreshold = threshold; | ||
} | ||
|
||
@Override | ||
public long getQuerySolutionCacheThreshold() { | ||
return querySolutionCacheThreshold; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.