You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2016/09/22 19:41:24 UTC
svn commit: r1761995 -
/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/SelectFSs.java
Author: schor
Date: Thu Sep 22 19:41:24 2016
New Revision: 1761995
URL: http://svn.apache.org/viewvc?rev=1761995&view=rev
Log:
[UIMA-5115] separate some ops into category of working with only AnnotationIndex.
Modified:
uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/SelectFSs.java
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/SelectFSs.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/SelectFSs.java?rev=1761995&r1=1761994&r2=1761995&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/SelectFSs.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/SelectFSs.java Thu Sep 22 19:41:24 2016
@@ -54,9 +54,21 @@ public interface SelectFSs<T extends Fea
/*********************************
* boolean operations
*********************************/
+
+ SelectFSs<T> matchType(); // exact type match (no subtypes)
+ SelectFSs<T> matchType(boolean matchType); // exact type match (no subtypes)
/**
- * Filters while iterating
+ * only for AnnotationIndex
+ */
+ SelectFSs<T> typePriority();
+ SelectFSs<T> typePriority(boolean typePriority);
+
+ SelectFSs<T> positionUsesType(); // ignored if not ordered index
+ SelectFSs<T> positionUsesType(boolean positionUsesType); // ignored if not ordered index
+
+ /**
+ * Filters while iterating over Annotations
**/
SelectFSs<T> nonOverlapping(); // AI known as unambiguous
@@ -64,12 +76,9 @@ public interface SelectFSs<T extends Fea
SelectFSs<T> endWithinBounds(); // AI known as "strict"
SelectFSs<T> endWithinBounds(boolean endWithinBounds); // AI
-
- SelectFSs<T> matchType(); // exact type match (no subtypes)
- SelectFSs<T> matchType(boolean matchType); // exact type match (no subtypes)
-// SelectFSs<T> useTypePriorities();
-// SelectFSs<T> useTypePriorities(boolean useTypePriorities);
+ SelectFSs<T> skipEquals();
+ SelectFSs<T> skipEquals(boolean skipEquals);
/**
* Miscellaneous
@@ -86,13 +95,7 @@ public interface SelectFSs<T extends Fea
SelectFSs<T> backwards(); // ignored if not ordered index
SelectFSs<T> backwards(boolean backwards); // ignored if not ordered index
-
- SelectFSs<T> positionUsesType(); // ignored if not ordered index
- SelectFSs<T> positionUsesType(boolean positionUsesType); // ignored if not ordered index
-
- SelectFSs<T> skipEquals(); // ignored if not ordered index
- SelectFSs<T> skipEquals(boolean skipEquals); // ignored if not ordered index
-
+
// SelectFSs<T> noSubtypes();
// SelectFSs<T> noSubtypes(boolean noSubtypes);