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 2015/01/13 22:07:04 UTC
svn commit: r1651492 -
/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java
Author: schor
Date: Tue Jan 13 21:07:04 2015
New Revision: 1651492
URL: http://svn.apache.org/r1651492
Log:
[UIMA-4178] add low level API
Modified:
uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java
Modified: uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java?rev=1651492&r1=1651491&r2=1651492&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java (original)
+++ uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FSIndexRepository.java Tue Jan 13 21:07:04 2015
@@ -21,6 +21,8 @@ package org.apache.uima.cas;
import java.util.Iterator;
+import org.apache.uima.cas.impl.LowLevelIndex;
+
/**
* Repository of indexes over feature structures. Use this interface to access previously defined
* indexes.
@@ -65,6 +67,13 @@ public interface FSIndexRepository {
Iterator<FSIndex<FeatureStructure>> getIndexes();
/**
+ * Get all indexes in this repository as low level indexes
+ *
+ * @return All indexes.
+ */
+ Iterator<LowLevelIndex> ll_getIndexes();
+
+ /**
* Add a feature structure to all appropriate indexes in the repository. If no indexes exist for
* the type of FS that you are adding, then a bag (unsorted) index will be automatically created.
* <p>