Uses of Interface
org.apache.uima.cas.FeatureStructure
-
Packages that use FeatureStructure Package Description org.apache.uima.cas Common Analysis System(CAS) Interfacesorg.apache.uima.cas.admin org.apache.uima.cas.impl Implementation and Low-Level API for the CAS Interfaces.org.apache.uima.cas.text Text Common Annotation System (TCAS) Interfaces.org.apache.uima.collection.impl.cpm.engine org.apache.uima.examples org.apache.uima.internal.util org.apache.uima.jcas Interfaces for accessing the JCAS.org.apache.uima.jcas.cas JCAS model for built-in CAS typesorg.apache.uima.jcas.impl Provides the classes that support the Java Cas Model (JCM).org.apache.uima.jcas.tcas org.apache.uima.tools.viewer org.apache.uima.util Utility classes and interfaces used by UIMA components. -
-
Uses of FeatureStructure in org.apache.uima.cas
Classes in org.apache.uima.cas with type parameters of type FeatureStructure Modifier and Type Interface Description interfaceArrayFS<E extends FeatureStructure>Feature structure array interface.interfaceFSIndex<T extends FeatureStructure>Feature structure index access interface.interfaceFSIterator<T extends FeatureStructure>Iterator over feature structures.interfaceSelectFSs<T extends FeatureStructure>Collection of builder style methods to specify selection of FSs from indexes Documentation is in a chapter in the UIMA Version 3 User's Guide.Subinterfaces of FeatureStructure in org.apache.uima.cas Modifier and Type Interface Description interfaceAnnotationBaseFSAnnotation Base API.interfaceArrayFS<E extends FeatureStructure>Feature structure array interface.interfaceBooleanArrayFSBoolean array interface.interfaceByteArrayFSByte array interface.interfaceCommonArrayFS<E>Common parts of the Array interfaces.interfaceDoubleArrayFSDouble array interface.interfaceFloatArrayFSInterface for CAS float arrays.interfaceIntArrayFSInterface for CAS int arrays.interfaceLongArrayFSLong array interface.interfaceShortArrayFSShort array interface.interfaceSofaFSInterface for "Subject of Analysis" (Sofa) feature structures.interfaceStringArrayFSString array interface.Methods in org.apache.uima.cas with type parameters of type FeatureStructure Modifier and Type Method Description <T extends FeatureStructure>
voidFSIndexRepository. addFS(T fs)Add a feature structure to all appropriate indexes in the repository.<T extends FeatureStructure>
voidArrayFS. copyFromArray(T[] src, int srcOffset, int destOffset, int length)Copy the contents of an external array into this array.<U extends FeatureStructure>
voidArrayFS. copyToArray(int srcOffset, U[] dest, int destOffset, int length)Copy the contents of the array fromstarttoendto the destinationdestArraywith destination offsetdestOffset.<T extends FeatureStructure>
FSIterator<T>CAS. createFilteredIterator(FSIterator<T> it, FSMatchConstraint cons)Create an iterator over structures satisfying a given constraint.<T extends FeatureStructure>
TCAS. createFS(Type type)Create a new FeatureStructure.default <T extends FeatureStructure>
FSArray<T>CAS. emptyFSArray()default <T extends FeatureStructure>
FSArray<T>CAS. emptyFSArray(Type type)<T extends FeatureStructure>
java.util.ListIterator<T>CAS. fs2listIterator(FSIterator<T> it)Wrap a standard JavaListIteratoraround an FSListIterator.<U extends FeatureStructure>
UArrayFS. get(int i)Get the i-th feature structure from the array.default <T extends FeatureStructure>
FSIterator<T>FSIndexRepository. getAllIndexedFS(java.lang.Class<T> clazz)Gets an FSIterator over all indexed (in this view) FeatureStructures of the specified Type (and any of its subtypes).<T extends FeatureStructure>
FSIterator<T>FSIndexRepository. getAllIndexedFS(Type aType)Gets an iterator over all indexed (in this View) FeatureStructures of the specified Type (and any of its subtypes).<T extends FeatureStructure>
FSIndex<T>FSIndexRepository. getIndex(java.lang.String label)Retrieve an index according to a label.<T extends FeatureStructure>
FSIndex<T>FSIndexRepository. getIndex(java.lang.String label, Type type)Retrieve an index according to a label and a type.<T extends FeatureStructure>
java.util.Iterator<FSIndex<T>>FSIndexRepository. getIndexes()Get all indexes in this repository.<T extends FeatureStructure>
java.util.Iterator<LowLevelIndex<T>>FSIndexRepository. ll_getIndexes()Get all indexes in this repository as low level indexes<T extends FeatureStructure>
voidFSIndexRepository. removeFS(T fs)Remove a feature structure from all indexes in the repository.static <U extends FeatureStructure>
SelectFSs<U>SelectFSs. select(FSIndex<U> index)Use this static method to capture the generic argumentMethods in org.apache.uima.cas that return FeatureStructure Modifier and Type Method Description T[]SelectFSs. asArray(java.lang.Class<? super T> clazz)FeatureStructureFeatureStructure. getFeatureValue(Feature feat)Get a feature value.FeatureStructureFeaturePath. getFSValue(FeatureStructure fs)Returns the FeatureStructure of a FeatureStructure valued feature path.FeatureStructureSofaFS. getLocalFSData()Get the Local Subject of Analysis returns null if not previously set.FeatureStructureCAS. getSofaDataArray()Get the Sofa data array.FeatureStructure[]ArrayFS. toArray()Creates a new array the this array is copied to.Methods in org.apache.uima.cas with parameters of type FeatureStructure Modifier and Type Method Description voidCAS. addFsToIndexes(FeatureStructure fs)Add a feature structure to all appropriate indexes in the repository associated with this CAS View.intFSIndex. compare(FeatureStructure fs1, FeatureStructure fs2)Compare two feature structures according to the ordering relation of the index.booleanFSIndex. contains(FeatureStructure fs)Check if the index contains an element equal to the given feature structure according to the comparators defined for this index.<T extends FeatureStructure>
voidArrayFS. copyFromArray(T[] src, int srcOffset, int destOffset, int length)Copy the contents of an external array into this array.<U extends FeatureStructure>
voidArrayFS. copyToArray(int srcOffset, U[] dest, int destOffset, int length)Copy the contents of the array fromstarttoendto the destinationdestArraywith destination offsetdestOffset.TFSIndex. find(FeatureStructure fs)Find an entry in the index "equal to" the given feature structure according to the comparators specified for this index.TSelectFSs. get(FeatureStructure fs)Positions to the fs using moveTo(fs).TSelectFSs. get(FeatureStructure fs, int offset)Positions to the fs using moveTo(fs), followed by a shifted(offset).java.lang.BooleanFeaturePath. getBooleanValue(FeatureStructure fs)Returns the Boolean value of a boolean valued feature path.java.lang.ByteFeaturePath. getByteValue(FeatureStructure fs)Returns the Byte value of a byte valued feature path.java.lang.DoubleFeaturePath. getDoubleValue(FeatureStructure fs)Returns the Double value of a double valued feature path.java.lang.FloatFeaturePath. getFloatValue(FeatureStructure fs)Returns the Float value of a float valued feature path.FeatureStructureFeaturePath. getFSValue(FeatureStructure fs)Returns the FeatureStructure of a FeatureStructure valued feature path.java.lang.IntegerFeaturePath. getIntValue(FeatureStructure fs)Returns the Integer value of an integer valued feature path.java.lang.LongFeaturePath. getLongValue(FeatureStructure fs)Returns the Long value of a long valued feature path.java.lang.ShortFeaturePath. getShortValue(FeatureStructure fs)Returns the Short value of a short valued feature path.java.lang.StringFeaturePath. getStringValue(FeatureStructure fs)Returns the String value of a string valued feature path.TypeClassFeaturePath. getTypClass(FeatureStructure fs)Deprecated.use getTypeClass (spelling fix)TypeFeaturePath. getType(FeatureStructure fs)Returns the type of the feature path.TypeClassFeaturePath. getTypeClass(FeatureStructure fs)Returns the type class of the feature path.java.lang.StringFeaturePath. getValueAsString(FeatureStructure fs)Returns the feature path value as string for the given FeatureStructure.booleanMarker. isModified(FeatureStructure fs)Test if a FeatureStructure in a CAS represented by thisMarkerexisted before the mark was set, and has been modified.booleanMarker. isNew(FeatureStructure fs)default FSIterator<T>FSIndex. iterator(FeatureStructure fs)Return an iterator over the index.booleanFSMatchConstraint. match(FeatureStructure fs)Match against feature structures.voidFSIterator. moveTo(FeatureStructure fs)Move the iterator to the first Feature Structure that matches thefs.voidCAS. removeFsFromIndexes(FeatureStructure fs)Remove a feature structure from all indexes in the repository associated with this CAS View.voidFeatureStructure. setFeatureValue(Feature feat, FeatureStructure fs)Set a feature value to another FS.voidSofaFS. setLocalSofaData(FeatureStructure aFS)Set the Local Subject of Analysis to be a predefined ArrayFS.voidCAS. setSofaDataArray(FeatureStructure array, java.lang.String mime)Set the Sofa data as an ArrayFS.TSelectFSs. single(FeatureStructure fs)Positions to the fs using moveTo(fs).TSelectFSs. single(FeatureStructure fs, int offset)Positions to the fs using moveTo(fs), followed by a shifted(offset).TSelectFSs. singleOrNull(FeatureStructure fs)Positions to the fs using moveTo(fs).TSelectFSs. singleOrNull(FeatureStructure fs, int offset)Positions to the fs using moveTo(fs), followed by a shifted(offset).SelectFSs<T>SelectFSs. startAt(FeatureStructure fs)Starting Position specification - For ordered sources, specifies which FS to start at.SelectFSs<T>SelectFSs. startAt(FeatureStructure fs, int shift)Starting Position specification - A combination of startAt followed by a shift Requires an ordered index not necessarily AnnotationIndex, not necessarily sorted This versions avoids a runtime cast check. -
Uses of FeatureStructure in org.apache.uima.cas.admin
Methods in org.apache.uima.cas.admin with parameters of type FeatureStructure Modifier and Type Method Description intLinearTypeOrder. compare(FeatureStructure fs1, FeatureStructure fs2)Compare two Feature Structure's types -
Uses of FeatureStructure in org.apache.uima.cas.impl
Classes in org.apache.uima.cas.impl with type parameters of type FeatureStructure Modifier and Type Interface Description interfaceCopyOnWriteIndexPart<T extends FeatureStructure>common APIs supporting the copy on write aspect of index parts(package private) classFilteredIterator<T extends FeatureStructure>Implements a filtered iterator.interfaceFSGenerator<T extends FeatureStructure>Deprecated.unused in v3, only present to avoid compile errors in unused v2 classesclassFsIndex_bag<T extends FeatureStructure>Used for UIMA FS Bag Indexes Uses ObjHashSet to hold instances of FeatureStructuresclassFsIndex_flat<T extends FeatureStructure>Common part of flattened indexes, used for both snapshot iterators and flattened sorted indexes built from passed in instance of FsIndex_iicp(package private) classFsIndex_iicp<T extends FeatureStructure>FsIndex_iicp (iicp) A pair of an leaf index and an iterator cache.classFsIndex_set_sorted<T extends FeatureStructure>Common index impl for set and sorted indexes.classFsIndex_singletype<T extends FeatureStructure>The common (among all index kinds - set, sorted, bag) info for an index over 1 type (excluding subtypes) SubClasses FsIndex_bag, FsIndex_flat, FsIndex_set_sorted, define the actual index repository for each kind.classFsIndex_snapshot<T extends FeatureStructure>Implementation of light-weight wrapper of normal indexes, which support special kinds of iterators base on the setting of IteratorExtraFunction(package private) classFsIterator_aggregation_common<T extends FeatureStructure>Aggregate several FS iterators.(package private) classFsIterator_backwards<T extends FeatureStructure>Wraps FSIterator, runs it backwards (package private) classFsIterator_bag<T extends FeatureStructure>(package private) classFsIterator_bag_pear<T extends FeatureStructure>This version of the FsIterator is used while iterating within a PEAR Indexes keep references to the base (possibly non-pear) version of FSs.(package private) classFsIterator_limited<T extends FeatureStructure>Wraps FSIterator, limits results to n gets. classFsIterator_multiple_indexes<T extends FeatureStructure>Common code for both aggregation of indexes (e.g.(package private) classFsIterator_set_sorted_pear<T extends FeatureStructure>(package private) classFsIterator_set_sorted2<T extends FeatureStructure>An iterator for a single type for a set or sorted index NOTE: This is the version used for set/sorted iterators It is built directly on top of a CopyOnWrite wrapper for OrderedFsSet_array It uses the version of OrdereFsSet_array that has no embedded nullsclassFsIterator_singletype<T extends FeatureStructure>classFsIterator_subtypes_ordered<T extends FeatureStructure>Performs an ordered iteration among a set of iterators, each one corresponding to the type or subtype of the uppermost type.classFsIterator_subtypes_snapshot<T extends FeatureStructure>classFSIteratorImplBase<T extends FeatureStructure>Version 2 compatibility only, not used internally in version 3 Base class for FSIterator implementations.classLLUnambiguousIteratorImpl<T extends FeatureStructure>Implements a low level ambiguous or unambiguous iterator over some type T which doesn't need to be a subtype of Annotation.interfaceLowLevelIndex<T extends FeatureStructure>Low-level FS index object.interfaceLowLevelIterator<T extends FeatureStructure>Low-level FS iterator.classLowLevelIterator_empty<T extends FeatureStructure>An empty Low-level FS iteratorclassSelectFSs_impl<T extends FeatureStructure>Collection of builder style methods to specify selection of FSs from indexes shift handled in this routine Comment codes: AI = implies AnnotationIndex Iterator varieties and impl bounded? type order not unambig? strict? skipEq Priority? Needed? no coveredBy covering sameas for not-bounded, - ignore strict and skipEq -- except: preceding implies skipping annotations whose end > positioning begin - order-not-needed only applies if iicp size > 1 - unambig ==> use Subiterator -- subiterator wraps: according to typePriority and order-not-needed - no Type Priority - need to pass in as arg to fsIterator_multiple_indexes == if no type priority, need to prevent rattling off the == type while compare is equal == affects both FsIterator_aggregation_common and FsIterator_subtypes_ordered for 3 other boundings: - use subiterator, pass in strict and skipeq finish this javadoc comment edit T extends FeatureStructure, not TOP, because of ref from FSIndex which uses FeatureStructure for backwards compatibilitySubinterfaces of FeatureStructure in org.apache.uima.cas.impl Modifier and Type Interface Description interfaceAnnotationBaseImplDeprecated.use AnnotationBase insteadinterfaceAnnotationImplDeprecated.use Annotation insteadinterfaceBooleanArrayFSImplDeprecated.use BooleanArray insteadinterfaceByteArrayFSImplDeprecated.use ByteArray insteadinterfaceCommonArrayFSImplDeprecated.interfaceDoubleArrayFSImplDeprecated.use DoubleArray insteadinterfaceFeatureStructureImplDeprecated.use TOP insteadinterfaceFloatArrayFSImplDeprecated.use FloatArray insteadinterfaceIntArrayFSImplDeprecated.use IntegerArray insteadinterfaceLongArrayFSImplDeprecated.use LongArray insteadinterfaceShortArrayFSImplDeprecated.use ShortArray insteadinterfaceSofaFSImplDeprecated.use Sofa insteadinterfaceStringArrayFSImplDeprecated.use StringArray insteadClasses in org.apache.uima.cas.impl that implement FeatureStructure Modifier and Type Class Description classFeatureStructureImplCFeature structure implementation (for non JCas and JCas) Each FS has - int data - used for boolean, byte, short, int, long, float, double data -- long and double use 2 int slots - may be null if all slots are in JCas cover objects as fields - ref data - used for references to other Java objects, such as -- strings -- other feature structures -- arbitrary Java Objects - may be null if all slots are in JCas cover objects as fields - an id: an incrementing integer, starting at 1, per CAS, of all FSs created for that CAS - a ref to the casView where this FS was created - a ref to the TypeImpl for this class -- can't be static - may be multiple type systems in useFields in org.apache.uima.cas.impl declared as FeatureStructure Modifier and Type Field Description private FeatureStructure[]DebugFSLogicalStructure.UnexpandedFeatureStructures. itemsprivate T[]FsIterator_subtypes_snapshot. snapshotprivate FeatureStructure[]SelectFSs_impl. sourceFSArrayFields in org.apache.uima.cas.impl with type parameters of type FeatureStructure Modifier and Type Field Description static LowLevelIterator<FeatureStructure>LowLevelIterator. FS_ITERATOR_LOW_LEVEL_EMPTYan empty iteratorFSIndex<FeatureStructure>DebugFSLogicalStructure.IndexInfo. fsIndexprivate FSIndex<? extends FeatureStructure>DebugFSLogicalStructure.UnexpandedFeatureStructures. fsIndexprivate java.util.Set<FeatureStructure>FeatureStructureImplC.PrintReferences. seenprivate java.util.Map<FeatureStructure,java.lang.String>FeatureStructureImplC.PrintReferences. treeMethods in org.apache.uima.cas.impl with type parameters of type FeatureStructure Modifier and Type Method Description private <T extends FeatureStructure>
voidFSIndexRepositoryImpl. addDirectSubtypes(TypeImpl type, java.util.List<LowLevelIterator<T>> iteratorList)<T extends FeatureStructure>
voidFSIndexRepositoryImpl. addFS(T fs)<T extends FeatureStructure>
FSIterator<T>CASImpl. createFilteredIterator(FSIterator<T> it, FSMatchConstraint cons)<T extends FeatureStructure>
TCASImpl. createFS(Type type)Create the appropriate Feature Structure Java instance - from whatever the generator for this type specifies.(package private) <T extends FeatureStructure>
voidFSIndexRepositoryImpl. createIndex(FSIndexRepositoryImpl baseIndexRepo, java.lang.String key)create indexes in a view, by copying the baseCas's index repository's definitions Called when creating or refreshing (after deserializing) a view<T extends FeatureStructure>
booleanFSIndexRepositoryImpl. createIndexNoQuestionsAsked(FSIndexComparator comp, java.lang.String label, int indexType)This is public only until the xml specifier format supports specifying index kinds (set, bag etc.).<T extends FeatureStructure>
FSArray<T>CASImpl. emptyFSArray()<T extends FeatureStructure>
FSArray<T>CASImpl. emptyFSArray(Type type)<T extends FeatureStructure>
java.util.ListIterator<T>CASImpl. fs2listIterator(FSIterator<T> it)<T extends FeatureStructure>
LowLevelIterator<T>FSIndexRepositoryImpl. getAllIndexedFS(Type type)private <T extends FeatureStructure>
voidFSIndexRepositoryImpl. getAllIndexedFS(Type type, java.util.List<LowLevelIterator<T>> iteratorList)<T extends FeatureStructure>
LowLevelIndex<T>FSIndexRepositoryImpl. getIndex(java.lang.String label)<T extends FeatureStructure>
FSIndex<T>FSIndexRepositoryImpl. getIndex(java.lang.String label, Type type)<T extends FeatureStructure>
FsIndex_iicp<T>FSIndexRepositoryImpl. getIndexBySpec(int typeCode, int indexingStrategy, FSIndexComparatorImpl comp)Get the FsIndex_iicp for a given typeCode, indexingStrategy, and comparator (type ignored)(package private) <T extends FeatureStructure>
FsIndex_iicp<T>FSIndexRepositoryImpl.IndexesForType. getIndexExcludingType(int indexingStrategy, FSIndexComparatorImpl comparatorForIndexSpecs)<T extends FeatureStructure>
java.util.Iterator<java.lang.String>FSIndexRepositoryImpl. getLabels(FSIndexComparator comp)Get the labels for a specific comparator.<T extends FeatureStructure>
LowLevelIterator<T>FSIndexRepositoryImpl. ll_getAllIndexedFS(Type type)<T extends FeatureStructure>
LowLevelIndex<T>FSIndexRepositoryImpl. ll_getIndex(java.lang.String indexName)<T extends FeatureStructure>
LowLevelIndex<T>FSIndexRepositoryImpl. ll_getIndex(java.lang.String indexName, int typeCode)<T extends FeatureStructure>
LowLevelIndex<T>LowLevelIndexRepository. ll_getIndex(java.lang.String indexName)Get an index by its name.<T extends FeatureStructure>
LowLevelIndex<T>LowLevelIndexRepository. ll_getIndex(java.lang.String indexName, int typeCode)Get an index by a name and type.(package private) static <T extends FeatureStructure>
TCASImpl. pearConvert(T aFs)Convert base FS to Pear equivalent 3 cases: 1) no trampoline needed, no conversion, return the original fs 2) trampoline already exists - return that one 3) create new trampolineMethods in org.apache.uima.cas.impl that return FeatureStructure Modifier and Type Method Description T[]SelectFSs_impl. asArray(java.lang.Class<? super T> clazz)private T[]SelectFSs_impl. asArray(LowLevelIterator<T> it, java.lang.Class<? super T> clazz)This is a terminal operation, so can use/modify the original iteratorstatic FeatureStructure[]DebugFSLogicalStructure. getDebugLogicalStructure_SubAnnotations(AnnotationFS fs)(package private) FeatureStructure[]FsIndex_flat. getFlatArray()FeatureStructureFeaturePathImpl. getFSValue(FeatureStructure fs)private static FeatureStructure[]DebugFSLogicalStructure. getIndexContents(FSIndex<? extends FeatureStructure> fsIndex)private static FeatureStructure[]DebugFSLogicalStructure. getIndexContents(FSIterator<? extends FeatureStructure> it)FeatureStructure[]DebugFSLogicalStructure.UnexpandedFeatureStructures. getItems()FeatureStructureCASImpl. getRefArrayValue(FSArray array, int i)FeatureStructureCASImpl. getSofaDataArray()Methods in org.apache.uima.cas.impl with parameters of type FeatureStructure Modifier and Type Method Description voidFeatureStructureImplC. _setFeatureValueNcWj(int adjOffset, FeatureStructure v)Nc - no check, Wj = with journaling if neededvoidCASImpl. addFsToIndexes(FeatureStructure fs)(package private) booleanFeatureStructureImplC.PrintReferences. addReference(FeatureStructure fs)protected voidFsIndex_singletype. assertFsTypeMatchesIndexType(FeatureStructure fs, java.lang.String operation)voidCASImpl. commitFS(FeatureStructure fs)Deprecated.intFSComparator. compare(FeatureStructure fs1, FeatureStructure fs2)Compare two FSs.intFsIndex_bag. compare(FeatureStructure fs1, FeatureStructure fs2)Override the super impl which uses comparators.intFsIndex_flat. compare(FeatureStructure fs1, FeatureStructure fs2)intFsIndex_iicp. compare(FeatureStructure fs1, FeatureStructure fs2)intFsIndex_set_sorted. compare(FeatureStructure o1, FeatureStructure o2)abstract intFsIndex_singletype. compare(FeatureStructure o1, FeatureStructure o2)This is required to avoid compilation error (but not in Eclipse) due to ambiguous interface inheritance from both FeatureStructure and Comparator(package private) intFsIndex_singletype. compare(FeatureStructure afs1, FeatureStructure afs2, boolean ignoreType)intFsIndex_snapshot. compare(FeatureStructure o1, FeatureStructure o2)private intFsIterator_subtypes_ordered. compare(FeatureStructure fsLeft, FeatureStructure fsRight)Only used to compare two iterator's with different types positionintFsIterator_subtypes_snapshot. compare(FeatureStructure fs1, FeatureStructure fs2)intLinearTypeOrderBuilderImpl.TotalTypeOrder. compare(FeatureStructure fs1, FeatureStructure fs2)booleanFsIndex_bag. contains(FeatureStructure fs)booleanFsIndex_flat. contains(FeatureStructure fs)booleanFsIndex_iicp. contains(FeatureStructure fs)booleanFsIndex_set_sorted. contains(FeatureStructure templateKey)booleanFsIndex_snapshot. contains(FeatureStructure fs)intCopyOnWriteIndexPart. copyToArray(T[] target, int startingIndexInTarget)Copy FS refs to target from this index partprivate voidCASImpl. featModWhileInIndexReport(FeatureStructure fs, int featCode)private voidCASImpl. featModWhileInIndexReport(FeatureStructure fs, FeatureImpl fi)private static voidDebugFSLogicalStructure. fillFeatures(DebugNameValuePair[] result, int startOffset, FeatureStructure fs, java.util.List<Feature> features)TFsIndex_bag. find(FeatureStructure fs)This is a silly method for bag indexes in V3, since dupl add to indexes is not allowed.TFsIndex_flat. find(FeatureStructure fs)TFsIndex_iicp. find(FeatureStructure fs)TFsIndex_set_sorted. find(FeatureStructure templateKey)find any arbitrary matching FS two comparators: cp, and cpx (has extra id comparing) First find an FS in the index that's the smallest that's GE to key using cpx - if none found, then all of the entries in the index are LessThan the key (using cpx); but one might be equal using cp -- if one or more would be equal using cp, it would be because the only reason for the inequality using cpx was due to the _id miscompare.TFsIndex_snapshot. find(FeatureStructure fs)static java.lang.ObjectDebugFSLogicalStructure. floatListToArray(FeatureStructure fs)static java.lang.ObjectDebugFSLogicalStructure. fsListToArray(FeatureStructure fs)TSelectFSs_impl. get(FeatureStructure fs)TSelectFSs_impl. get(FeatureStructure fs, int offset)java.lang.BooleanFeaturePathImpl. getBooleanValue(FeatureStructure fs)java.lang.ByteFeaturePathImpl. getByteValue(FeatureStructure fs)static java.lang.ObjectDebugFSLogicalStructure. getDebugLogicalStructure_FeatureStructure(FeatureStructure fs)java.lang.DoubleFeaturePathImpl. getDoubleValue(FeatureStructure fs)java.lang.FloatFeaturePathImpl. getFloatValue(FeatureStructure fs)FeatureStructureFeaturePathImpl. getFSValue(FeatureStructure fs)java.lang.IntegerFeaturePathImpl. getIntValue(FeatureStructure fs)(package private) java.lang.StringFeatureStructureImplC.PrintReferences. getLabel(FeatureStructure ref)java.lang.LongFeaturePathImpl. getLongValue(FeatureStructure fs)java.lang.ShortFeaturePathImpl. getShortValue(FeatureStructure fs)java.lang.StringFeaturePathImpl. getStringValue(FeatureStructure fs)TypeClassFeaturePathImpl. getTypClass(FeatureStructure fs)Deprecated.TypeFeaturePathImpl. getType(FeatureStructure fs)TypeClassFeaturePathImpl. getTypeClass(FeatureStructure fs)java.lang.StringFeaturePathImpl. getValueAsString(FeatureStructure fs)static java.lang.ObjectDebugFSLogicalStructure. integerListToArray(FeatureStructure fs)booleanCASImpl. isInCAS(FeatureStructure fs)booleanMarkerImpl. isModified(FeatureStructure fs)booleanMarkerImpl. isNew(FeatureStructure fs)LowLevelIterator<T>FsIndex_singletype. iterator(FeatureStructure initialPositionFs)intCASImpl. ll_getFSRef(FeatureStructure fs)Safety - any time the low level API to a FS is requested, hold on to that FS until CAS reset to mimic how v2 works.intLowLevelCAS. ll_getFSRef(FeatureStructure fsImpl)Get the low-level reference from an existing FS object.booleanBooleanConstraint. match(FeatureStructure fs)booleanConjunctiveConstraint. match(FeatureStructure fs)booleanDisjunctiveConstraint. match(FeatureStructure fs)booleanEmbeddedConstraint. match(FeatureStructure fs)booleanFloatConstraint. match(FeatureStructure fs)booleanFSTypeConstraintImpl. match(FeatureStructure fs)booleanIntConstraint. match(FeatureStructure fs)booleanStringConstraint. match(FeatureStructure fs)default voidLowLevelIterator. moveTo(FeatureStructure fs)voidSelectFSs_impl.SelectFSIterator. moveTo(FeatureStructure aFs)private voidSubiterator. moveTo_iterators(FeatureStructure fs, boolean initialPositioning)Move the sub iterator to the given position.private voidSubiterator. moveTo_listForm(FeatureStructure fs)private voidFsIterator_set_sorted2. moveToLeftMost(FeatureStructure fs)Starting at a position where the item is equal to fs using the compare without id, move to the leftmost one search opportunistically, starting at 1 before, 2, 4, 8, 16, etc.private voidFsIterator_set_sorted2. moveToLeftMostUp(FeatureStructure fs, int upperValidPos)Must be possible to leave the pos == to upperValidPos.voidFilteredIterator. moveToNoReinit(FeatureStructure fs)voidFsIterator_aggregation_common. moveToNoReinit(FeatureStructure fs)MoveTo for this kind of iterator Happens for set or sorted indexes being operated without rattling, or for other kinds of aggregation.voidFsIterator_backwards. moveToNoReinit(FeatureStructure fs)voidFsIterator_bag. moveToNoReinit(FeatureStructure fs)voidFsIterator_limited. moveToNoReinit(FeatureStructure fs)voidFsIterator_set_sorted2. moveToNoReinit(FeatureStructure fs)voidFsIterator_subtypes_ordered. moveToNoReinit(FeatureStructure fs)voidFsIterator_subtypes_snapshot. moveToNoReinit(FeatureStructure fs)voidLowLevelIterator_empty. moveToNoReinit(FeatureStructure fs)voidLowLevelIterator. moveToNoReinit(FeatureStructure fs)Internal use same as moveTo(fs), but won't reset to use current contents of index if index has changedvoidSelectFSs_impl.SelectFSIterator. moveToNoReinit(FeatureStructure aFs)voidSubiterator. moveToNoReinit(FeatureStructure fs)(package private) intFeatureStructureImplC.PrintReferences. printInfo(FeatureStructure ref)voidFSIndexRepositoryImpl. removeFS(FeatureStructure fs)voidCASImpl. removeFsFromIndexes(FeatureStructure fs)voidFeatureStructureImplC. setFeatureValue(Feature feat, FeatureStructure v)voidCASImpl. setId2FSsMaybeUnconditionally(FeatureStructure... fss)Test case usevoidCASImpl. setSofaDataArray(FeatureStructure array, java.lang.String mime)TSelectFSs_impl. single(FeatureStructure fs)TSelectFSs_impl. single(FeatureStructure fs, int offset)TSelectFSs_impl. singleOrNull(FeatureStructure fs)TSelectFSs_impl. singleOrNull(FeatureStructure fs, int offset)SelectFSs_impl<T>SelectFSs_impl. startAt(FeatureStructure fs)SelectFSs_impl<T>SelectFSs_impl. startAt(FeatureStructure fs, int offset)static java.lang.ObjectDebugFSLogicalStructure. stringListToArray(FeatureStructure fs)Method parameters in org.apache.uima.cas.impl with type arguments of type FeatureStructure Modifier and Type Method Description intFsIndex_iicp. compareTo(FsIndex_iicp<? extends FeatureStructure> cp)Maybe not used 3/2015 Compares two instances of FsIndex_iicp, for ordering.private static Annotation[]LLUnambiguousIteratorImpl. createItemsArray(LowLevelIterator<FeatureStructure> it)private static FeatureStructure[]DebugFSLogicalStructure. getIndexContents(FSIndex<? extends FeatureStructure> fsIndex)private static FeatureStructure[]DebugFSLogicalStructure. getIndexContents(FSIterator<? extends FeatureStructure> it)private voidFsIndex_iicp. initOneTypeThenAllSubtypes(TypeImpl ti, java.util.ArrayList<FsIndex_singletype<FeatureStructure>> cache, int indexKind)This method inits one type then calls itself for all direct subtypesConstructors in org.apache.uima.cas.impl with parameters of type FeatureStructure Constructor Description FsIterator_subtypes_snapshot(T[] snapshot, LowLevelIndex<T> index, boolean is_unordered, java.util.Comparator<TOP> comparatorMaybeNoTypeWithoutId)Alternative source iterator, 1st arg is different (not an "index", just an array) - altSources are unordered, and NoType is ignored - also supports backwards iterators, these are ordered (Maybe fix this in the future - this is not necessarily required)SelectFSs_impl(FeatureStructure[] source, CAS cas)Constructor parameters in org.apache.uima.cas.impl with type arguments of type FeatureStructure Constructor Description UnexpandedFeatureStructures(FSIndex<? extends FeatureStructure> fsIndex) -
Uses of FeatureStructure in org.apache.uima.cas.text
Subinterfaces of FeatureStructure in org.apache.uima.cas.text Modifier and Type Interface Description interfaceAnnotationFSInterface for Annotation Feature Structures. -
Uses of FeatureStructure in org.apache.uima.collection.impl.cpm.engine
Methods in org.apache.uima.collection.impl.cpm.engine that return FeatureStructure Modifier and Type Method Description static FeatureStructureConsumerCasUtils. getTcasFS(CAS aCasView, java.lang.String aTypeS)Returns a Feature Structure of a given type. -
Uses of FeatureStructure in org.apache.uima.examples
Classes in org.apache.uima.examples that implement FeatureStructure Modifier and Type Class Description classSourceDocumentInformationStores detailed information about the original source document from which the current CAS was initialized. -
Uses of FeatureStructure in org.apache.uima.internal.util
Classes in org.apache.uima.internal.util with type parameters of type FeatureStructure Modifier and Type Interface Description interfaceComparableFSIterator<F extends FeatureStructure>Interface for a comparable FSIterator.classCopyOnWriteObjHashSet<T extends FeatureStructure>implements ObjHashSet partially, for iterator useclassCopyOnWriteOrderedFsSet_array<T extends FeatureStructure>implements OrderedFsSet_array partially, for iterator useclassOrderedFsSet_array<T extends FeatureStructure>This one is being used, the other one (ending in 2) may be put back into service for large sizes, later.Fields in org.apache.uima.internal.util declared as FeatureStructure Modifier and Type Field Description T[]CopyOnWriteOrderedFsSet_array. aMethods in org.apache.uima.internal.util with parameters of type FeatureStructure Modifier and Type Method Description intCopyOnWriteObjHashSet. copyToArray(T[] target, int startingIndexInTarget)intCopyOnWriteOrderedFsSet_array. copyToArray(T[] target, int startingIndexInTarget)intCopyOnWriteObjHashSet. moveTo(FeatureStructure fs)if the fs is in the set, the iterator should return it.intObjHashSet. moveTo(FeatureStructure fs)if the fs is in the set, the iterator should return it. -
Uses of FeatureStructure in org.apache.uima.jcas
Methods in org.apache.uima.jcas with type parameters of type FeatureStructure Modifier and Type Method Description <T extends FeatureStructure>
FSIterator<T>JCas. createFilteredIterator(FSIterator<T> it, FSMatchConstraint cons)Create an iterator over structures satisfying a given constraint.<T extends FeatureStructure>
java.util.ListIterator<T>JCas. fs2listIterator(FSIterator<T> it)Wrap a standard JavaListIteratoraround an FSListIterator.Methods in org.apache.uima.jcas that return FeatureStructure Modifier and Type Method Description FeatureStructureJCas. getSofaDataArray()Get the Sofa data array.Methods in org.apache.uima.jcas with parameters of type FeatureStructure Modifier and Type Method Description voidJCas. addFsToIndexes(FeatureStructure fs)Add a feature structure to all appropriate indexes in the repository associated with this CAS View.default voidJCas. putJfsFromCaddr(int casAddr, FeatureStructure fs)Deprecated.voidJCas. removeFsFromIndexes(FeatureStructure fs)Remove a feature structure from all indexes in the repository associated with this CAS View.voidJCas. setSofaDataArray(FeatureStructure array, java.lang.String mime)Set the Sofa data as an ArrayFS.Method parameters in org.apache.uima.jcas with type arguments of type FeatureStructure Modifier and Type Method Description TypeJCas. getCasType(java.lang.Class<? extends FeatureStructure> clazz)Return the UIMA Type object corresponding to this JCas's JCas cover class (Note: different JCas's, with different type systems, may share the same cover class impl) -
Uses of FeatureStructure in org.apache.uima.jcas.cas
Classes in org.apache.uima.jcas.cas with type parameters of type FeatureStructure Modifier and Type Interface Description interfaceArrayFSImpl<E extends FeatureStructure>Deprecated.use FSArray insteadclassFSArray<T extends FeatureStructure>Java Class model for Cas FSArray type extends FeatureStructure for backwards compatibility when using FSArray with no typing.interfaceSelectViaCopyToArray<T extends FeatureStructure>Classes which provide a toArrayForSelect() method that returns a FeatureStructure[] can implement this to enable the class to be used as a "select" source T extends FeatureStructure because FSArray with no typing needs to default to FeatureStructure for backwards compatibilitySubinterfaces of FeatureStructure in org.apache.uima.jcas.cas Modifier and Type Interface Description interfaceArrayFSImpl<E extends FeatureStructure>Deprecated.use FSArray insteadinterfaceCommonListThis class is the super class of list nodes (both empty and non empty)interfaceCommonPrimitiveArray<T>This interface is implemented by arrays of non-FeatureStructure components boolean, byte, short, int, long, float, double, String, JavaObject Internal Use Only.interfaceEmptyLista marker interface for empty listsinterfaceNonEmptyLista marker interface for nonempty listsClasses in org.apache.uima.jcas.cas that implement FeatureStructure Modifier and Type Class Description classAnnotationBasethe JCas class model for the CAS type uima.cas.AnnotationBase.classBooleanArrayJCas class model for BooleanArrayclassByteArrayJCas class model for ByteArrayclassDoubleArrayJCas class model for DoubleArrayclassEmptyFloatListclassEmptyFSList<T extends TOP>classEmptyIntegerListclassEmptyStringListclassFloatArrayJava Cas model for Cas FloatArray.classFloatListclassFSArray<T extends FeatureStructure>Java Class model for Cas FSArray type extends FeatureStructure for backwards compatibility when using FSArray with no typing.classFSArrayList<T extends TOP>An ArrayList type containing Feature Structures, for UIMA Has all the methods of List Implements the select(...) APIsclassFSHashSet<T extends TOP>a hash set of Feature Structures Is Pear aware - stores non-pear versions but may return pear version in pear contexts Updated by JCasGen Fri Jan 20 11:55:59 EST 2017 XML source: C:/au/svnCheckouts/branches/uimaj/v3-alpha/uimaj-types/src/main/descriptors/java_object_type_descriptors.xmlclassFSLinkedHashSet<T extends TOP>a hash set of Feature Structures Is Pear aware - stores non-pear versions but may return pear version in pear contexts Updated by JCasGen Fri Jan 20 11:55:59 EST 2017 XML source: C:/au/svnCheckouts/branches/uimaj/v3-alpha/uimaj-types/src/main/descriptors/java_object_type_descriptors.xmlclassFSList<T extends TOP>T extends TOP, v2 already mandated TOP for set/getclassInt2FS<T extends TOP>A map from ints to Feature Structures Is Pear aware - stores non-pear versions but may return pear version in pear contextsclassIntegerArrayThe Java Class model corresponding to the Cas IntegerArray_JCasImpl type.classIntegerArrayListAn ArrayList type containing ints, for UIMA - implements a subset of the List API, Iterable<Integer>, IntListIterator.classIntegerListclassLongArrayJCas class model for LongArrayclassNonEmptyFloatListclassNonEmptyFSList<T extends TOP>classNonEmptyIntegerListclassNonEmptyStringListclassShortArrayJCas class model for ShortArrayclassSofaclassStringArrayJCas class model for StringArrayclassStringListclassTOPThe JCas Class model corresponding to the Cas TOP type.Methods in org.apache.uima.jcas.cas with type parameters of type FeatureStructure Modifier and Type Method Description <U extends FeatureStructure>
voidFSArray. copyFromArray(U[] src, int srcPos, int destPos, int length)<E extends FeatureStructure>
voidFSArrayList. copyFromArray(E[] src, int srcPos, int destPos, int length)Copy from array.<U extends FeatureStructure>
voidFSArray. copyToArray(int srcPos, U[] dest, int destPos, int length)<E extends FeatureStructure>
voidFSArrayList. copyToArray(int srcPos, E[] dest, int destPos, int length)Copy to array.static <U extends FeatureStructure>
FSArray<U>FSArray. create(JCas jcas, FeatureStructure[] a)Convenience - create a FSArray from an existing FeatureStructure[]static <E extends TOP,F extends FeatureStructure>
FSArrayList<E>FSArrayList. create(JCas jcas, F[] a)Convenience - create a FSArrayList from an existing Array.static <U extends TOP,E extends FeatureStructure>
FSList<U>FSList. create(JCas jcas, E[] a)Create an FSList from an existing array of Feature Structures<U extends FeatureStructure>
UFSArray. get(int i)return the indexed value from the corresponding Cas FSArray as a Java Model object.Methods in org.apache.uima.jcas.cas that return FeatureStructure Modifier and Type Method Description FeatureStructure[]FSArray. _toArrayForSelect()FeatureStructure[]FSArrayList. _toArrayForSelect()FeatureStructure[]SelectViaCopyToArray. _toArrayForSelect()FeatureStructureSofa. getLocalFSData()FeatureStructure[]FSArray. toArray()Methods in org.apache.uima.jcas.cas with parameters of type FeatureStructure Modifier and Type Method Description <U extends FeatureStructure>
voidFSArray. copyFromArray(U[] src, int srcPos, int destPos, int length)<E extends FeatureStructure>
voidFSArrayList. copyFromArray(E[] src, int srcPos, int destPos, int length)Copy from array.<U extends FeatureStructure>
voidFSArray. copyToArray(int srcPos, U[] dest, int destPos, int length)<E extends FeatureStructure>
voidFSArrayList. copyToArray(int srcPos, E[] dest, int destPos, int length)Copy to array.static <U extends FeatureStructure>
FSArray<U>FSArray. create(JCas jcas, FeatureStructure[] a)Convenience - create a FSArray from an existing FeatureStructure[]static <E extends TOP,F extends FeatureStructure>
FSArrayList<E>FSArrayList. create(JCas jcas, F[] a)Convenience - create a FSArrayList from an existing Array.static <U extends TOP,E extends FeatureStructure>
FSList<U>FSList. create(JCas jcas, E[] a)Create an FSList from an existing array of Feature StructuresvoidAnnotationBase. setFeatureValue(Feature feat, FeatureStructure v)voidSofa. setFeatureValue(Feature feat, FeatureStructure fs)voidSofa. setLocalSofaData(FeatureStructure aFS)voidSofa. setLocalSofaData(FeatureStructure aFS, java.lang.String mimeType) -
Uses of FeatureStructure in org.apache.uima.jcas.impl
Methods in org.apache.uima.jcas.impl with type parameters of type FeatureStructure Modifier and Type Method Description <T extends FeatureStructure>
FSIterator<T>JCasImpl. createFilteredIterator(FSIterator<T> it, FSMatchConstraint constraint)<T extends FeatureStructure>
java.util.ListIterator<T>JCasImpl. fs2listIterator(FSIterator<T> it)Methods in org.apache.uima.jcas.impl that return FeatureStructure Modifier and Type Method Description FeatureStructureJCasImpl. getSofaDataArray()Methods in org.apache.uima.jcas.impl with parameters of type FeatureStructure Modifier and Type Method Description voidJCasImpl. addFsToIndexes(FeatureStructure instance)voidJCasImpl. removeFsFromIndexes(FeatureStructure instance)voidJCasImpl. setSofaDataArray(FeatureStructure array, java.lang.String mime)Method parameters in org.apache.uima.jcas.impl with type arguments of type FeatureStructure Modifier and Type Method Description TypeJCasImpl. getCasType(java.lang.Class<? extends FeatureStructure> clazz)Return the UIMA Type object corresponding to this JCas's JCas cover class (Note: different JCas's, with different type systems, may share the same cover class impl)private static intJCasImpl. getTypeRegistryIndex(java.lang.Class<? extends FeatureStructure> clazz)Static method to get the corresponding Type for a JCas class object -
Uses of FeatureStructure in org.apache.uima.jcas.tcas
Classes in org.apache.uima.jcas.tcas that implement FeatureStructure Modifier and Type Class Description classAnnotationthe JCas class model for the CAS type uima.cas.Annotation.classDocumentAnnotationThe JCas class definition for the CASDocumentAnnotationtype. -
Uses of FeatureStructure in org.apache.uima.tools.viewer
Fields in org.apache.uima.tools.viewer declared as FeatureStructure Modifier and Type Field Description private FeatureStructureCasAnnotationViewer.FsTreeNodeObject. featureStructureThe feature structure.Methods in org.apache.uima.tools.viewer that return FeatureStructure Modifier and Type Method Description FeatureStructureCasAnnotationViewer.FsTreeNodeObject. getFeatureStructure()Gets the feature structure.Methods in org.apache.uima.tools.viewer with parameters of type FeatureStructure Modifier and Type Method Description private voidCasAnnotationViewer. addFeatureTreeNodes(javax.swing.tree.DefaultMutableTreeNode aParentNode, FeatureStructure aFS)Adds the feature tree nodes.private java.lang.StringCasAnnotationViewer. getFeatureValueInString(FeatureStructure aFS, Feature feature)Get feature value in string, if value is not another annotation and not an array of annotations.Constructors in org.apache.uima.tools.viewer with parameters of type FeatureStructure Constructor Description FsTreeNodeObject(FeatureStructure inFeatureStructure, java.lang.String inFeatureName)Instantiates a new fs tree node object. -
Uses of FeatureStructure in org.apache.uima.util
Methods in org.apache.uima.util with type parameters of type FeatureStructure Modifier and Type Method Description private <T extends FeatureStructure>
voidCasCopier. copyFeatures(T srcFSi, T tgtFSi)Copy feature values from one FS to another.<T extends FeatureStructure>
TCasCopier. copyFs(T aFS)Copy 1 feature structure from the originalSrcCas to a new Cas.private <T extends FeatureStructure>
booleanCasCopier. isDocumentAnnotation(T aFS)Determines whether the given FS is the DocumentAnnotation in the srcCasView.Methods in org.apache.uima.util that return FeatureStructure Modifier and Type Method Description static FeatureStructureConsumerCasUtils. getTcasFS(CAS aCasView, java.lang.String aTypeS)Methods in org.apache.uima.util with parameters of type FeatureStructure Modifier and Type Method Description booleanCasCopier. alreadyCopied(FeatureStructure aFS)Note: if lenient is in effect, this method will return false for FSs which are not copied because the target doesn't have that type.private org.xml.sax.AttributesCasToInlineXml. getFeatureAttributes(FeatureStructure aFS, CAS aCAS)private org.xml.sax.AttributesTCasToInlineXml. getFeatureAttributes(FeatureStructure aFS, CAS aCAS)Deprecated.
-