Uses of Package
org.apache.uima.cas.impl
Packages that use org.apache.uima.cas.impl
Package
Description
Apache UIMA
Common Analysis System(CAS) Interfaces
Implementation and Low-Level API for the CAS Interfaces.
Apache UIMA internals
Custom Functional Interfaces used by various UIMA methods
generators and by
de/serializers
Interfaces for accessing the JCAS.
JCAS model for built-in CAS types
Provides the classes that support the Java Cas Model (JCM).
Interfaces for
Resources
and ResourceSpecifiers
.Describes the format of the generated JCas cover classes for UIMA Version 3.
Utility classes and interfaces used by UIMA components.
-
Classes in org.apache.uima.cas.impl used by org.apache.uimaClassDescriptionFeature structure implementation (for non JCas and JCas) Each FS has - int data - used for boolean, byte, short, int, long, float, double data -- long and double use 2 int slots - may be null if all slots are in JCas cover objects as fields - ref data - used for references to other Java objects, such as -- strings -- other feature structures -- arbitrary Java Objects - may be null if all slots are in JCas cover objects as fields - an id: an incrementing integer, starting at 1, per CAS, of all FSs created for that CAS - a ref to the casView where this FS was created - a ref to the TypeImpl for this class -- can't be static - may be multiple type systems in use
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.adapter.vinciClassDescriptionThis class is used by the XCASDeserializer to store feature structures that do not fit into the type system of the CAS it is deserializing into.XCAS serializer.
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.analysis_engine.asb.impl
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.analysis_engine.service.implClassDescriptionThis is a small object which contains - CASMgrSerializer instance - a Java serializable form of the type system + index definitions - CASSerializer instance - a Java serializable form of the CAS including lists of which FSs are indexed
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.casClassDescriptionDefines the low-level CAS APIs.Low-level FS index object.Low-level version of the type system APIs.
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.cas.implClassDescriptionsupport for collecting all FSs in a CAS over all views both indexed, and (optionally) reachableW A R N I N G Not an Inner Class ! !Binary (mostly non compressed) CAS deserialization The methods in this class were originally part of the CASImpl, and were moved here to this class for v3 Binary non compressed CAS serialization is in class CASSerializer, but that class uses routines and data structures in this class.Binary Deserialization Support An instance of this class is made for every reinit operation doing delta deserialization Mainly used to convert addrs into the main heap into their corresponding FS infoCompression alternativesUser callable serialization and deserialization of the CAS in a compressed Binary Format This serializes/deserializes the state of the CAS.Compression alternativesInfo reused for 1) multiple serializations of same cas to multiple targets (a speedup), or 2) for delta cas serialization, where it represents the fsStartIndex info before any mods were done which could change that info, or 3) for deserializing with a delta cas, where it represents the fsStartIndex info at the time the CAS was serialized out..the v2 CAS byte aux heap - used in modeling some binary (de)serializationhold info about previous compares, to break cycles in references The comparison records cycles and can distinguish different cyclic graphs.key for StringCongruenceSetThis is a small object which contains - CASMgrSerializer instance - a Java serializable form of the type system + index definitions - CASSerializer instance - a Java serializable form of the CAS including lists of which FSs are indexedImplements the CAS interfaces.Journaling changes for computing delta cas.Instances are put into a Stack, to remember previous state to switch back to, when switching class loaders and locking the CAS https://issues.apache.org/jira/browse/UIMA-6057Container for serialized CAS typing information.Used by Binary serialization form 4 and 6 Manage the conversion of FSs to relative sequential index number, and back Manage the difference in two type systems both size of the FSs and handling excluded types During serialization, these maps are constructed before serialization.This object has 2 purposes.CAS serializer support for XMI and JSON formats.Use an inner class to hold the data for serializing a CAS.states the CAS can be inThis class gets initialized with two type systems, and then provides resources to map type and feature codes between them.Encapsulate 8, 16, and 64 bit storage for the CAS.HEADERS Serialization versioning There are 1 or 2 words used for versioning.byte swapping reads of integer formsCommon de/serialization for plain binary and compressed binary form 4 which both used to walk the cas using the sequential, incrementing id approach Lifecycle: There is 0/1 instance per CAS, representing the FSs at some point in time in that CAS.common APIs supporting the copy on write aspect of index partsClass holding information about an FSIndex Includes the "label" of the index, and a ref to the CAS this index contents are in.Class holding info about a View/Sofa.for XCAS and XMI deserialization, need to remember what's being added to the indexes and/or removed, because the actual FSs are not yet "fixed up" (adjusted for reference id's → actual addresses, including the sofa refs) for non-delta updates.The implementation of features in the type system.Deprecated.use TOP insteadFeature structure implementation (for non JCas and JCas) Each FS has - int data - used for boolean, byte, short, int, long, float, double data -- long and double use 2 int slots - may be null if all slots are in JCas cover objects as fields - ref data - used for references to other Java objects, such as -- strings -- other feature structures -- arbitrary Java Objects - may be null if all slots are in JCas cover objects as fields - an id: an incrementing integer, starting at 1, per CAS, of all FSs created for that CAS - a ref to the casView where this FS was created - a ref to the TypeImpl for this class -- can't be static - may be multiple type systems in useContains CAS Type and Feature objects to represent a feature path of the form feature1/.../featureN.Implements a filtered iterator.There is one **class** instance of this per UIMA core class loader.Information about all features this JCas class defines Used to expand the type system when the JCas defines more features than the type system declares.One instance per JCas class defined for it, per class loader - per class loader, because different JCas class definitions for the same name are possible, per class loader Kept in maps, per class loader.W A R N I N G Not an Inner Class ! !A Functional Interface for generating V3 Java Feature StructuresA Functional Interface for generating Java Feature Structures NO LONGER USEDImplementation of annotation indexes.Used for UIMA FS Bag Indexes Uses ObjHashSet to hold instances of FeatureStructuresCommon part of flattened indexes, used for both snapshot iterators and flattened sorted indexes built from passed in instance of FsIndex_iicpFsIndex_iicp (iicp) A pair of an leaf index and an iterator cache.Common index impl for set and sorted indexes.The common (among all index kinds - set, sorted, bag) info for an index over 1 type (excluding subtypes) SubClasses FsIndex_bag, FsIndex_flat, FsIndex_set_sorted, define the actual index repository for each kind.Specifies the comparison to be used for an index, in terms of - the keys and the typeorder, in an order - the standard/reverse orderingThere is one instance of this class per CAS View.Information about all the indexes for a single type.For processing index updates in batch mode when deserializing from a remote service; lists of FSs that were added, removed, or reindexed only used when processing updates in batch modeInformation about indexes that is shared across all views *Aggregate several FS iterators.This version of the FsIterator is used while iterating within a PEAR Indexes keep references to the base (possibly non-pear) version of FSs.Common code for both aggregation of indexes (e.g.An iterator for a single type for a set or sorted index NOTE: This is the version used for set/sorted iterators It is built directly on top of a CopyOnWrite wrapper for OrderedFsSet_array It uses the version of OrdereFsSet_array that has no embedded nullsRecord information on what was removed, from which view, and (optionally) how many times.Version of this class for recording 1 FSthe v2 CAS heap - used in modeling some binary (de)serializationA map from ints representing FS id's (or "addresses") to those FSs There is one map instance per CAS (all views).the v2 CAS long aux heap - used in modeling some binary (de)serializationSets of long values, used to support ll_set/getIntValue that manipulate v2 style long dataDefines the low-level CAS APIs.Exception class for package org.apache.uima.cas.impl.Low-level FS index object.Low-level index repository access.Low-level FS iterator.An empty Low-level FS iteratorLow-level version of the type system APIs.A MarkerImpl holds a high-water "mark" in the CAS, for all views.This class is used by the XCASDeserializer to store feature structures that do not fit into the type system of the CAS it is deserializing into.Implements a constraint embedded under a path.Collection of builder style methods to specify selection of FSs from indexes shift handled in this routine Comment codes: AI = implies AnnotationIndex Iterator varieties and impl bounded? type order not unambig? strict? skipEq Priority? Needed? no coveredBy covering sameas for not-bounded, - ignore strict and skipEq -- except: preceding implies skipping annotations whose end > positioning begin - order-not-needed only applies if iicp size > 1 - unambig ==> use Subiterator -- subiterator wraps: according to typePriority and order-not-needed - no Type Priority - need to pass in as arg to fsIterator_multiple_indexes == if no type priority, need to prevent rattling off the == type while compare is equal == affects both FsIterator_aggregation_common and FsIterator_subtypes_ordered for 3 other boundings: - use subiterator, pass in strict and skipeq finish this javadoc comment edit T extends FeatureStructure, not TOP, because of ref from FSIndex which uses FeatureStructure for backwards compatibilitythe v2 CAS short aux heap - used in modeling some binary (de)serializationUsers "implement" this interface to get access to these constants in their codeEncapsulate string storage for the CAS.Support for legacy string heap format.Like string heap, but keeps strings in a hashmap (for quick testing) and an array list.The implementation of types in the type system.A version of TypeImpl for the AnnotationBase type and its subtypesString or String SubtypeThis interface defines static final constants for Type Systems For the built-in types and features: - the type and feature codes - the adjOffsetsType system implementation.Feature Structure plus all the indexes it is indexed in indexRep -> indexMap -> indexRepositories -> indexRepository or indexRep -> indexRepositories -> indexRepository (2nd if indexMap size == 1)Exception class for package org.apache.uima.cas.impl.CAS serializer for XMI format; writes a CAS in the XML Metadata Interchange (XMI) format.A container for data that is shared between the
XmiCasSerializer
and theXmiCasDeserializer
.Data structure holding all information about an XMI element containing an out-of-typesystem FS.Data structure holding the index and the xmi:id of an array or list element that is a reference to an out-of-typesystem FS. -
Classes in org.apache.uima.cas.impl used by org.apache.uima.cas_data.impl
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.examplesClassDescriptionDeprecated.use AnnotationBase insteadDeprecated.use Annotation insteadImplements the CAS interfaces.Deprecated.use TOP insteadFeature structure implementation (for non JCas and JCas) Each FS has - int data - used for boolean, byte, short, int, long, float, double data -- long and double use 2 int slots - may be null if all slots are in JCas cover objects as fields - ref data - used for references to other Java objects, such as -- strings -- other feature structures -- arbitrary Java Objects - may be null if all slots are in JCas cover objects as fields - an id: an incrementing integer, starting at 1, per CAS, of all FSs created for that CAS - a ref to the casView where this FS was created - a ref to the TypeImpl for this class -- can't be static - may be multiple type systems in useThe implementation of types in the type system.
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.impl
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.internal.utilClassDescriptioncommon APIs supporting the copy on write aspect of index parts
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.internal.util.function
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.jcasClassDescriptionImplements the CAS interfaces.Defines the low-level CAS APIs.Low-level index repository access.
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.jcas.casClassDescriptionDeprecated.use AnnotationBase insteadDeprecated.use BooleanArray insteadDeprecated.use ByteArray insteadImplements the CAS interfaces.Use an inner class to hold the data for serializing a CAS.Deprecated.use DoubleArray insteadDeprecated.use TOP insteadFeature structure implementation (for non JCas and JCas) Each FS has - int data - used for boolean, byte, short, int, long, float, double data -- long and double use 2 int slots - may be null if all slots are in JCas cover objects as fields - ref data - used for references to other Java objects, such as -- strings -- other feature structures -- arbitrary Java Objects - may be null if all slots are in JCas cover objects as fields - an id: an incrementing integer, starting at 1, per CAS, of all FSs created for that CAS - a ref to the casView where this FS was created - a ref to the TypeImpl for this class -- can't be static - may be multiple type systems in useDeprecated.use FloatArray insteadDeprecated.unused in v3, only present to avoid compile errors in unused v2 classesDeprecated.use IntegerArray insteadDeprecated.use LongArray insteadDefines the low-level CAS APIs.Collection of builder style methods to specify selection of FSs from indexes shift handled in this routine Comment codes: AI = implies AnnotationIndex Iterator varieties and impl bounded? type order not unambig? strict? skipEq Priority? Needed? no coveredBy covering sameas for not-bounded, - ignore strict and skipEq -- except: preceding implies skipping annotations whose end > positioning begin - order-not-needed only applies if iicp size > 1 - unambig ==> use Subiterator -- subiterator wraps: according to typePriority and order-not-needed - no Type Priority - need to pass in as arg to fsIterator_multiple_indexes == if no type priority, need to prevent rattling off the == type while compare is equal == affects both FsIterator_aggregation_common and FsIterator_subtypes_ordered for 3 other boundings: - use subiterator, pass in strict and skipeq finish this javadoc comment edit T extends FeatureStructure, not TOP, because of ref from FSIndex which uses FeatureStructure for backwards compatibilityDeprecated.use ShortArray insteadDeprecated.use Sofa insteadDeprecated.use StringArray insteadThe implementation of types in the type system.A container for data that is shared between the
XmiCasSerializer
and theXmiCasDeserializer
. -
Classes in org.apache.uima.cas.impl used by org.apache.uima.jcas.implClassDescriptionImplements the CAS interfaces.Defines the low-level CAS APIs.Low-level index repository access.Type system implementation.
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.jcas.tcasClassDescriptionDeprecated.use AnnotationBase insteadDeprecated.use Annotation insteadImplements the CAS interfaces.Deprecated.use TOP insteadFeature structure implementation (for non JCas and JCas) Each FS has - int data - used for boolean, byte, short, int, long, float, double data -- long and double use 2 int slots - may be null if all slots are in JCas cover objects as fields - ref data - used for references to other Java objects, such as -- strings -- other feature structures -- arbitrary Java Objects - may be null if all slots are in JCas cover objects as fields - an id: an incrementing integer, starting at 1, per CAS, of all FSs created for that CAS - a ref to the casView where this FS was created - a ref to the TypeImpl for this class -- can't be static - may be multiple type systems in useDeprecated.unused in v3, only present to avoid compile errors in unused v2 classesThe implementation of types in the type system.
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.jsonClassDescriptionImplements the CAS interfaces.CAS serializer support for XMI and JSON formats.Use an inner class to hold the data for serializing a CAS.The implementation of features in the type system.A MarkerImpl holds a high-water "mark" in the CAS, for all views.The implementation of types in the type system.Type system implementation.A container for data that is shared between the
XmiCasSerializer
and theXmiCasDeserializer
. -
Classes in org.apache.uima.cas.impl used by org.apache.uima.resource
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.tools.cvdClassDescriptionImplements the CAS interfaces.The implementation of types in the type system.
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.tools.jcasgen
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.uimacppClassDescriptionImplements the CAS interfaces.Container for serialized CAS typing information.This object has 2 purposes.
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.utilClassDescriptionImplements the CAS interfaces.Container for serialized CAS typing information.The implementation of features in the type system.The implementation of types in the type system.Type system implementation.
-
Classes in org.apache.uima.cas.impl used by org.apache.uima.util.impl