Uses of Class
org.apache.uima.jcas.cas.TOP
-
Packages that use TOP Package Description org.apache.uima.cas Common Analysis System(CAS) Interfacesorg.apache.uima.cas.impl Implementation and Low-Level API for the CAS Interfaces.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.json org.apache.uima.spi org.apache.uima.tools.cvd org.apache.uima.util Utility classes and interfaces used by UIMA components.org.apache.uima.util.impl -
-
Uses of TOP in org.apache.uima.cas
Methods in org.apache.uima.cas with type parameters of type TOP Modifier and Type Method Description default <T extends TOP>
CommonArrayFS<T>CAS. emptyArray(java.lang.Class<T> clazz)
default <T extends TOP>
EmptyFSList<T>CAS. emptyFSList()
default <T extends TOP>
EmptyListCAS. emptyList(java.lang.Class<T> clazz)
default <T extends TOP>
FSIterator<T>CAS. getAllIndexedFS(java.lang.Class<T> clazz)
Gets an iterator over all indexed (in this CAS view) FeatureStructures of the specified Type (and any of its subtypes).default <T extends TOP>
FSIterator<T>CAS. getAllIndexedFS(Type type)
Gets an iterator over all indexed (in this CAS view) FeatureStructures of the specified Type (and any of its subtypes).default <T extends TOP>
TypeCAS. getCasType(java.lang.Class<T> clazz)
default <T extends TOP>
java.util.Collection<T>CAS. getIndexedFSs(java.lang.Class<T> clazz)
Returns a collection of all the FSs that are indexed in this view, in an arbitrary order.default <T extends TOP>
java.util.Collection<T>CAS. getIndexedFSs(Type type)
Returns an unmodifiable collection of all the FSs that are indexed in this view, in an arbitrary order.<T extends TOP>
java.util.Collection<T>FSIndexRepository. getIndexedFSs()
Returns an unmodifiable collection of all of the FSs that are indexed in this view, in an arbitrary order.<T extends TOP>
java.util.Collection<T>FSIndexRepository. getIndexedFSs(java.lang.Class<T> clazz)
Returns an unmodifiable collection of all the FSs of this type and its subtypes, that are indexed in this view, in an arbitrary order.<T extends TOP>
java.util.Collection<T>FSIndexRepository. getIndexedFSs(Type type)
Returns an unmodifiable collection of all the FSs of this type and its subtypes, that are indexed in this view, in an arbitrary order.default <T extends TOP>
voidFSIndexRepository. removeAllExcludingSubtypes(java.lang.Class<T> clazz)
Remove all instances of just this type, excluding subtypes, from all indexes in the repository view.default <T extends TOP>
voidFSIndexRepository. removeAllIncludingSubtypes(java.lang.Class<T> clazz)
Remove all instances of type, including all subtypes from all indexes in the repository view.default <T extends TOP>
SelectFSs<T>CAS. select()
default <T extends TOP>
SelectFSs<T>CAS. select(int jcasType)
default <T extends TOP>
SelectFSs<T>CAS. select(java.lang.Class<T> clazz)
default <T extends TOP>
SelectFSs<T>CAS. select(java.lang.String fullyQualifiedTypeName)
default <T extends TOP>
SelectFSs<T>CAS. select(Type type)
<T extends TOP>
T[]ArrayFS. toArray(T[] a)
Populates an existing array from this FS Array.Methods in org.apache.uima.cas that return TOP Modifier and Type Method Description <T extends TOP>
T[]ArrayFS. toArray(T[] a)
Populates an existing array from this FS Array.Methods in org.apache.uima.cas that return types with arguments of type TOP Modifier and Type Method Description default java.util.Collection<TOP>
CAS. getIndexedFSs()
Returns an unmodifiable collection of all of the FSs that are indexed in this view, in an arbitrary order.Methods in org.apache.uima.cas with parameters of type TOP Modifier and Type Method Description T
SelectFSs. get(TOP fs)
Positions to the fs using moveTo(fs).T
SelectFSs. get(TOP fs, int offset)
Positions to the fs using moveTo(fs), followed by a shifted(offset).T
SelectFSs. single(TOP fs)
Positions to the fs using moveTo(fs).T
SelectFSs. single(TOP fs, int offset)
Positions to the fs using moveTo(fs), followed by a shifted(offset).T
SelectFSs. singleOrNull(TOP fs)
Positions to the fs using moveTo(fs).T
SelectFSs. singleOrNull(TOP fs, int offset)
Positions to the fs using moveTo(fs), followed by a shifted(offset).SelectFSs<T>
SelectFSs. startAt(TOP fs)
Starting Position specification - For ordered sources, specifies which FS to start at.SelectFSs<T>
SelectFSs. startAt(TOP fs, int shift)
Starting Position specification - A combination of startAt followed by a shift Requires an ordered index not necessarily AnnotationIndex, not necessarily sorted<T extends TOP>
T[]ArrayFS. toArray(T[] a)
Populates an existing array from this FS Array.Method parameters in org.apache.uima.cas with type arguments of type TOP Modifier and Type Method Description default <U extends T>
FSIndex<U>FSIndex. subType(java.lang.Class<? extends TOP> clazz)
-
Uses of TOP in org.apache.uima.cas.impl
Fields in org.apache.uima.cas.impl declared as TOP Modifier and Type Field Description private TOP
BinaryCasSerDes4.Deserializer. currentFs
the FS being deserializedprivate TOP
BinaryCasSerDes6. currentFs
the FS being deserializedprivate TOP
XCASDeserializer.XCASDeserializerHandler. currentFs
private TOP
XmiCasDeserializer.XmiCasDeserializerHandler. currentFs
private static TOP
FeaturePathImpl. FEATURE_PATH_FAILED
private TOP
BinaryCasSerDes.BinDeserSupport. fs
(package private) TOP
CASImpl.FsChange. fs
ref to the FS being modifiedprivate TOP
XCASDeserializer.FSInfo. fs
private TOP
BinaryCasSerDes.BinDeserSupport. fsToBeAddedBack
private TOP
XCASDeserializer.XCASDeserializerHandler. highestIdFs
private TOP[]
FsIndex_flat. indexedFSs
(package private) TOP
CasCompare.Prev. prevCompareTop
ref to the top of the chain; used as a boolean flagprivate TOP
BinaryCasSerDes4.Deserializer. prevFs
private TOP
BinaryCasSerDes4.Serializer. prevFs
private TOP[]
BinaryCasSerDes4.Deserializer. prevFsByType
Used for differencing, except for HeapRef values which use aboveprivate TOP[]
BinaryCasSerDes4.Serializer. prevFsByType
For differencing when reading and writing.private TOP
SelectFSs_impl. startingFs
This is used for non-annotation positioning too Used for preceding since we tweak the end offset of the reference annotationFields in org.apache.uima.cas.impl with type parameters of type TOP Modifier and Type Field Description (package private) Int2ObjHashMap<TOP,TOP>
CommonSerDesSequential. addr2fs
a map from the modelled (v2 style) FS addr to the V3 FS created when serializing (non-delta), deserializing (non-delta) augmented when deserializing(delta) used when deserializing (delta and non-delta) retained after deserializing (in case of subsequent delta (multiple) deserializations being combined) For delta, the addr is the modeled addr for the full CAS including both above and below the line.(package private) Int2ObjHashMap<TOP,TOP>
CommonSerDesSequential. addr2fs
a map from the modelled (v2 style) FS addr to the V3 FS created when serializing (non-delta), deserializing (non-delta) augmented when deserializing(delta) used when deserializing (delta and non-delta) retained after deserializing (in case of subsequent delta (multiple) deserializations being combined) For delta, the addr is the modeled addr for the full CAS including both above and below the line.private java.util.Comparator<TOP>
Subiterator. annotationComparator_withId
private java.util.Comparator<TOP>
FSIndexRepositoryImpl.SharedIndexInfo. annotationFsComparatorNoTypeWithId
private java.util.Comparator<TOP>
FSIndexRepositoryImpl.SharedIndexInfo. annotationFsComparatorNoTypeWithoutId
private java.util.Comparator<TOP>
FSIndexRepositoryImpl.SharedIndexInfo. annotationFsComparatorWithId
private java.util.Comparator<TOP>
FSIndexRepositoryImpl.SharedIndexInfo. annotationFsComparatorWithoutId
lazily created comparator using the built-in annotation index(package private) java.util.Map<TOP,java.util.List<ArrayElement>>
OutOfTypeSystemData. arrayElements
Map from FSArray instances to List of ArrayElement objects, each of which holds an array index and value (as a string).private Int2ObjHashMap<TOP,TOP>
BinaryCasSerDes. byteAuxAddr2fsa
Map from an aux addr starting address for an array of boolean/byte/short/long/double to the V3 FS.private Int2ObjHashMap<TOP,TOP>
BinaryCasSerDes. byteAuxAddr2fsa
Map from an aux addr starting address for an array of boolean/byte/short/long/double to the V3 FS.private java.util.ArrayList<TOP>
CasCompare. c1FoundFSs
private java.util.ArrayList<TOP>
CasCompare. c2FoundFSs
private static WeakIdentityMap<java.lang.ClassLoader,java.util.Map<java.lang.String,java.lang.Class<? extends TOP>>>
FSClassRegistry. cl_to_spiJCas
protected java.util.Comparator<TOP>
FsIterator_multiple_indexes. comparatorMaybeNoTypeWithoutId
for set and sorted, both ignore id because this comparator is not used for comparing within the index, only for compares between index items and outside args.private java.util.Comparator<TOP>
FsIterator_subtypes_snapshot. comparatorMaybeNoTypeWithoutId
private java.util.Comparator<TOP>
Subiterator. comparatorMaybeNoTypeWithoutId
protected java.util.Comparator<TOP>
FsIterator_set_sorted2. comparatorMaybeNoTypeWithoutID
if the iterator is configured to ignore TypeOrdering, then the comparator omits the type (if the index has a type order key)protected java.util.Comparator<TOP>
FsIndex_singletype. comparatorNoTypeWithID
comparator (with id) (ignoring typeorder) - used within one typeprivate java.util.Comparator<TOP>
FsIndex_snapshot. comparatorNoTypeWithoutId
protected java.util.Comparator<TOP>
FsIndex_singletype. comparatorNoTypeWithoutID
comparator (without id) (ignoring typeorder) - used within one type - used for iterator operations where the type is requested to be ignoredprotected java.util.Comparator<TOP>
FsIndex_singletype. comparatorWithID
private java.util.Comparator<TOP>
FsIndex_flat. comparatorWithoutId
private java.util.Comparator<TOP>
FsIndex_snapshot. comparatorWithoutId
protected java.util.Comparator<TOP>
FsIndex_singletype. comparatorWithoutID
private java.util.Map<TOP,java.lang.Integer>
XCASSerializer.XCASDocSerializer. duplicates
Any FS indexed in more than one IR goes in here, the value is the associated duplicate key, Key is used to index into dupVectorsprivate java.util.Set<TOP>
CasSerializerSupport.CasDocSerializer. enqueued_multiRef_arrays_or_lists
Set of array or list FSs referenced from features marked as multipleReferencesAllowed, - which have previously been serialized "inline" - which now need to be serialized as separate items Set during enqueue scanning, to handle the case where the "visited_not_yet_written" set may have already recorded that this FS is already processed for enqueueing, but it is an array or list item which was being put "in-line" and no element is being written.(package private) java.util.Map<TOP,java.util.List<Pair<java.lang.String,java.lang.Object>>>
OutOfTypeSystemData. extraFeatureValues
Map from Feature Structure to List of String arrays holding feature names and values for out-of-typesystem features on in-typesystem FSs.static java.util.Comparator<TOP>
LowLevelIndex. FS_ID_COMPARATOR
(package private) Obj2IntIdentityHashMap<TOP>
CommonSerDesSequential. fs2addr
a map from a fs to its addr in the modeled heap, == v2 style addr created during serialization and deserialization used during serialization to create addr info for index info serialization For delta, the addr is the modeled addr for the full CAS including both above and below the line.private Obj2IntIdentityHashMap<TOP>
BinaryCasSerDes4.Serializer. fs2seq
convert between FSs and "sequential" numbers This is for compression efficiency and also is needed for backwards compatibility with v2 serialization forms, where index information was written using "sequential" numbers Note: This may be identity map, but may not in the case for V3 where some FSs are GC'd Contrast with fs2addr and addr2fs in csds - these use the pseudo v2 addresses as the intprivate java.util.Set<TOP>
FSIndexRepositoryImpl.ProcessedIndexInfo. fsAddedToIndex
private java.util.Set<TOP>
FSIndexRepositoryImpl.ProcessedIndexInfo. fsDeletedFromIndex
private java.util.ArrayList<TOP>
CasCompare.Prev. fsList
ordered list of traversed FSs, including duplicatesprivate java.util.Set<TOP>
FSIndexRepositoryImpl.ProcessedIndexInfo. fsReindexed
(package private) java.util.Map<TOP,java.util.List<?>>
FSsTobeAddedback.FSsTobeAddedbackMultiple. fss2views
For each FS, the list of views where it was removed.private java.util.List<TOP>
BinaryCasSerDes6. fssToSerialize
FSs being serialized.private java.util.List<TOP>
BinaryCasSerDes6.ReuseInfo. fssToSerialize
private Obj2IntIdentityHashMap<TOP>
XmiSerializationSharedData. fsToXmiId
V3: FSs have an id - use that.private java.util.function.Predicate<TOP>
AllFSs. includeFilter
private ObjHashSet<TOP>
FsIndex_bag. index
private java.util.List<TOP>
XCASSerializer.XCASDocSerializer. indexedFSs
list of FSs that are in an index somewhere.(package private) java.util.ArrayList<FsIndex_iicp<TOP>>
FSIndexRepositoryImpl.IndexesForType. indexesForType
private java.util.List<TOP>
FSIndexRepositoryImpl. indexUpdates
(package private) java.lang.Class<? extends TOP>
FSClassRegistry.JCasClassInfo. jcasClass
The corresponding loaded JCas Class for this UIMA type, may be a JCas class associated with a UIMA supertype if no JCas class is found for this type.private Pair<TOP,TOP>
CasCompare. leafErrorReported
private Pair<TOP,TOP>
CasCompare. leafErrorReported
private java.util.Map<java.lang.Integer,TOP>
XmiCasDeserializer.XmiCasDeserializerHandler. localXmiIdToFs
local map from xmi:id to FS address, used when merging multiple XMI CASes into one CAS object.private Int2ObjHashMap<TOP,TOP>
BinaryCasSerDes. longAuxAddr2fsa
private Int2ObjHashMap<TOP,TOP>
BinaryCasSerDes. longAuxAddr2fsa
java.util.List<TOP>
CasSerializerSupport.CasDocSerializer. modifiedEmbeddedValueFSs
private java.util.Map<TOP,CASImpl.FsChange>
CASImpl.SharedViewData. modifiedPreexistingFSs
Track modified preexistingFSs Note this is a map, keyed by the FS, so all changes are merged when addedjava.util.Set<TOP>
CasSerializerSupport.CasDocSerializer. multiRefFSs
Set of FSs that have multiple references Has an entry for each FS (not just array or list FSs) which is (from some point on) being serialized as a multi-ref, that is, is **not** being serialized (any more) using the special notation for arrays and lists or, for JSON, **not** being serialized using the embedded notation This is for JSON which is computing the multi-refs, not depending on the setting in a feature.(package private) java.util.HashMap<java.lang.String,FsIndex_iicp<TOP>>
FSIndexRepositoryImpl. name2indexMap
A map from names to FsIndex_iicps, which represent the index at the top-most type declared in the index specification.(package private) java.util.Map<TOP,TOP>
XmiSerializationSharedData. nonsharedfeatureIdToFSId
V3: key is TOP, value is TOP Map from FS of a non-shared multi-valued (Array/List) FS to the FS address of the encompassing FS which has a feature whose value is this multi-valued FS.(package private) java.util.Map<TOP,TOP>
XmiSerializationSharedData. nonsharedfeatureIdToFSId
V3: key is TOP, value is TOP Map from FS of a non-shared multi-valued (Array/List) FS to the FS address of the encompassing FS which has a feature whose value is this multi-valued FS.private java.util.Map<TOP,XmiSerializationSharedData.OotsElementData>
XmiSerializationSharedData. ootsFeatures
Map from Feature Structures to OotsElementData object, capturing information about out-of-typesystem features that were part of an in-typesystem FS.private java.util.List<TOP>
CommonSerDesSequential. pending
private java.util.Map<Pair<TOP,TOP>,java.lang.Integer>
CasCompare. prevCompare
This is used - to speed up the compare - avoid comparing the same things multiple times, instead just use previous result - when doing the comparison to break recursion if asked to compare the same two things while comparing them.private java.util.Map<Pair<TOP,TOP>,java.lang.Integer>
CasCompare. prevCompare
This is used - to speed up the compare - avoid comparing the same things multiple times, instead just use previous result - when doing the comparison to break recursion if asked to compare the same two things while comparing them.java.util.List<TOP>
CasSerializerSupport.CasDocSerializer. previouslySerializedFSs
private java.util.Set<Pair<TOP,TOP>>
CasCompare. prevReport
private java.util.Set<Pair<TOP,TOP>>
CasCompare. prevReport
private java.util.Deque<TOP>
CasSerializerSupport.CasDocSerializer. queue
FSs not in an index, but only being serialized becaused they're referenced.private java.util.Deque<TOP>
XCASSerializer.XCASDocSerializer. queue
The current queue for FSs to write out.private java.util.Map<TOP,java.lang.Integer>
XCASSerializer.XCASDocSerializer. queued
Any FS reference we've touched goes in here.private Int2ObjHashMap<TOP,TOP>
BinaryCasSerDes4.Deserializer. seq2fs
convert between FSs and "sequential" numbers Note: This may be identity map, but may not in the case for V3 where some FSs are GC'dprivate Int2ObjHashMap<TOP,TOP>
BinaryCasSerDes4.Deserializer. seq2fs
convert between FSs and "sequential" numbers Note: This may be identity map, but may not in the case for V3 where some FSs are GC'dprivate Int2ObjHashMap<TOP,TOP>
BinaryCasSerDes. shortAuxAddr2fsa
private Int2ObjHashMap<TOP,TOP>
BinaryCasSerDes. shortAuxAddr2fsa
private java.util.List<TOP>
CommonSerDesSequential. sortedFSs
The FSs in this list are not necessarily sequential, but is in ascending (simulated heap) order, needed for V2 compatibility of serialized forms.java.util.Comparator<TOP>
CasSerializerSupport.CasDocSerializer. sortFssByType
Called for JSon Serialization Sort a view, by type and then by begin/end asc/des for subtypes of Annotation, then by idprivate java.util.List<TOP>
CasSeqAddrMaps. tgtId2SrcFs
map from a target FS sequence nbr to a source id.private java.util.ArrayList<TOP>
AllFSs. toBeScanned
private java.util.List<TOP>
BinaryCasSerDes6. toBeScanned
FSs being processed, including below-the-line deltas.java.util.Set<TOP>
CasSerializerSupport.CasDocSerializer. visited_not_yet_written
set of FSs that have been visited and enqueued to be serialized - exception: arrays and lists which are "inline" are put into this set, but are not enqueued to be serialized.private Int2ObjHashMap<TOP,TOP>
XmiSerializationSharedData. xmiIdToFs
A map from xmi:id to FeatureStructure address.private Int2ObjHashMap<TOP,TOP>
XmiSerializationSharedData. xmiIdToFs
A map from xmi:id to FeatureStructure address.Methods in org.apache.uima.cas.impl with type parameters of type TOP Modifier and Type Method Description <N extends TOP>
NFeatureStructureImplC. _maybeGetBaseForPearFs()
Called to convert to the base FS from a Pear versionprotected <N extends TOP>
NFeatureStructureImplC. _maybeGetBaseForPearFs(N v)
Called when setting a FS value which might be a trampoline<N extends TOP>
NFeatureStructureImplC. _maybeGetPearFs()
protected <N extends TOP>
NFeatureStructureImplC. _maybeGetPearFs(N v)
Called when getting a FS value which might need to return a Pear context's trampoline<T extends TOP>
voidFSIndexRepositoryImpl. addback(T fs)
private <T extends TOP>
voidFSIndexRepositoryImpl. addFS_common(T fs, boolean isAddback)
private <T extends TOP>
FsIndex_iicp<T>FSIndexRepositoryImpl. addNewIndex(FSIndexComparatorImpl comparator, int initialSize, int indexType)
This is where the actual index gets created.(package private) <T extends TOP>
FsIndex_singletype<T>FSIndexRepositoryImpl. addNewIndexCore(FSIndexComparatorImpl comparatorForIndexSpecs, int initialSize, int indexingStrategy)
The routine which actually creates a new index, for a single type.private <T extends TOP>
voidFSIndexRepositoryImpl. collectCowIndexParts(TypeImpl ti, java.util.ArrayList<CopyOnWriteIndexPart<T>> indexes)
<T extends TOP>
TCASImpl. createFS(int id)
This is your link from the low-level API to the high-level API.<T extends TOP>
EmptyFSList<T>CASImpl. emptyFSList()
(package private) <T extends TOP>
TCASImpl. getBaseFsFromTrampoline(T fs)
Given a trampoline FS, return the corresponding base Fs Supports adding Fs (which must be a non-trampoline version) to indexesprivate <T extends TOP>
java.util.Collection<T>FSIndexRepositoryImpl. getCollectionFromCows(java.util.ArrayList<CopyOnWriteIndexPart<T>> indexes)
<T extends TOP>
TCASImpl. getFsFromId(int id)
<T extends TOP>
TCASImpl. getFsFromId_checked(int fsRef)
<T extends TOP>
java.util.Collection<T>FSIndexRepositoryImpl. getIndexedFSs(java.lang.Class<T> clazz)
<T extends TOP>
java.util.Collection<T>FSIndexRepositoryImpl. getIndexedFSs(Type type)
(package private) <T extends TOP>
FsIndex_iicp<T>FSIndexRepositoryImpl.IndexesForType. getNonSetIndex()
<T extends TOP>
TCASImpl. ll_getFSForRef(int id)
<T extends TOP>
TLowLevelCAS. ll_getFSForRef(int fsRef)
Return a FS object that corresponds to a low-level reference.private <T extends TOP>
voidFSIndexRepositoryImpl. logIndexOperation(T fs, boolean added)
Methods in org.apache.uima.cas.impl that return TOP Modifier and Type Method Description TOP
FeatureStructureImplC. _getFeatureValueNc(int adjOffset)
TOP
FeatureStructureImplC. _getFeatureValueNc(FeatureImpl feat)
TOP
CASImpl. createArray(TypeImpl array_type, int arrayLength)
TOP
FsGenerator3. createFS(TypeImpl typeImpl, CASImpl casImpl)
TOP
FsGeneratorArray. createFS(TypeImpl typeImpl, CASImpl casImpl, int length)
private TOP
CASImpl. createFsFromGenerator(FsGenerator3[] gs, TypeImpl ti)
private TOP
CASImpl. createFsWithExistingId(TypeImpl ti, int id)
used for ll_setIntValue which changes type codeprivate TOP[]
FsIndex_flat. fillFlatArray()
Flat array filled, ordered(package private) TOP
Id2FS. get(int id)
TOP[]
XmiSerializationSharedData. getAndSortByIdAllFSsInIdMap()
Get all FS Addresses that have been added to the id map.TOP
XmiSerializationSharedData. getEncompassingFS(TOP nonsharedFS)
TOP
FeatureStructureImplC. getFeatureValue(Feature feat)
private TOP
XmiCasDeserializer.XmiCasDeserializerHandler. getFsForXmiId(int xmiId)
TOP
XmiSerializationSharedData. getFsForXmiId(int xmiId)
Gets the FS address that corresponds to the given xmi:id, in the most recent serialization or deserialization.TOP[]
XmiSerializationSharedData. getNonsharedMulitValuedFSs()
private TOP
BinaryCasSerDes6. getRefVal(int tgtSeq)
private TOP[]
XmiSerializationSharedData. getSortedKeys(java.util.Map<TOP,?> map)
TOP
CasSeqAddrMaps. getSrcFsFromTgtSeq(int seq)
private TOP
FeaturePathImpl. getTargetFs(TOP fs)
evaluates the internal feature path for the given FeatureStructure returns(package private) TOP
XCASDeserializer.XCASDeserializerHandler. maybeCreateWithV2Id(int id, java.util.function.Supplier<TOP> create)
private TOP
XmiCasDeserializer.XmiCasDeserializerHandler. maybeGetFsForXmiId(int xmiId)
private TOP
CASImpl. pearConvert(TOP fs, FsGenerator3 g)
Inner method - after determining there is a generator First see if already have generated the pear version, and if so, use that.private TOP
BinaryCasSerDes4.Deserializer. readArray(int iHeap, TypeImpl type)
private TOP
BinaryCasSerDes4.Deserializer. seq2fs(int s)
Methods in org.apache.uima.cas.impl that return types with arguments of type TOP Modifier and Type Method Description private FsIndex_iicp<TOP>
FSIndexRepositoryImpl. addNewIndex(FSIndexComparatorImpl comparator, int indexType)
private FsIndex_iicp<TOP>
FSIndexRepositoryImpl. addNewIndexRec(FSIndexComparatorImpl comp4indexSpecs, int indexType)
Add an index for a type, and then (unless it's a DEFAULT_BAG_INDEX), call yourself recursively to add the indexes for all the directly subsumed subtypes.private FsIndex_iicp<TOP>
FSIndexRepositoryImpl. addNewIndexRecursive(FSIndexComparator compForIndexSpecs, int indexType)
Top level call to add the indexes for a particular index definitionprivate java.util.Comparator<TOP>
FSIndexRepositoryImpl. createAnnotationFsComparator()
private java.util.Comparator<TOP>
FSIndexRepositoryImpl. createAnnotationFsComparator(FSComparators withId, FSComparators withTypeOrder)
private java.util.Comparator<TOP>
FSIndexRepositoryImpl. createAnnotationFsComparatorWithId()
(package private) static java.util.List<TOP>
CASImpl. filterAboveMark(java.util.List<TOP> all, MarkerImpl mark)
java.util.Set<TOP>
FSIndexRepositoryImpl. getAddedFSs()
(package private) java.util.ArrayList<TOP>
AllFSs. getAllFSs()
(package private) java.util.ArrayList<TOP>
AllFSs. getAllFSsSorted()
java.util.Comparator<TOP>
FSIndexRepositoryImpl. getAnnotationFsComparator(FSComparators withId, FSComparators withTypeOrder)
(package private) java.util.Comparator<TOP>
FSIndexRepositoryImpl. getAnnotationFsComparatorWithId()
java.util.Comparator<TOP>
FSIndexRepositoryImpl. getAnnotationFsComparatorWithoutId()
private java.util.Comparator<TOP>
FSIndexRepositoryImpl. getCachedComparator(FSComparators withId, FSComparators withTypeOrder)
java.util.Comparator<TOP>
FilteredIterator. getComparator()
java.util.Comparator<TOP>
FsIndex_iicp. getComparator()
java.util.Comparator<TOP>
FsIndex_singletype. getComparator()
java.util.Comparator<TOP>
FsIndex_snapshot. getComparator()
java.util.Comparator<TOP>
FsIterator_aggregation_common. getComparator()
java.util.Comparator<TOP>
FsIterator_backwards. getComparator()
java.util.Comparator<TOP>
FsIterator_bag. getComparator()
java.util.Comparator<TOP>
FsIterator_limited. getComparator()
java.util.Comparator<TOP>
FsIterator_set_sorted2. getComparator()
java.util.Comparator<TOP>
FsIterator_subtypes_ordered. getComparator()
java.util.Comparator<TOP>
FsIterator_subtypes_snapshot. getComparator()
java.util.Comparator<TOP>
FSIteratorImplBase. getComparator()
default implementation of getComparatorjava.util.Comparator<TOP>
LowLevelIndex. getComparator()
java.util.Comparator<TOP>
LowLevelIterator_empty. getComparator()
java.util.Comparator<TOP>
LowLevelIterator. getComparator()
java.util.Comparator<TOP>
SelectFSs_impl.SelectFSIterator. getComparator()
java.util.Comparator<TOP>
Subiterator. getComparator()
java.util.Set<TOP>
FSIndexRepositoryImpl. getDeletedFSs()
java.util.Collection<TOP>
FSIndexRepositoryImpl. getIndexedFSs()
java.util.Iterator<FSIndex<TOP>>
FSIndexRepositoryImpl. getIndexes()
FsIndex_singletype<TOP>
FSIndexRepositoryImpl. getNonSetSingleIndexForType(int typecode)
FsIndex_singletype<TOP>
FSIndexRepositoryImpl. getNonSetSingleIndexForUsedType(int i)
java.util.Set<TOP>
FSIndexRepositoryImpl. getReindexedFSs()
(package private) java.util.List<TOP>
CommonSerDesSequential. getSortedFSs()
(package private) java.util.List<TOP>
DeferredIndexUpdates. getTodos(FSIndexRepositoryImpl ir)
Does just-in-time creation of PositiveIntSet if needed before addingjava.util.Set<TOP>
FSIndexRepositoryImpl. getUpdatedFSs(java.util.Set<TOP> items)
IteratorNvc<TOP>
Id2FS. iterator()
(package private) static java.util.Map<java.lang.String,java.lang.Class<? extends TOP>>
FSClassRegistry. loadJCasClassesFromSPI(java.lang.ClassLoader cl)
private static java.lang.Class<? extends TOP>
FSClassRegistry. maybeLoadLocalJCas(TypeImpl ti, java.lang.ClassLoader cl)
Called to load (if possible) a corresponding JCas class for a UIMA type.(package private) java.util.List<TOP>
BinaryCasSerDes. scanAllFSsForBinarySerialization(MarkerImpl mark, CommonSerDesSequential csds)
Called when serializing a cas, or deserializing a delta CAS, if not saved in that case from a previous binary serialization (in that case, the scan is done as if it is doing a non-delta serialization).(package private) java.util.List<TOP>
CommonSerDesSequential. setup(MarkerImpl mark, int fromAddr)
Scan all indexed + reachable FSs, sorted, and - create two maps from those to/from the int offsets in the simulated main heap - add all the (filtered - above the mark) FSs to the sortedFSs - set the heapEndprivate java.util.stream.Stream<FsIndex_singletype<TOP>>
FSIndexRepositoryImpl. streamNonEmptyDirectSubtypes(TypeImpl ti)
java.util.stream.Stream<FsIndex_singletype<TOP>>
FsIndex_iicp. streamNonEmptyIndexes()
java.util.stream.Stream<FsIndex_singletype<TOP>>
FSIndexRepositoryImpl. streamNonEmptyIndexes(java.lang.Class<? extends TOP> clazz)
java.util.stream.Stream<FsIndex_singletype<TOP>>
FSIndexRepositoryImpl. streamNonEmptyIndexes(Type type)
Stream instances of all of the non-empty indexes themselvesjava.util.List<TOP>
CASImpl. walkReachablePlusFSsSorted(java.util.function.Consumer<TOP> action_filtered, MarkerImpl mark, java.util.function.Predicate<TOP> includeFilter, CasTypeSystemMapper typeMapper)
find all of the FSs via the indexes plus what's reachable.Methods in org.apache.uima.cas.impl with parameters of type TOP Modifier and Type Method Description (package private) void
CasCompare.Prev. add(TOP fs)
(package private) void
FSsTobeAddedback. addback(TOP fs)
add back the single FS that was removed due to - automatic protection or - delta deserialization or - updating document annotation -- for "Single" subclass(package private) void
FSsTobeAddedback.FSsTobeAddedbackSingle. addback(TOP fs)
(package private) void
CASImpl. addbackSingle(TOP fs)
(package private) void
CASImpl. addbackSingleIfWasRemoved(boolean wasRemoved, TOP fs)
(package private) void
CommonSerDesSequential. addFS(TOP fs, int addr)
Must call in fs sorted order(package private) void
CommonSerDesSequential. addFS1(TOP fs, int addr)
private void
XmiCasDeserializer.XmiCasDeserializerHandler. addFsToXmiId(TOP fs, int xmiId)
(package private) void
CommonSerDesSequential. addFSunordered(TOP fs, int addr)
For out of order calls(package private) void
XmiSerializationSharedData. addIdMapping(TOP fs, int xmiId)
void
CasSeqAddrMaps. addItemId(TOP srcFs, int tgtId, boolean inTarget)
Add a new FS id - done during prescan of source during serialization Must call in heap scan orderprivate void
XmiCasDeserializer.XmiCasDeserializerHandler. addNonsharedFSToEncompassingFSMapping(TOP nonsharedFS, TOP encompassingFS)
void
XmiSerializationSharedData. addNonsharedRefToFSMapping(TOP nonsharedFS, TOP fs)
Add mapping between the address of FS that is the value of a non-shared multi-valued feature of a FeatureStructure.void
XmiSerializationSharedData. addOutOfTypeSystemAttribute(TOP fs, java.lang.String featName, java.lang.String featVal)
Records an out-of-typesystem attribute that belongs to an in-typesystem FS.void
XmiSerializationSharedData. addOutOfTypeSystemChildElements(TOP fs, java.lang.String featName, java.util.ArrayList<java.lang.String> featVals)
Records out-of-typesystem child elements that belong to an in-typesystem FS.void
CasSeqAddrMaps. addSrcFsForTgt(TOP srcFs, boolean inSrc)
Called during deserialize to incrementally addprivate void
BinaryCasSerDes6. addStringsFromFS(TOP fs)
Add all the strings ref'd by this FS.(package private) void
DeferredIndexUpdates. addTodo(FSIndexRepositoryImpl ir, TOP fs)
private java.lang.String
XmiCasSerializer.XmiDocSerializer. arrayToString(TOP fsIn, int arrayType)
Not called for StringArrayprivate boolean
CASImpl. checkForInvalidFeatureSetting(TOP fs, int featCode)
This is the method all normal FS feature "setters" call before doing the set operation on values where the range could be used as an index key.(package private) boolean
CASImpl. checkForInvalidFeatureSetting(TOP fs, int featCode, FSsTobeAddedback toBeAdded)
version for deserializers, and for set document language, using their own store for toBeAdded Doesn't report updating of corruptable slots.(package private) boolean
CASImpl. checkForInvalidFeatureSetting(TOP fs, FSsTobeAddedback toBeAdded)
version for deserializers, using their own store for toBeAdded and not bothering to check for particular features Doesn't report updating of corruptable slots.private boolean
CASImpl. checkForInvalidFeatureSetting2(TOP fs)
private void
CASImpl. checkLowLevelParams(TOP fs, TypeImpl domType, int featCode)
private int
CasCompare. compareAllArrayElements(TOP fs1, TOP fs2, int len, java.util.function.IntUnaryOperator c, TypeImpl callerTi, FeatureImpl callerFi)
private int
CasCompare. compareFeature(TOP fs1, TOP fs2, TypeImpl ti1, FeatureImpl fi1)
private int
CasCompare. compareFss(TOP fs1, TOP fs2, TypeImpl callerTi, FeatureImpl callerFi)
To work with Java sort, must implement the comparator contract: - compare(x, y) must be opposite compare(y, x) - compare(x, y) < 0 && compare(y, z) < 0 implies compare(x, z) < 0 - compare(x, y) == 0 implies compare(x, z) same as compare(y, z) for any z Inner part of compareRefs; that other method adds: null-check type-mapping skips loop determination If not in a sort context, a miscompare generates messaging information.private int
CasCompare. compareFssArray(TOP fs1, TOP fs2, TypeImpl callerTi, FeatureImpl callerFi)
private int
CasCompare. compareRefResult(TOP rfs1, TOP rfs2)
Returning because recursion detected a loop.private int
CasCompare. compareRefs(TOP rfs1, TOP rfs2, TypeImpl callerTi, FeatureImpl callerFi)
Two uses cases supported: - comparing for sorting (within on type system) -- goal is to be able to compare two CASes --- ordering must guarantee that the equal FSs appear in the --- same order - comparing two FSs (maybe from different CASes) -- supporting missing types and features -- happens when the two type systems are different -- the missing types and features are ignored in the comparison Different reference chains This compare routine may be called recursively - use case: FS(a) has slot which is ref to FS(b) which has slot which is ref to FS(c) -- the type of a, b, c may all be different.private int
CasCompare. compareSlot(TOP fs1, TOP fs2, FeatureImpl fi1, FeatureImpl fi2, TypeImpl ti1)
private static int
CASSerializer. convertArrayIndexToAuxHeapAddr(BinaryCasSerDes bcsd, int index, TOP fs, Obj2IntIdentityHashMap<TOP> fs2auxOffset)
The offset in the modeled heaps:private static int
CASSerializer. convertArrayIndexToMainHeapAddr(int index, TOP fs, Obj2IntIdentityHashMap<TOP> fs2addr)
static CommonArrayFS
CASImpl. copyArray(TOP srcArray)
static boolean
CASImpl. copyFeatureExceptFsRef(TOP fsSrc, FeatureImpl fiSrc, TOP fsTgt, FeatureImpl fiTgt)
Copies a feature from one fs to another FSs may be in different type systems Doesn't copy a feature ref, but instead returns false.private void
XmiCasDeserializer.XmiCasDeserializerHandler. deserializeFsRef(java.lang.String featVal, FeatureImpl fi, TOP fs)
private boolean
CASImpl. doInvalidFeatSettingCheck(TOP fs)
private void
XCASSerializer.XCASDocSerializer. encodeFeatures(TOP fs, org.xml.sax.helpers.AttributesImpl attrs)
private java.util.List<XmlElementNameAndContents>
XmiCasSerializer.XmiDocSerializer. encodeFeatures(TOP fs, org.xml.sax.helpers.AttributesImpl attrs, boolean insideListNode)
Encode features of a regular (non-array) FS.void
CasSerializerSupport.CasDocSerializer. encodeFS(TOP fs)
Encode an individual FS.private void
XCASSerializer.XCASDocSerializer. encodeFS(TOP fs, IntVector indexRep)
Encode an individual FS.private void
XCASSerializer.XCASDocSerializer. encodeOutOfTypeSystemFeatures(TOP fs, org.xml.sax.helpers.AttributesImpl attrs)
private boolean
XCASSerializer.XCASDocSerializer. enqueue(TOP fs)
Add an address to the queue.private void
XCASSerializer.XCASDocSerializer. enqueueArray(TOP[] fss, int sofaNum)
(package private) int
CasSerializerSupport.CasDocSerializer. enqueueCommon(TOP fs)
private int
CasSerializerSupport.CasDocSerializer. enqueueCommon(TOP fs, boolean doDeltaAndFilteringCheck)
(package private) int
CasSerializerSupport.CasDocSerializer. enqueueCommonWithoutDeltaAndFilteringCheck(TOP fs)
private void
AllFSs. enqueueFeatures(TOP fs)
private void
CasSerializerSupport.CasDocSerializer. enqueueFeatures(TOP fs)
Enqueue all FSs reachable from features of the given FS.private void
XCASSerializer.XCASDocSerializer. enqueueFeatures(TOP fs, int heapValue)
private void
AllFSs. enqueueFS(TOP fs)
private void
BinaryCasSerDes6. enqueueFS(TOP fs)
Add Fs to toBeProcessed and set foundxxx bit - skip this if doesn't exist in target type systemprivate void
CasSerializerSupport.CasDocSerializer. enqueueFsAndMaybeFeatures(TOP fs)
Enqueue an FS, and everything reachable from it.private void
XCASSerializer.XCASDocSerializer. enqueueIndexed(TOP fs, int indexRep)
Same as enqueue, but for indexed FSs.(package private) void
CasSerializerSupport.CasDocSerializer. enqueueIndexedFs_only_not_features(int viewNumber, TOP fs)
private void
XCASSerializer.XCASDocSerializer. enqueueOutOfTypeSystemFeatures(TOP fs)
private java.lang.String
FeaturePathImpl. evaluateBuiltInFunction(TOP returnFS)
evaluate the built-in function for the returned FeatureStructureprivate void
BinaryCasSerDes. extractFsToV2Heaps(TOP fs, boolean isMarkSet, Obj2IntIdentityHashMap<TOP> fs2addr)
called in fs._id order to populate heaps from all FSs.private void
BinaryCasSerDes4.Serializer. extractStrings(TOP fs)
add strings to the optimizestrings object If delta, only process for fs's that are new; modified string values picked up when scanning FsChange itemsprivate void
XCASDeserializer.XCASDeserializerHandler. finalizeRefValue(int extId, TOP fs, FeatureImpl fi)
Common code run at finalize time, to set ref values and handle out-of-typesystem dataprivate void
XmiCasDeserializer.XmiCasDeserializerHandler. finalizeRefValue(int xmiId, TOP fs, FeatureImpl fi)
(package private) void
TypeSystemImpl. fixupFSArrayTypes(TypeImpl featRange, TOP arrayFs)
When deserializing Xmi and XCAS, Arrays of Feature Structures are encoded as FSArray types, but they may have a more restrictive typing, e.g.private int
BinaryCasSerDes4.Serializer. fs2seq(TOP fs)
T
SelectFSs_impl. get(TOP fs)
T
SelectFSs_impl. get(TOP fs, int offset)
TOP
XmiSerializationSharedData. getEncompassingFS(TOP nonsharedFS)
static int
BinaryCasSerDes. getFsSpaceReq(TOP fs, TypeImpl type)
int
TypeImpl. getFsSpaceReq(TOP fs)
int
CASImpl. getNextFsId(TOP fs)
private int
CASImpl.SharedViewData. getNextFsId(TOP fs)
The logic for this is: - normal - add 1 to the value of the previous which is kept in fsIdGenerator Update fsIdGenerator to be this id.XmiSerializationSharedData.OotsElementData
XmiSerializationSharedData. getOutOfTypeSystemFeatures(TOP fs)
Gets information about out-of-typesystem features that belong to an in-typesystem FS.private TOP
FeaturePathImpl. getTargetFs(TOP fs)
evaluates the internal feature path for the given FeatureStructure returnsprivate int
BinaryCasSerDes6. getTgtSeqFromSrcFS(TOP fs)
For Serialization only.private java.lang.String
XCASSerializer.XCASDocSerializer. getTypeName(TOP fs)
java.lang.String
CasSerializerSupport.CasDocSerializer. getXmiId(TOP fs)
Get the XMI ID to use for an FS.java.lang.String
XmiSerializationSharedData. getXmiId(TOP fs)
int
CasSerializerSupport.CasDocSerializer. getXmiIdAsInt(TOP fs)
(package private) int
XmiSerializationSharedData. getXmiIdAsInt(TOP fs)
private void
XmiCasDeserializer.XmiCasDeserializerHandler. handleFeatMultiValue(TOP fs, FeatureImpl fi, java.util.List<java.lang.String> featVals)
private int
XmiCasDeserializer.XmiCasDeserializerHandler. handleFeatMultiValueFromName(Type type, TOP fs, java.lang.String featName, java.util.ArrayList<java.lang.String> featVals)
called from endElement after collecting non-byte array element instances into a string list for a particular array or list feature (excluding oots and deferred FSs)private void
XmiCasDeserializer.XmiCasDeserializerHandler. handleFeatSingleValue(TOP fs, FeatureImpl fi, java.lang.String featVal)
private void
XCASDeserializer.XCASDeserializerHandler. handleFeature(Type type, TOP fs, java.lang.String featName, java.lang.String featValIn, boolean lenient)
private void
XCASDeserializer.XCASDeserializerHandler. handleFeature(TOP fs, java.lang.String featName, java.lang.String featVal, boolean lenient)
private int
XmiCasDeserializer.XmiCasDeserializerHandler. handleFeatureFromName(TypeImpl type, TOP fs, java.lang.String featName, java.lang.String featVal, boolean isNewFS)
Deserialize one feature called from readFS 751 called from processDeferred, to handle features specified as child elementsprivate static boolean
CasSerializerSupport. isArrayOrList(TOP fs)
(package private) boolean
CASImpl. isInModifiedPreexisting(TOP fs)
private boolean
CasSerializerSupport.CasDocSerializer. isListElementsMultiplyReferenced(TOP listNode)
For lists, see if this is a plain list - no loops - no other refs to list elements from outside the list -- if so, return false; add all the elements of the list to visited_not_yet_written, noting if they've already been added -- this indicates either a loop or another ref from outside, -- in either case, return true - tprivate boolean
CasSerializerSupport.CasDocSerializer. isMultiRef_enqueue(FeatureImpl fi, TOP featVal, boolean alreadyVisited, boolean isListNode, boolean isListFeat)
ordinary FSs referenced as features are not checked by this routine; this is only called for FSlists of various kinds, and fs arrays of various kinds Not all featValues should be enqueued; list or array features which are marked **NOT** multiple-refs-allowed are serialized in-line for JSON, when using dynamicMultiRef (the default), list / array FSs are serialized by ref (not in-line) if there are multiple refs to them for XMI and JSON, any FS ref marked as multiple-refs-allowed forces the item onto the ref "queue".private int
XCASSerializer.XCASDocSerializer. isQueued(TOP fs, int value)
Bad name; check if we've seen this (address, value) before.private boolean
BinaryCasSerDes6. isTypeInTgt(TOP fs)
private boolean
CasCompare. isTypeInTgt(TOP fs)
private void
CASImpl. logFSUpdate(TOP fs, FeatureImpl fi)
private void
CASImpl. logFSUpdate(TOP fs, FeatureImpl fi, int arrayIndexStart, int nbrOfConsecutive)
private void
CASImpl. logFSUpdate(TOP fs, PositiveIntSet indexesPlus1)
void
CASImpl. maybeAddback(TOP fs)
Only called if there was something removed that needs to be added back skip the addback (to defer it until later) if: - running in block mode (you can tell this if svd.fssTobeAddedback.size() > 0) or if running in block mode, the add back is delayed until the end of the blockprivate void
BinaryCasSerDes6. maybeStoreOrDefer(boolean storeIt, TOP fs, java.util.function.Consumer<TOP> doStore)
private void
CasCompare. mismatchFs(TOP fs1, TOP fs2, java.lang.String msg, TypeImpl callerTi, FeatureImpl callerFi)
private void
CasCompare. mismatchFs(TOP fs1, TOP fs2, Feature fi, Feature fi2)
private void
CasCompare. mismatchFs(TOP fs1, TOP fs2, TypeImpl callerTi, FeatureImpl callerFi)
private TOP
CASImpl. pearConvert(TOP fs, FsGenerator3 g)
Inner method - after determining there is a generator First see if already have generated the pear version, and if so, use that.private java.lang.String
CasCompare. ps(TOP fs)
(package private) void
Id2FS. put(int id, TOP fs)
put but assert wasn't there before(package private) void
Id2FS. put(TOP fs)
(package private) void
Id2FS. putChange(int id, TOP fs)
make an id map to an fs, asserting there was a previous mapping for this id(package private) void
Id2FS. putUnconditionally(TOP fs)
Skips the assert that the item wasn't already presentprivate void
BinaryCasSerDes6. readByKind(TOP fs, FeatureImpl tgtFeat, FeatureImpl srcFeat, boolean storeIt, TypeImpl tgtType)
private void
XmiCasDeserializer.XmiCasDeserializerHandler. readFS(TOP fs, org.xml.sax.Attributes attrs, boolean isNewFs)
private void
BinaryCasSerDes4.Deserializer.ReadModifiedFSs. readModifiedAuxHeap(int numberOfMods, TOP fs, TypeImpl type)
private void
BinaryCasSerDes6.ReadModifiedFSs. readModifiedAuxHeap(int numberOfMods, TOP fs, TypeImpl srcType)
private void
BinaryCasSerDes4.Deserializer.ReadModifiedFSs. readModifiedMainHeap(int numberOfMods, TOP fs, TypeImpl type)
private void
BinaryCasSerDes6.ReadModifiedFSs. readModifiedMainHeap(int numberOfMods, TOP fs, TypeImpl srcType)
This used for both int/float/string/fs arrays and int/float/string and other feature slots Also used for Long/Double reading(package private) void
FSsTobeAddedback.FSsTobeAddedbackMultiple. recordRemove(TOP fs, FSIndexRepositoryImpl view)
(package private) void
FSsTobeAddedback.FSsTobeAddedbackSingle. recordRemove(TOP fs, FSIndexRepositoryImpl view)
in single, the fs is ignored(package private) void
FSsTobeAddedback.FSsTobeAddedbackSingle. recordRemove(TOP fs, FSIndexRepositoryImpl view, int count)
(package private) void
FSsTobeAddedback. recordRemove(TOP fs, FSIndexRepositoryImpl view)
(package private) void
FSsTobeAddedback. recordRemove(TOP fs, FSIndexRepositoryImpl view, int count)
private boolean
CASImpl. removeAndRecord(TOP fs, FSIndexRepositoryImpl ir, FSsTobeAddedback toBeAdded, boolean isSkipBagIndex)
remove a FS from all indexes in this view (except bag indexes, if isSkipBagIndex is true)(package private) boolean
CASImpl. removeFromCorruptableIndexAnyView(TOP fs, FSsTobeAddedback toBeAdded)
(package private) boolean
CASImpl. removeFromIndexAnyView(TOP fs, FSsTobeAddedback toBeAdded, boolean isSkipBagIndexes)
This might be called from low level set int value, if we support switching types, and we want to remove the old type from all indexes.(package private) boolean
FSIndexRepositoryImpl. removeFS_ret(TOP fs, boolean skipBagIndexes)
Common remove FS code; all remove operations call this, except bulk remove (flush and removeall...) Removes FS from all indexes in this view (except bag if skipBagIndexes is true)(package private) void
CasCompare.Prev. rmvLast(TOP fs)
called when returning from compare with equal result If a loop exists, and the item being removed is the one that started the loopback, reset the loop info.private void
BinaryCasSerDes4.Serializer. serializeArray(TOP fs)
private void
BinaryCasSerDes6. serializeArray(TOP fs)
private int
BinaryCasSerDes4.Serializer. serializeArrayLength(TOP fs)
private void
BinaryCasSerDes4.Serializer. serializeByKind(TOP fs, FeatureImpl feat)
private void
BinaryCasSerDes6. serializeByKind(TOP fs, FeatureImpl feat)
serialize one feature structure, which is guaranteed not to be null guaranteed to exist in target if there is type mapping Caller iterates over target slots, but the feat arg is for the corresponding src featureprivate void
BinaryCasSerDes6. serializeDiffWithPrevTypeSlot(SlotKinds.SlotKind kind, TOP fs, FeatureImpl feat, int newValue)
(package private) void
CASImpl. set_id2fs(TOP fs)
(package private) void
CASImpl. setFeatureValue(int fsRef, int featureCode, TOP value)
static void
CASImpl. setFeatureValueMaybeSofa(TOP fs, FeatureImpl feat, TOP value)
internal use - special setter for setting feature values, including special handling if the feature is for the sofaArray, when deserializingprivate void
CASImpl. setId2FsMaybeUnconditionally(TOP fs)
private void
FeaturePathImpl. setTargetFeature(TOP currentFs, int i)
void
CASImpl. setWithCheckAndJournal(TOP fs, int featCode, java.lang.Runnable setter)
(package private) void
CASImpl. setWithCheckAndJournal(TOP fs, FeatureImpl fi, java.lang.Runnable setter)
T
SelectFSs_impl. single(TOP fs)
T
SelectFSs_impl. single(TOP fs, int offset)
T
SelectFSs_impl. singleOrNull(TOP fs)
T
SelectFSs_impl. singleOrNull(TOP fs, int offset)
java.lang.Runnable
CasCompare. sort_dedup_FSArray(TOP fs, Feature feat)
This is an optional pre-compare operation.private int
CasCompare. sortCompare(TOP scFs1, TOP scFs2)
Used for sorting within one type system, for two instances of the same type Uses field isSrcCas (boolean) to differentiate when being used to sort for srcCas vs tgtCas When sorting where type mapping is happening between source and target CASs, skip compares for features which are not in the opposite CAS.SelectFSs_impl<T>
SelectFSs_impl. startAt(TOP fs)
SelectFSs_impl<T>
SelectFSs_impl. startAt(TOP fs, int offset)
private void
CASImpl. switchFsType(TOP fs, int value)
(package private) void
CASImpl. traceIndexMod(boolean isAdd, TOP fs, boolean isAddbackOrSkipBag)
private boolean
BinaryCasSerDes. updateStringFeature(TOP fs, FeatureImpl feat, java.lang.String s, java.util.List<java.lang.Runnable> fixups4forwardFsRefs)
protected abstract void
CasSerializerSupport.CasSerializerSupportSerialize. writeArrays(TOP fsarray, int typeCode, int typeClass)
protected void
XmiCasSerializer.XmiDocSerializer. writeArrays(TOP fsArray, int typeCode, int typeClass)
private void
BinaryCasSerDes4.Serializer. writeFs(TOP fs)
protected abstract void
CasSerializerSupport.CasSerializerSupportSerialize. writeFs(TOP fs, int typeCode)
protected void
XmiCasSerializer.XmiDocSerializer. writeFs(TOP fs, int typeCode)
private void
XmiCasSerializer.XmiDocSerializer. writeFsOrLists(TOP fs, int typeCode, boolean isListAsFSs)
protected abstract void
CasSerializerSupport.CasSerializerSupportSerialize. writeFsRef(TOP fs)
protected void
XmiCasSerializer.XmiDocSerializer. writeFsRef(TOP fs)
protected abstract boolean
CasSerializerSupport.CasSerializerSupportSerialize. writeFsStart(TOP fs, int typeCode)
protected boolean
XmiCasSerializer.XmiDocSerializer. writeFsStart(TOP fs, int typeCode)
protected abstract void
CasSerializerSupport.CasSerializerSupportSerialize. writeListsAsIndividualFSs(TOP fs, int typeCode)
protected void
XmiCasSerializer.XmiDocSerializer. writeListsAsIndividualFSs(TOP fs, int typeCode)
Method parameters in org.apache.uima.cas.impl with type arguments of type TOP Modifier and Type Method Description (package private) void
FSIndexRepositoryImpl.IndexesForType. add(FsIndex_iicp<TOP> iicp)
(package private) void
BinaryCasSerDes. addIdsToIntVector(java.util.Collection<TOP> fss, IntVector v, Obj2IntIdentityHashMap<TOP> fs2addr)
(package private) void
BinaryCasSerDes. addIdsToIntVector(java.util.Collection<TOP> fss, IntVector v, Obj2IntIdentityHashMap<TOP> fs2addr)
(package private) void
BinaryCasSerDes. addIdsToIntVector(java.util.Set<TOP> fss, IntVector v, Obj2IntIdentityHashMap<TOP> fs2addr)
(package private) void
BinaryCasSerDes. addIdsToIntVector(java.util.Set<TOP> fss, IntVector v, Obj2IntIdentityHashMap<TOP> fs2addr)
void
CasCompare. applyToTypeFeature(java.lang.String typeName, java.lang.String featureBaseName, Consumer2<TOP,Feature> c)
Before comparing, you can adjust specific features of specific types, arbitrarily.private void
CasCompare. applyToTypeFeature_inner(CASImpl cas, java.lang.String typeName, java.lang.String featureBaseName, Consumer2<TOP,Feature> c)
private void
CasCompare. convert_linear_lists_to_arrays(java.util.ArrayList<TOP> fss)
private static int
CASSerializer. convertArrayIndexToAuxHeapAddr(BinaryCasSerDes bcsd, int index, TOP fs, Obj2IntIdentityHashMap<TOP> fs2auxOffset)
The offset in the modeled heaps:private static int
CASSerializer. convertArrayIndexToMainHeapAddr(int index, TOP fs, Obj2IntIdentityHashMap<TOP> fs2addr)
static java.lang.invoke.MutableCallSite
TypeSystemImpl. createCallSite(java.lang.Class<? extends TOP> clazz, java.lang.String featName)
Creates and returns a new MutableCallSite, // * recording it in list of all callsites for this type, in a map by typename // * // * Done this way because // * - can't be a classloader-wide list of call sites - some might not be associated with this type system // * - can't be a typesystem-wide list of call sites - the JCas class might be used by multiple type systems // * and the first one to load it would set this value.static java.lang.invoke.MutableCallSite
TypeSystemImpl. createCallSiteForBuiltIn(java.lang.Class<? extends TOP> clazz, java.lang.String featName)
INTERNAL API - DO NOT USE, MAY CHANGE WITHOUT NOTICE!private static FSClassRegistry.JCasClassInfo
FSClassRegistry. createJCasClassInfo(java.lang.Class<? extends TOP> jcasClass, TypeImpl ti, int jcasType, java.lang.invoke.MethodHandles.Lookup lookup)
Called after succeeding at loading, once per load for an exact matching JCas Class - class was already checked to insure is of proper type for JCas - skips creating-generator-for-Sofa - since "new Sofa(...)" is not a valid way to create a sofaprivate void
CasSerializerSupport.CasDocSerializer. encodeFSs(java.util.List<TOP> fss)
private void
XCASSerializer.XCASDocSerializer. enqueueCollection(java.util.Collection<TOP> fss, int sofaNum)
private void
CasSerializerSupport.CasDocSerializer. enqueueFeaturesOfFSs(java.util.List<TOP> fss)
private void
CasSerializerSupport.CasDocSerializer. enqueueFSListElements(FSList<TOP> node)
Enqueues all Head values of FSList reachable from an FSList.private void
BinaryCasSerDes. extractFsToV2Heaps(TOP fs, boolean isMarkSet, Obj2IntIdentityHashMap<TOP> fs2addr)
called in fs._id order to populate heaps from all FSs.(package private) static java.util.List<TOP>
CASImpl. filterAboveMark(java.util.List<TOP> all, MarkerImpl mark)
private void
BinaryCasSerDes.BinDeserSupport. findCorrespondingFs(int heapAddr, Int2ObjHashMap<TOP,TOP> addr2fs)
Given a heap addr which may be in the middle of a FS, find the FS it belongs to and set up things in the bds.private void
BinaryCasSerDes.BinDeserSupport. findCorrespondingFs(int heapAddr, Int2ObjHashMap<TOP,TOP> addr2fs)
Given a heap addr which may be in the middle of a FS, find the FS it belongs to and set up things in the bds.(package private) int[]
BinaryCasSerDes. getDeltaIndexedFSs(MarkerImpl mark, Obj2IntIdentityHashMap<TOP> fs2addr)
private void
AllFSs. getFSsForView(java.util.Collection<TOP> fss)
(package private) int[]
BinaryCasSerDes. getIndexedFSs(Obj2IntIdentityHashMap<TOP> fs2addr)
Serialization support *private Sofa
BinaryCasSerDes. getSofaFromAnnotBase(int annotBaseAddr, StringHeap stringHeap2, Int2ObjHashMap<TOP,TOP> addr2fs, CommonSerDesSequential csds)
private Sofa
BinaryCasSerDes. getSofaFromAnnotBase(int annotBaseAddr, StringHeap stringHeap2, Int2ObjHashMap<TOP,TOP> addr2fs, CommonSerDesSequential csds)
private TOP[]
XmiSerializationSharedData. getSortedKeys(java.util.Map<TOP,?> map)
default <U extends T>
LowLevelIndex<U>LowLevelIndex. getSubIndex(java.lang.Class<? extends TOP> clazz)
java.util.Set<TOP>
FSIndexRepositoryImpl. getUpdatedFSs(java.util.Set<TOP> items)
private void
BinaryCasSerDes.BinDeserSupport. maybeAddBackAndRemoveFs(int heapAddr, Int2ObjHashMap<TOP,TOP> addr2fs)
for Deserialization of Delta, when updating existing FSs, If the heap addr is for the next FS, re-add the previous one to those indexes where it was removed, and then maybe remove the new one (and remember which views to re-add to).private void
BinaryCasSerDes.BinDeserSupport. maybeAddBackAndRemoveFs(int heapAddr, Int2ObjHashMap<TOP,TOP> addr2fs)
for Deserialization of Delta, when updating existing FSs, If the heap addr is for the next FS, re-add the previous one to those indexes where it was removed, and then maybe remove the new one (and remember which views to re-add to).(package private) TOP
XCASDeserializer.XCASDeserializerHandler. maybeCreateWithV2Id(int id, java.util.function.Supplier<TOP> create)
private void
BinaryCasSerDes4.Deserializer. maybeStoreOrDefer(java.util.function.Consumer<TOP> storeAction)
Maybe defers setting features for a Feature Structure if the FS isn't created yet (perhaps because it needs a sofa ref, not yet read)private void
BinaryCasSerDes6. maybeStoreOrDefer(boolean storeIt, TOP fs, java.util.function.Consumer<TOP> doStore)
private void
BinaryCasSerDes4.Deserializer. maybeStoreOrDefer_slotFixups(int tgtSeq, java.util.function.Consumer<TOP> r)
FS Ref slots fixupsprivate void
BinaryCasSerDes6. maybeStoreOrDefer_slotFixups(int tgtSeq, java.util.function.Consumer<TOP> r)
FS Ref slots fixupsprivate void
BinaryCasSerDes6. processFSsForView(boolean isEnqueue, java.util.stream.Stream<TOP> fss)
processes one view's worth of feature structures(package private) void
BinaryCasSerDes. reinitDeltaIndexedFSsInner(FSIndexRepositoryImpl ir, int[] fsindexes, int idx, int length, boolean isAdd, java.util.function.IntFunction<TOP> getFsFromAddr)
Given a list of FSs and a starting index and length: iterate over the FSs, and add or remove that from the indexes.(package private) void
BinaryCasSerDes. reinitIndexedFSs(int[] fsIndex, boolean isDeltaMods, java.util.function.IntFunction<TOP> getFsFromAddr)
This routine is used by several of the deserializers.(package private) void
BinaryCasSerDes. reinitIndexedFSs(int[] fsIndex, boolean isDeltaMods, java.util.function.IntFunction<TOP> getFsFromAddr, int numViews, int idx)
(package private) void
BinaryCasSerDes. reinitIndexedFSs(int[] fsIndex, boolean isDeltaMods, java.util.function.IntFunction<TOP> getFsFromAddr, java.util.function.IntFunction<TOP> getSofaFromAddr)
(package private) int
BinaryCasSerDes. reinitIndexedFSsSofas(int[] fsIndex, boolean isDeltaMods, java.util.function.IntFunction<TOP> getFsFromAddr)
(package private) static void
CASSerializer. scanModifications(BinaryCasSerDes bcsd, CommonSerDesSequential csds, CASImpl.FsChange[] fssModified, Obj2IntIdentityHashMap<TOP> fs2auxOffset, java.util.List<CASSerializer.AddrPlusValue> chgMainAvs, java.util.List<CASSerializer.AddrPlusValue> chgByteAvs, java.util.List<CASSerializer.AddrPlusValue> chgShortAvs, java.util.List<CASSerializer.AddrPlusValue> chgLongAvs)
Scan the v3 fsChange info and produce v2 style info into chgXxxAddr, chgXxxValue A prescan approach is needed in order to write the number of modifications preceding the write of the values (which unfortunately were written to the same stream in V2).private void
FSIndexRepositoryImpl. setCachedComparator(FSComparators withId, FSComparators withTypeOrder, java.util.Comparator<TOP> c)
private void
BinaryCasSerDes. setFeatOrDefer(int heapIndex, FeatureImpl feat, java.util.List<java.lang.Runnable> fixups4forwardFsRefs, java.util.function.Consumer<TOP> setter, Int2ObjHashMap<TOP,TOP> addr2fs)
private void
BinaryCasSerDes. setFeatOrDefer(int heapIndex, FeatureImpl feat, java.util.List<java.lang.Runnable> fixups4forwardFsRefs, java.util.function.Consumer<TOP> setter, Int2ObjHashMap<TOP,TOP> addr2fs)
private void
BinaryCasSerDes. setFeatOrDefer(int heapIndex, FeatureImpl feat, java.util.List<java.lang.Runnable> fixups4forwardFsRefs, java.util.function.Consumer<TOP> setter, Int2ObjHashMap<TOP,TOP> addr2fs)
private void
CasCompare. sort(java.util.List<TOP> fss)
called to sort all the FSs before doing the equality comparesjava.util.stream.Stream<FsIndex_singletype<TOP>>
FSIndexRepositoryImpl. streamNonEmptyIndexes(java.lang.Class<? extends TOP> clazz)
java.util.List<java.lang.Runnable>
CasCompare. type_feature_to_runnable(java.lang.String typeName, java.lang.String featureBaseName, java.util.function.BiFunction<TOP,Feature,java.lang.Runnable> c)
Before comparing, you can create pending values for specific types / features, and return a list of runnables, which when run, plug in those pending values.private java.util.List<java.lang.Runnable>
CasCompare. type_feature_to_runnable(CASImpl cas, java.lang.String typeName, java.lang.String featureBaseName, java.util.function.BiFunction<TOP,Feature,java.lang.Runnable> c)
(package private) int
BinaryCasSerDes. updateAuxArrayMods(CommonSerDes.Reading r, Int2ObjHashMap<TOP,TOP> auxAddr2fsa, Consumer_T_int_withIOException<TOP> setter)
Called 3 times to process non-compressed binary deserialization of aux array modifications - once for byte/boolean, short, and long/double(package private) int
BinaryCasSerDes. updateAuxArrayMods(CommonSerDes.Reading r, Int2ObjHashMap<TOP,TOP> auxAddr2fsa, Consumer_T_int_withIOException<TOP> setter)
Called 3 times to process non-compressed binary deserialization of aux array modifications - once for byte/boolean, short, and long/double(package private) int
BinaryCasSerDes. updateAuxArrayMods(CommonSerDes.Reading r, Int2ObjHashMap<TOP,TOP> auxAddr2fsa, Consumer_T_int_withIOException<TOP> setter)
Called 3 times to process non-compressed binary deserialization of aux array modifications - once for byte/boolean, short, and long/doubleprivate void
BinaryCasSerDes. updateHeapSlot(BinaryCasSerDes.BinDeserSupport bds, int slotAddr, int slotValue, Int2ObjHashMap<TOP,TOP> addr2fs)
Doing updates for delta cas for existing objects.private void
BinaryCasSerDes. updateHeapSlot(BinaryCasSerDes.BinDeserSupport bds, int slotAddr, int slotValue, Int2ObjHashMap<TOP,TOP> addr2fs)
Doing updates for delta cas for existing objects.private static void
FSClassRegistry. updateOrValidateAllCallSitesForJCasClass(java.lang.Class<? extends TOP> clazz, TypeImpl type, java.util.ArrayList<java.lang.invoke.MutableCallSite> callSites_toSync)
Called once when the JCasClassInfo is created.void
FSIndexRepositoryImpl. walkIndexedFSs(java.util.function.Consumer<TOP> action)
For this view, walk the indexed FSs in arbitrary order.java.util.List<TOP>
CASImpl. walkReachablePlusFSsSorted(java.util.function.Consumer<TOP> action_filtered, MarkerImpl mark, java.util.function.Predicate<TOP> includeFilter, CasTypeSystemMapper typeMapper)
find all of the FSs via the indexes plus what's reachable.java.util.List<TOP>
CASImpl. walkReachablePlusFSsSorted(java.util.function.Consumer<TOP> action_filtered, MarkerImpl mark, java.util.function.Predicate<TOP> includeFilter, CasTypeSystemMapper typeMapper)
find all of the FSs via the indexes plus what's reachable.void
FSIndexRepositoryImpl. walkSortedIndexedFSs(java.util.function.Consumer<TOP> action)
For this view, walk the indexed FSs, sorted by id (e.g.protected abstract void
CasSerializerSupport.CasSerializerSupportSerialize. writeView(Sofa sofa, java.util.Collection<TOP> members)
protected abstract void
CasSerializerSupport.CasSerializerSupportSerialize. writeView(Sofa sofa, java.util.Collection<TOP> added, java.util.Collection<TOP> deleted, java.util.Collection<TOP> reindexed)
protected void
XmiCasSerializer.XmiDocSerializer. writeView(Sofa sofa, java.util.Collection<TOP> members)
protected void
XmiCasSerializer.XmiDocSerializer. writeView(Sofa sofa, java.util.Collection<TOP> added, java.util.Collection<TOP> deleted, java.util.Collection<TOP> reindexed)
private void
XmiCasSerializer.XmiDocSerializer. writeViewForDeltas(java.lang.String kind, java.util.Collection<TOP> deltaMembers)
private boolean
XmiCasSerializer.XmiDocSerializer. writeViewMembers(java.lang.StringBuilder sb, java.util.Collection<TOP> members)
Constructors in org.apache.uima.cas.impl with parameters of type TOP Constructor Description FsChange(TOP fs)
FSInfo(TOP fs, IntVector indexRep)
Constructor parameters in org.apache.uima.cas.impl with type arguments of type TOP Constructor Description AllFSs(CASImpl cas, MarkerImpl mark, java.util.function.Predicate<TOP> includeFilter, CasTypeSystemMapper typeMapper)
CasSeqAddrMaps(java.util.List<TOP> tgtSeq2SrcFs, Int2IntRBT srcAddr2TgtSeq)
FsIndex_snapshot(FsIndex_iicp<T> wrapped, java.util.Comparator<TOP> comparatorWithoutId, java.util.Comparator<TOP> comparatorTypeWithoutId)
FsIterator_aggregation_common(LowLevelIterator<T>[] iterators, FSIndex<T> index, java.util.Comparator<TOP> comparatorMaybeNoTypeWithoutId)
FsIterator_multiple_indexes(LowLevelIndex<T> main_idx, LowLevelIterator<T>[] iterators, java.util.Comparator<TOP> comparatorMaybeNoTypeWithoutId)
FsIterator_set_sorted_pear(FsIndex_set_sorted<T> ll_index, CopyOnWriteIndexPart cow_wrapper, java.util.Comparator<TOP> comparatorMaybeNoTypeWithoutID)
FsIterator_set_sorted2(FsIndex_set_sorted<T> ll_index, CopyOnWriteIndexPart cow_wrapper, java.util.Comparator<TOP> comparatorMaybeNoTypeWithoutID)
FsIterator_subtypes_ordered(FsIndex_iicp<T> iicp, java.util.Comparator<TOP> comparatorMaybeNoTypeWithoutId)
FsIterator_subtypes_snapshot(FsIndex_flat<T> flatIndex, java.util.Comparator<TOP> comparatorMaybeNoTypeWithoutId)
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)JCasClassInfo(java.lang.Class<? extends TOP> jcasClass, FsGenerator3 generator, int jcasType)
ReuseInfo(PositiveIntSet foundFSs, java.util.List<TOP> fssToSerialize, CasSeqAddrMaps fsStartIndexes)
-
Uses of TOP in org.apache.uima.examples
Subclasses of TOP in org.apache.uima.examples Modifier and Type Class Description class
SourceDocumentInformation
Stores detailed information about the original source document from which the current CAS was initialized. -
Uses of TOP in org.apache.uima.internal.util
Fields in org.apache.uima.internal.util declared as TOP Modifier and Type Field Description (package private) TOP[]
OrderedFsSet_array. a
(package private) TOP[]
OrderedFsSet_array2. a
private TOP
OrderedFsSet_array2.SubSet. firstElementInRange
private TOP
OrderedFsSet_array2.SubSet. fromElement
private TOP
OrderedFsSet_array2. highest
private TOP
OrderedFsSet_array2.SubSet. lastElementInRange
private TOP
OrderedFsSet_array2.SubSet. toElement
Fields in org.apache.uima.internal.util with type parameters of type TOP Modifier and Type Field Description private java.util.ArrayList<TOP>
OrderedFsSet_array2. batch
private java.util.Comparator<TOP>
OrderedFsSet_array. comparatorNoTypeWithID
private java.util.Comparator<TOP>
OrderedFsSet_array. comparatorNoTypeWithoutID
java.util.Comparator<TOP>
OrderedFsSet_array2. comparatorWithID
java.util.Comparator<TOP>
OrderedFsSet_array2. comparatorWithoutID
Methods in org.apache.uima.internal.util that return TOP Modifier and Type Method Description TOP
OrderedFsSet_array2. ceiling(TOP fs)
TOP
OrderedFsSet_array2.SubSet. ceiling(TOP fs)
TOP
OrderedFsSet_array2. first()
TOP
OrderedFsSet_array2.SubSet. first()
TOP
OrderedFsSet_array2. floor(TOP fs)
TOP
OrderedFsSet_array2.SubSet. floor(TOP fs)
TOP
OrderedFsSet_array2. higher(TOP fs)
TOP
OrderedFsSet_array2.SubSet. higher(TOP fs)
TOP
OrderedFsSet_array2. last()
TOP
OrderedFsSet_array2.SubSet. last()
TOP
OrderedFsSet_array2. lower(TOP fs)
TOP
OrderedFsSet_array2.SubSet. lower(TOP fs)
TOP
OrderedFsSet_array2. pollFirst()
TOP
OrderedFsSet_array2.SubSet. pollFirst()
TOP
OrderedFsSet_array2. pollLast()
TOP
OrderedFsSet_array2.SubSet. pollLast()
TOP[]
OrderedFsSet_array. toArray()
Methods in org.apache.uima.internal.util that return types with arguments of type TOP Modifier and Type Method Description java.util.Comparator<? super TOP>
OrderedFsSet_array2. comparator()
java.util.Comparator<? super TOP>
OrderedFsSet_array2.SubSet. comparator()
java.util.Iterator<TOP>
OrderedFsSet_array2. descendingIterator()
java.util.Iterator<TOP>
OrderedFsSet_array2.SubSet. descendingIterator()
java.util.NavigableSet<TOP>
OrderedFsSet_array2. descendingSet()
java.util.NavigableSet<TOP>
OrderedFsSet_array2.SubSet. descendingSet()
java.util.SortedSet<TOP>
OrderedFsSet_array2. headSet(TOP toElement)
java.util.NavigableSet<TOP>
OrderedFsSet_array2. headSet(TOP toElement, boolean inclusive)
java.util.SortedSet<TOP>
OrderedFsSet_array2.SubSet. headSet(TOP toElement1)
java.util.NavigableSet<TOP>
OrderedFsSet_array2.SubSet. headSet(TOP toElement1, boolean inclusive)
java.util.Iterator<TOP>
OrderedFsSet_array2. iterator()
java.util.Iterator<TOP>
OrderedFsSet_array2.SubSet. iterator()
java.util.NavigableSet<TOP>
OrderedFsSet_array2. subSet(TOP fromElement, boolean fromInclusive, TOP toElement, boolean toInclusive)
java.util.SortedSet<TOP>
OrderedFsSet_array2. subSet(TOP fromElement, TOP toElement)
java.util.NavigableSet<TOP>
OrderedFsSet_array2.SubSet. subSet(TOP fromElement1, boolean fromInclusive1, TOP toElement1, boolean toInclusive1)
java.util.SortedSet<TOP>
OrderedFsSet_array2.SubSet. subSet(TOP fromElement1, TOP toElement1)
java.util.SortedSet<TOP>
OrderedFsSet_array2.SubSet. tailSet(TOP fromElement1)
java.util.NavigableSet<TOP>
OrderedFsSet_array2.SubSet. tailSet(TOP fromElement1, boolean inclusive)
java.util.SortedSet<TOP>
OrderedFsSet_array2. tailSet(TOP fromElement)
java.util.NavigableSet<TOP>
OrderedFsSet_array2. tailSet(TOP fromElement, boolean inclusive)
Methods in org.apache.uima.internal.util with parameters of type TOP Modifier and Type Method Description boolean
OrderedFsSet_array2. add(TOP fs)
Note: doesn't implement the return value; always returns true;boolean
OrderedFsSet_array2.SubSet. add(TOP e)
private void
OrderedFsSet_array2. addNewHighest(TOP fs)
int
OrderedFsSet_array. binarySearch(TOP[] _a, int start, int end, TOP fs, java.util.Comparator<TOP> _comparatorWithID)
private int
OrderedFsSet_array2. binarySearch(TOP fs)
Special version of binary search that ignores null valuesstatic int
OrderedFsSet_array2. binarySearch(TOP fs, int start, int end, TOP[] _a, int _nullBlockStart, int _nullBlockEnd, java.util.Comparator<TOP> _comparatorWithID)
At the start, the start and end positions are guaranteed to refer to non-null entries But during operation, lower may refer to "null" entries (upper always non-null)int
OrderedFsSet_array. binarySearchLeftMostEqual(TOP fs, int start, int end, java.util.Comparator<TOP> comparator)
Guaranteed by caller to have an equal (withoutID) item, but might be the "end" item searching up to find it.TOP
OrderedFsSet_array2. ceiling(TOP fs)
TOP
OrderedFsSet_array2.SubSet. ceiling(TOP fs)
int
OrderedFsSet_array2. ceilingPos(TOP fs)
int
OrderedFsSet_array. find(TOP fs, java.util.Comparator<TOP> comparator)
private int
OrderedFsSet_array2. find(TOP fs)
Never returns an index to a "null" (deleted) item.private int
OrderedFsSet_array2. findRemaining(TOP fs)
find, within constricted range: start: a_firstUsedslot, end = nullBlockStartint
OrderedFsSet_array. findWithoutID(TOP fs)
using NoType because all callers of this have already used the type of fs to select the right index.TOP
OrderedFsSet_array2. floor(TOP fs)
TOP
OrderedFsSet_array2.SubSet. floor(TOP fs)
int
OrderedFsSet_array2. floorPos(TOP fs)
java.util.SortedSet<TOP>
OrderedFsSet_array2. headSet(TOP toElement)
java.util.NavigableSet<TOP>
OrderedFsSet_array2. headSet(TOP toElement, boolean inclusive)
java.util.SortedSet<TOP>
OrderedFsSet_array2.SubSet. headSet(TOP toElement1)
java.util.NavigableSet<TOP>
OrderedFsSet_array2.SubSet. headSet(TOP toElement1, boolean inclusive)
TOP
OrderedFsSet_array2. higher(TOP fs)
TOP
OrderedFsSet_array2.SubSet. higher(TOP fs)
int
OrderedFsSet_array2. higherPos(TOP fs)
private void
OrderedFsSet_array2. insertItem(int indexToUpdate, TOP itemToAdd)
side effects: increment size reset a_firstUsedslot if adding in front ( a_nextFreeslot not updated, because this method only called to inserting before end ) nullBlockEnd reduced conditionally lastRemovedPos is reset if that position is usedprivate boolean
OrderedFsSet_array2.SubSet. isGeLast(TOP fs)
private boolean
OrderedFsSet_array2.SubSet. isGtLast(TOP fs)
private boolean
OrderedFsSet_array2.SubSet. isInRange(TOP fs)
private boolean
OrderedFsSet_array2.SubSet. isInRangeHigher(TOP fs)
private boolean
OrderedFsSet_array2.SubSet. isInRangeLower(TOP fs)
private boolean
OrderedFsSet_array2.SubSet. isLeFirst(TOP fs)
private boolean
OrderedFsSet_array2.SubSet. isLtFirst(TOP fs)
TOP
OrderedFsSet_array2. lower(TOP fs)
TOP
OrderedFsSet_array2.SubSet. lower(TOP fs)
int
OrderedFsSet_array2. lowerPos(TOP fs)
java.util.NavigableSet<TOP>
OrderedFsSet_array2. subSet(TOP fromElement, boolean fromInclusive, TOP toElement, boolean toInclusive)
java.util.SortedSet<TOP>
OrderedFsSet_array2. subSet(TOP fromElement, TOP toElement)
java.util.NavigableSet<TOP>
OrderedFsSet_array2.SubSet. subSet(TOP fromElement1, boolean fromInclusive1, TOP toElement1, boolean toInclusive1)
java.util.SortedSet<TOP>
OrderedFsSet_array2.SubSet. subSet(TOP fromElement1, TOP toElement1)
java.util.SortedSet<TOP>
OrderedFsSet_array2.SubSet. tailSet(TOP fromElement1)
java.util.NavigableSet<TOP>
OrderedFsSet_array2.SubSet. tailSet(TOP fromElement1, boolean inclusive)
java.util.SortedSet<TOP>
OrderedFsSet_array2. tailSet(TOP fromElement)
java.util.NavigableSet<TOP>
OrderedFsSet_array2. tailSet(TOP fromElement, boolean inclusive)
Method parameters in org.apache.uima.internal.util with type arguments of type TOP Modifier and Type Method Description boolean
OrderedFsSet_array. add(T fs1, java.util.Comparator<TOP> comparator)
boolean
OrderedFsSet_array2. addAll(java.util.Collection<? extends TOP> c)
boolean
OrderedFsSet_array2.SubSet. addAll(java.util.Collection<? extends TOP> c)
int
OrderedFsSet_array. binarySearch(TOP[] _a, int start, int end, TOP fs, java.util.Comparator<TOP> _comparatorWithID)
static int
OrderedFsSet_array2. binarySearch(TOP fs, int start, int end, TOP[] _a, int _nullBlockStart, int _nullBlockEnd, java.util.Comparator<TOP> _comparatorWithID)
At the start, the start and end positions are guaranteed to refer to non-null entries But during operation, lower may refer to "null" entries (upper always non-null)int
OrderedFsSet_array. binarySearchLeftMostEqual(TOP fs, int start, int end, java.util.Comparator<TOP> comparator)
Guaranteed by caller to have an equal (withoutID) item, but might be the "end" item searching up to find it.int
OrderedFsSet_array. find(TOP fs, java.util.Comparator<TOP> comparator)
Constructors in org.apache.uima.internal.util with parameters of type TOP Constructor Description SubSet(java.util.function.Supplier<OrderedFsSet_array2> theSet, TOP fromElement, boolean fromInclusive, TOP toElement, boolean toInclusive)
SubSet(java.util.function.Supplier<OrderedFsSet_array2> theSet, TOP fromElement, boolean fromInclusive, TOP toElement, boolean toInclusive, boolean doTest, java.util.Comparator<TOP> comparator)
Constructor parameters in org.apache.uima.internal.util with type arguments of type TOP Constructor Description OrderedFsSet_array(java.util.Comparator<TOP> comparatorNoTypeWithID, java.util.Comparator<TOP> comparatorNoTypeWithoutID)
OrderedFsSet_array2(java.util.Comparator<TOP> comparatorWithID, java.util.Comparator<TOP> comparatorWithoutID)
SubSet(java.util.function.Supplier<OrderedFsSet_array2> theSet, TOP fromElement, boolean fromInclusive, TOP toElement, boolean toInclusive, boolean doTest, java.util.Comparator<TOP> comparator)
-
Uses of TOP in org.apache.uima.jcas
Fields in org.apache.uima.jcas with type parameters of type TOP Modifier and Type Field Description private static java.util.ArrayList<JCasRegistry.WeakRefInt<java.lang.Class<? extends TOP>>>
JCasRegistry. loadedJCasClasses
Theargument say the type is a class, which extends TOP private static java.lang.ref.ReferenceQueue<java.lang.Class<? extends TOP>>
JCasRegistry. releasedQueue
Methods in org.apache.uima.jcas with type parameters of type TOP Modifier and Type Method Description default <T extends TOP>
CommonArrayFSJCas. emptyArray(java.lang.Class<T> clazz)
default <T extends TOP>
FSArray<T>JCas. emptyFSArray(java.lang.Class<T> clazz)
Retrieve a lazily-created constant from the cas which holds a 0-length instance of a subtype of FSArray.default <T extends TOP>
EmptyFSList<T>JCas. emptyFSList()
default <T extends TOP>
EmptyListJCas. emptyList(java.lang.Class<T> clazz)
<T extends TOP>
FSIterator<T>JCas. getAllIndexedFS(java.lang.Class<T> clazz)
Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its subtypes).default <T extends TOP>
FSIterator<T>JCas. getAllIndexedFS(Type type)
Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its subtypes).<T extends TOP>
FSIterator<T>JFSIndexRepository. getAllIndexedFS(int aType)
Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its subtypes).<T extends TOP>
FSIterator<T>JFSIndexRepository. getAllIndexedFS(Type aType)
Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its subtypes).<T extends TOP>
FSIndex<T>JCas. getIndex(java.lang.String label, java.lang.Class<T> clazz)
Retrieve an index according to a label and a type specified using a JCas class.<T extends TOP>
FSIndex<T>JFSIndexRepository. getIndex(java.lang.String label)
Retrieve an index according to a label.<T extends TOP>
FSIndex<T>JFSIndexRepository. getIndex(java.lang.String label, int type)
Retrieve an index according to a label and a type.default <T extends TOP>
java.util.Collection<T>JCas. getIndexedFSs(java.lang.Class<T> clazz)
Returns an unmodifiable collection of all the FSs that are indexed in this view, in an arbitrary order.default <T extends TOP>
java.util.Collection<T>JCas. getIndexedFSs(Type type)
Returns an unmodifiable collection of all the FSs that are indexed in this view, in an arbitrary order.default <T extends TOP>
TJCas. getJfsFromCaddr(int casAddr)
default <T extends TOP>
voidJCas. removeAllExcludingSubtypes(java.lang.Class<T> clazz)
Remove all instances of just this type, excluding subtypes, from all indexes in the repository view.default <T extends TOP>
voidJCas. removeAllIncludingSubtypes(java.lang.Class<T> clazz)
Remove all instances of type, including all subtypes from all indexes in the repository view.default <T extends TOP>
SelectFSs<T>JCas. select()
default <N extends TOP>
SelectFSs<N>JCas. select(int jcasType)
default <N extends TOP>
SelectFSs<N>JCas. select(java.lang.Class<N> clazz)
default <N extends TOP>
SelectFSs<N>JCas. select(java.lang.String fullyQualifiedTypeName)
default <N extends TOP>
SelectFSs<N>JCas. select(Type type)
Methods in org.apache.uima.jcas that return TOP Modifier and Type Method Description TOP
JCas. getDocumentAnnotationFs()
Gets the document annotation.Methods in org.apache.uima.jcas that return types with arguments of type TOP Modifier and Type Method Description static java.lang.Class<? extends TOP>
JCasRegistry. getClassForIndex(int aIndex)
Used for error message: When a particular loaded type system is missing the type that corresponds to a loaded JCas class (perhaps that class was loaded when another type system was being used, or it was just referred to in Java code (which causes it to be loaded) then the error message uses this to get the class to be able to print the class name Gets the JCas cover class for a given index.default java.util.Collection<TOP>
JCas. getIndexedFSs()
Returns an unmodifiable collection of all of the FSs that are indexed in this view, in an arbitrary order.java.util.Iterator<FSIndex<TOP>>
JFSIndexRepository. getIndexes()
Get all indexes in this repository.Methods in org.apache.uima.jcas with parameters of type TOP Modifier and Type Method Description TOP_Type
JCas. getType(TOP instance)
Deprecated.use instance.jcasType instead - fasterMethod parameters in org.apache.uima.jcas with type arguments of type TOP Modifier and Type Method Description static int
JCasRegistry. register(java.lang.Class<? extends TOP> aJCasCoverClass)
Registers a JCas cover class with this registry. -
Uses of TOP in org.apache.uima.jcas.cas
Classes in org.apache.uima.jcas.cas with type parameters of type TOP Modifier and Type Class Description class
EmptyFSList<T extends TOP>
class
FSArrayList<T extends TOP>
An ArrayList type containing Feature Structures, for UIMA Has all the methods of List Implements the select(...) APIsclass
FSHashSet<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.xmlclass
FSLinkedHashSet<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.xmlclass
FSList<T extends TOP>
T extends TOP, v2 already mandated TOP for set/getclass
Int2FS<T extends TOP>
A map from ints to Feature Structures Is Pear aware - stores non-pear versions but may return pear version in pear contextsclass
NonEmptyFSList<T extends TOP>
Subclasses of TOP in org.apache.uima.jcas.cas Modifier and Type Class Description class
AnnotationBase
the JCas class model for the CAS type uima.cas.AnnotationBase.class
BooleanArray
JCas class model for BooleanArrayclass
ByteArray
JCas class model for ByteArrayclass
DoubleArray
JCas class model for DoubleArrayclass
EmptyFloatList
class
EmptyFSList<T extends TOP>
class
EmptyIntegerList
class
EmptyStringList
class
FloatArray
Java Cas model for Cas FloatArray.class
FloatList
class
FSArray<T extends FeatureStructure>
Java Class model for Cas FSArray type extends FeatureStructure for backwards compatibility when using FSArray with no typing.class
FSArrayList<T extends TOP>
An ArrayList type containing Feature Structures, for UIMA Has all the methods of List Implements the select(...) APIsclass
FSHashSet<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.xmlclass
FSLinkedHashSet<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.xmlclass
FSList<T extends TOP>
T extends TOP, v2 already mandated TOP for set/getclass
Int2FS<T extends TOP>
A map from ints to Feature Structures Is Pear aware - stores non-pear versions but may return pear version in pear contextsclass
IntegerArray
The Java Class model corresponding to the Cas IntegerArray_JCasImpl type.class
IntegerArrayList
An ArrayList type containing ints, for UIMA - implements a subset of the List API, Iterable<Integer>, IntListIterator.class
IntegerList
class
LongArray
JCas class model for LongArrayclass
NonEmptyFloatList
class
NonEmptyFSList<T extends TOP>
class
NonEmptyIntegerList
class
NonEmptyStringList
class
ShortArray
JCas class model for ShortArrayclass
Sofa
class
StringArray
JCas class model for StringArrayclass
StringList
Fields in org.apache.uima.jcas.cas declared as TOP Modifier and Type Field Description static TOP
TOP. _singleton
Internal use - used as removed marker in mapsprivate TOP[]
FSArray. theArray
Fields in org.apache.uima.jcas.cas with type parameters of type TOP Modifier and Type Field Description private static java.util.List<? extends TOP>
FSArrayList. EMPTY_LIST
The Constant EMPTY_LIST.private Int2ObjHashMap<TOP,T>
Int2FS. int2FS
Methods in org.apache.uima.jcas.cas with type parameters of type TOP Modifier and Type Method Description 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 TOP>
U[]FSArray. toArray(U[] a)
Methods in org.apache.uima.jcas.cas that return TOP Modifier and Type Method Description static TOP
TOP. _createJCasHashMapReserve(int id)
for internal use only, creates a reserved markerstatic TOP
TOP. _createSearchKey(int id)
TOP[]
FSArray. _getTheArray()
T[]
FSHashSet. _toArrayForSelect()
(package private) TOP
FSArray. get_without_PEAR_conversion(int i)
TOP
Sofa. getSofaArray()
These getter methods are for creating method handle access The getter name must match the feature name + transformation - used in generic pretty printing routinesprivate TOP[]
FSHashSet. gta()
private TOP[]
Int2FS. gta()
<U extends TOP>
U[]FSArray. toArray(U[] a)
TOP[]
FSArrayList. toArray()
returns TOP[] because can't make array of T Note: converts to pear trampolines.T[]
FSHashSet. toArray()
Methods in org.apache.uima.jcas.cas with parameters of type TOP Modifier and Type Method Description (package private) void
FSArray. set_without_PEAR_conversion(int i, TOP v)
<U extends TOP>
U[]FSArray. toArray(U[] a)
Method parameters in org.apache.uima.jcas.cas with type arguments of type TOP Modifier and Type Method Description private java.lang.String
Int2FS. toString(Int2ObjHashMap<TOP,T> collection, int maxLen)
To string.Constructor parameters in org.apache.uima.jcas.cas with type arguments of type TOP Constructor Description FSArray(java.lang.Class<? extends TOP> clazz, JCas jcas, int length)
Constructs an instance of a subtype of FSArray having the component type clazz Note: the array with this component type must already be specified in the type system declaration as a feature whose range is FSArray with the specified elementType. -
Uses of TOP in org.apache.uima.jcas.impl
Fields in org.apache.uima.jcas.impl declared as TOP Modifier and Type Field Description (package private) TOP[]
JCasHashMapSubMap. table
Methods in org.apache.uima.jcas.impl with type parameters of type TOP Modifier and Type Method Description <T extends TOP>
FSIterator<T>JCasImpl. getAllIndexedFS(java.lang.Class<T> clazz)
<T extends TOP>
FSIterator<T>JFSIndexRepositoryImpl. getAllIndexedFS(int aType)
<T extends TOP>
FSIterator<T>JFSIndexRepositoryImpl. getAllIndexedFS(Type aType)
<T extends TOP>
FSIndex<T>JCasImpl. getIndex(java.lang.String label, java.lang.Class<T> clazz)
<T extends TOP>
FSIndex<T>JFSIndexRepositoryImpl. getIndex(java.lang.String label)
<T extends TOP>
FSIndex<T>JFSIndexRepositoryImpl. getIndex(java.lang.String label, int type)
Methods in org.apache.uima.jcas.impl that return TOP Modifier and Type Method Description TOP
JCasImpl. createFS(Type type)
private TOP
JCasHashMapSubMap. find(TOP[] localTable, int key, int hash, int[] probeInfo)
find a real item or a reserve item, matching the key Can be called under lock or not.TOP
JCasHashMap. get(int key)
(package private) TOP
JCasHashMapSubMap. get(int key, int hash)
Gets a value.TOP
JCasImpl. getDocumentAnnotationFs()
private TOP[]
JCasHashMapSubMap. newTableKeepSize(int capacity)
TOP
JCasHashMap. put(int key, TOP value)
TOP
JCasHashMap. put(TOP value)
(package private) TOP
JCasHashMapSubMap. put(int key, TOP value, int hash)
Puts a new value into the table, replacing an existing one if there is an entry already, or adding a new entry Starts by acquiring the lock.TOP
JCasHashMap. putIfAbsent(int key, java.util.function.IntFunction<TOP> creator)
(package private) TOP
JCasHashMapSubMap. putIfAbsent(int key, int hash, java.util.function.IntFunction<TOP> creatorFromKey)
If an entry isn't already present for this key, calls a Supplier to create a value and puts it into the table.private TOP
JCasHashMapSubMap. re_find(TOP[] localTable, int key, int hash, int[] probeInfo)
Methods in org.apache.uima.jcas.impl that return types with arguments of type TOP Modifier and Type Method Description java.util.Iterator<FSIndex<TOP>>
JFSIndexRepositoryImpl. getIndexes()
IteratorNvc<TOP>
JCasHashMap. iterator()
IteratorNvc<TOP>
JCasHashMapSubMap. iterator()
Methods in org.apache.uima.jcas.impl with parameters of type TOP Modifier and Type Method Description private TOP
JCasHashMapSubMap. find(TOP[] localTable, int key, int hash, int[] probeInfo)
find a real item or a reserve item, matching the key Can be called under lock or not.TOP_Type
JCasImpl. getType(TOP instance)
private static boolean
JCasHashMapSubMap. isReserve(TOP m)
TOP
JCasHashMap. put(int key, TOP value)
TOP
JCasHashMap. put(TOP value)
(package private) TOP
JCasHashMapSubMap. put(int key, TOP value, int hash)
Puts a new value into the table, replacing an existing one if there is an entry already, or adding a new entry Starts by acquiring the lock.private void
JCasHashMapSubMap. putInner(int key, TOP value, int hash, int[] probeInfo)
Only used to fill in newly expanded table always called with lock heldprivate TOP
JCasHashMapSubMap. re_find(TOP[] localTable, int key, int hash, int[] probeInfo)
Method parameters in org.apache.uima.jcas.impl with type arguments of type TOP Modifier and Type Method Description TOP
JCasHashMap. putIfAbsent(int key, java.util.function.IntFunction<TOP> creator)
(package private) TOP
JCasHashMapSubMap. putIfAbsent(int key, int hash, java.util.function.IntFunction<TOP> creatorFromKey)
If an entry isn't already present for this key, calls a Supplier to create a value and puts it into the table. -
Uses of TOP in org.apache.uima.jcas.tcas
Subclasses of TOP in org.apache.uima.jcas.tcas Modifier and Type Class Description class
Annotation
the JCas class model for the CAS type uima.cas.Annotation.class
DocumentAnnotation
The JCas class definition for the CASDocumentAnnotation
type. -
Uses of TOP in org.apache.uima.json
Methods in org.apache.uima.json that return types with arguments of type TOP Modifier and Type Method Description private java.util.List<TOP>[]
JsonCasSerializer.JsonDocSerializer. sortByViewType()
Methods in org.apache.uima.json with parameters of type TOP Modifier and Type Method Description private boolean
JsonCasSerializer.JsonDocSerializer. isDynamicOrStaticMultiRef(FeatureImpl fi, TOP fs)
private boolean
JsonCasSerializer.JsonDocSerializer. isDynamicOrStaticMultiRef(FeatureImpl fi, TOP fs, boolean isListAsFSs)
private void
JsonCasSerializer.JsonDocSerializer. writeArray(TOP fs, FeatureImpl fi, int featureClass)
protected void
JsonCasSerializer.JsonDocSerializer. writeArrays(TOP fs, int typeCode, int typeClass)
Write FSArraysprivate void
JsonCasSerializer.JsonDocSerializer. writeEmbeddedFs(TOP fs)
protected void
JsonCasSerializer.JsonDocSerializer. writeFs(TOP fs, int typeCode)
private void
JsonCasSerializer.JsonDocSerializer. writeFSArray(TOP array, int array_size)
private void
JsonCasSerializer.JsonDocSerializer. writeFsOrLists(TOP fs, TypeImpl ti, boolean isListAsFSs)
private void
JsonCasSerializer.JsonDocSerializer. writeFsOrRef(TOP fs)
for arrays and lists, recursively write one FS, as actual FS, if dynamic embedding and single ref OR, just write the reference id If trying to write the null FS (due to filtering for instance), write 0private void
JsonCasSerializer.JsonDocSerializer. writeFsOrRef(TOP fs, FeatureImpl fi)
protected void
JsonCasSerializer.JsonDocSerializer. writeFsRef(TOP fs)
protected boolean
JsonCasSerializer.JsonDocSerializer. writeFsStart(TOP fs, int typeCode)
private void
JsonCasSerializer.JsonDocSerializer. writeJsonArrayValues(TOP array, int arrayType)
private void
JsonCasSerializer.JsonDocSerializer. writeJsonListValues(TOP curNode)
Only called if no sharing of list nodes exists (except for non-dynamic case) Only called for list nodes referred to by Feature value slots in some FS.private void
JsonCasSerializer.JsonDocSerializer. writeList(TOP fs, FeatureImpl fi, int featureClass, boolean isListAsFSs)
protected void
JsonCasSerializer.JsonDocSerializer. writeListsAsIndividualFSs(TOP fs, int typeCode)
Method parameters in org.apache.uima.json with type arguments of type TOP Modifier and Type Method Description protected void
JsonCasSerializer.JsonDocSerializer. writeView(Sofa sofa, java.util.Collection<TOP> members)
protected void
JsonCasSerializer.JsonDocSerializer. writeView(Sofa sofa, java.util.Collection<TOP> added, java.util.Collection<TOP> deleted, java.util.Collection<TOP> reindexed)
private void
JsonCasSerializer.JsonDocSerializer. writeViewForDeltas(com.fasterxml.jackson.core.io.SerializedString kind, java.util.Collection<TOP> deltaMembers)
private void
JsonCasSerializer.JsonDocSerializer. writeViewMembers(java.util.Collection<TOP> members)
-
Uses of TOP in org.apache.uima.spi
Methods in org.apache.uima.spi that return types with arguments of type TOP Modifier and Type Method Description java.util.List<java.lang.Class<? extends TOP>>
JCasClassProvider. listJCasClasses()
-
Uses of TOP in org.apache.uima.tools.cvd
Fields in org.apache.uima.tools.cvd declared as TOP Modifier and Type Field Description private TOP
FSNode. fs
The fs. -
Uses of TOP in org.apache.uima.util
Fields in org.apache.uima.util with type parameters of type TOP Modifier and Type Field Description private java.util.Map<TOP,TOP>
CasCopier. mFsMap
key is source FS, value is target FS Target not set for SofaFSs Target not set if lenient specified and src type isn't in targetprivate java.util.Map<TOP,TOP>
CasCopier. mFsMap
key is source FS, value is target FS Target not set for SofaFSs Target not set if lenient specified and src type isn't in targetMethods in org.apache.uima.util that return TOP Modifier and Type Method Description private TOP
CasCopier. copyArray(TOP srcFS)
private TOP
CasCopier. copyFs2(TOP aFS)
Copy one FS from the src CAS to the tgt CAS View context: The caller must set the srcCasViewImpl and the tgtCasViewImplprivate TOP
CasCopier. copyFs2Fs(TOP fs)
private TOP
CasCopier. copyFsInner(TOP srcFs)
Copies a FS from the source CAS to the destination CAS.Methods in org.apache.uima.util with parameters of type TOP Modifier and Type Method Description boolean
CasCopier. alreadyCopied(TOP 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 TOP
CasCopier. copyArray(TOP srcFS)
private TOP
CasCopier. copyFs2(TOP aFS)
Copy one FS from the src CAS to the tgt CAS View context: The caller must set the srcCasViewImpl and the tgtCasViewImplprivate TOP
CasCopier. copyFs2Fs(TOP fs)
private TOP
CasCopier. copyFsInner(TOP srcFs)
Copies a FS from the source CAS to the destination CAS. -
Uses of TOP in org.apache.uima.util.impl
Fields in org.apache.uima.util.impl declared as TOP Modifier and Type Field Description static TOP[]
Constants. EMPTY_TOP_ARRAY
-