From: <tho...@us...> - 2010-09-29 20:59:31
|
Revision: 3686 http://bigdata.svn.sourceforge.net/bigdata/?rev=3686&view=rev Author: thompsonbry Date: 2010-09-29 20:59:24 +0000 (Wed, 29 Sep 2010) Log Message: ----------- Javadoc and dropped unused class. Modified Paths: -------------- branches/QUADS_QUERY_BRANCH/bigdata/src/java/com/bigdata/relation/AbstractRelation.java branches/QUADS_QUERY_BRANCH/bigdata-rdf/src/java/com/bigdata/rdf/lexicon/LexiconRelation.java branches/QUADS_QUERY_BRANCH/bigdata-rdf/src/java/com/bigdata/rdf/store/AbstractTripleStore.java Removed Paths: ------------- branches/QUADS_QUERY_BRANCH/bigdata/src/java/com/bigdata/relation/rule/DefaultSolutionExpander.java Modified: branches/QUADS_QUERY_BRANCH/bigdata/src/java/com/bigdata/relation/AbstractRelation.java =================================================================== --- branches/QUADS_QUERY_BRANCH/bigdata/src/java/com/bigdata/relation/AbstractRelation.java 2010-09-29 19:55:30 UTC (rev 3685) +++ branches/QUADS_QUERY_BRANCH/bigdata/src/java/com/bigdata/relation/AbstractRelation.java 2010-09-29 20:59:24 UTC (rev 3686) @@ -235,9 +235,11 @@ } /** - * Core impl. + * Core implementation. This makes it possible to substitute a different + * {@link IAccessPath} implementation. * * @param relation + * (optional). * @param indexManager * @param timestamp * @param predicate Deleted: branches/QUADS_QUERY_BRANCH/bigdata/src/java/com/bigdata/relation/rule/DefaultSolutionExpander.java =================================================================== --- branches/QUADS_QUERY_BRANCH/bigdata/src/java/com/bigdata/relation/rule/DefaultSolutionExpander.java 2010-09-29 19:55:30 UTC (rev 3685) +++ branches/QUADS_QUERY_BRANCH/bigdata/src/java/com/bigdata/relation/rule/DefaultSolutionExpander.java 2010-09-29 20:59:24 UTC (rev 3686) @@ -1,94 +0,0 @@ -/* - -Copyright (C) SYSTAP, LLC 2006-2008. All rights reserved. - -Contact: - SYSTAP, LLC - 4501 Tower Road - Greensboro, NC 27410 - lic...@bi... - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; version 2 of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -*/ -/* - * Created on Sep 3, 2008 - */ - -package com.bigdata.relation.rule; - -import com.bigdata.bop.IBindingSet; -import com.bigdata.bop.IPredicate; -import com.bigdata.relation.accesspath.IAccessPath; -import com.bigdata.relation.rule.eval.IJoinNexus; - -/** - * A base class for {@link ISolutionExpander} implementations. The base class - * provides various helper methods designed to make it easier to override the - * evaluation behavior of an {@link IPredicate} during {@link IRule} evaluation. - * - * @author <a href="mailto:tho...@us...">Bryan Thompson</a> - * @version $Id$ - */ -public class DefaultSolutionExpander implements ISolutionExpander { - - /** - * - */ - private static final long serialVersionUID = -9174057768088016404L; - - public void expand(IJoinNexus joinNexus, IBindingSet bindingSet, - IPredicate predicate, boolean isSolution) { - - throw new UnsupportedOperationException(); - - } - - /** - * Returns the given {@link IAccessPath}. - */ - public IAccessPath getAccessPath(IAccessPath accessPath) { - - return accessPath; - - } - - /** - * Returns the approximate range count for the given {@link IAccessPath}. - */ - public long rangeCount(IAccessPath accessPath) { - - return accessPath.rangeCount(false/*exact*/); - - } - - /** - * Default to true for backchaining. - */ - public boolean backchain() { - - return true; - - } - - /** - * Default to false for run first. - */ - public boolean runFirst() { - - return false; - - } - -} Modified: branches/QUADS_QUERY_BRANCH/bigdata-rdf/src/java/com/bigdata/rdf/lexicon/LexiconRelation.java =================================================================== --- branches/QUADS_QUERY_BRANCH/bigdata-rdf/src/java/com/bigdata/rdf/lexicon/LexiconRelation.java 2010-09-29 19:55:30 UTC (rev 3685) +++ branches/QUADS_QUERY_BRANCH/bigdata-rdf/src/java/com/bigdata/rdf/lexicon/LexiconRelation.java 2010-09-29 20:59:24 UTC (rev 3686) @@ -703,7 +703,7 @@ * A factory returning the softly held singleton for the * {@link FullTextIndex}. * - * @see Options#TEXT_INDEX + * @see AbstractTripleStore.Options#TEXT_INDEX * * @todo replace with the use of the {@link IResourceLocator} since it * already imposes a canonicalizing mapping within for the index name Modified: branches/QUADS_QUERY_BRANCH/bigdata-rdf/src/java/com/bigdata/rdf/store/AbstractTripleStore.java =================================================================== --- branches/QUADS_QUERY_BRANCH/bigdata-rdf/src/java/com/bigdata/rdf/store/AbstractTripleStore.java 2010-09-29 19:55:30 UTC (rev 3685) +++ branches/QUADS_QUERY_BRANCH/bigdata-rdf/src/java/com/bigdata/rdf/store/AbstractTripleStore.java 2010-09-29 20:59:24 UTC (rev 3686) @@ -551,6 +551,8 @@ * Boolean option (default <code>true</code>) enables support for a * full text index that may be used to lookup literals by tokens found * in the text of those literals. + * + * @see #TEXT_INDEXER_CLASS */ String TEXT_INDEX = AbstractTripleStore.class.getName() + ".textIndex"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |