Uses of Class
org.apache.uima.cas.impl.TypeSystemImpl
Packages that use TypeSystemImpl
Package
Description
Implementation and Low-Level API for the CAS Interfaces.
Provides the classes that support the Java Cas Model (JCM).
Interfaces for
Resources
and ResourceSpecifiers
.Utility classes and interfaces used by UIMA components.
-
Uses of TypeSystemImpl in org.apache.uima.cas.impl
Fields in org.apache.uima.cas.impl declared as TypeSystemImplModifier and TypeFieldDescription(package private) TypeSystemImpl
CasSerializerSupport.filterTypeSystem
CasSerializerSupport.CasDocSerializer.filterTypeSystem_inner
private TypeSystemImpl
BinaryCasSerDes6.srcTs
Things set up for one instance of this classstatic final TypeSystemImpl
TypeSystemImpl.staticTsi
private final TypeSystemImpl
BinaryCasSerDes6.tgtTs
private final TypeSystemImpl
BinaryCasSerDes4.ts
Things set up for one instance of this class, and reuse-ableprivate TypeSystemImpl
TypeNameSpaceImpl.ts
private final TypeSystemImpl
XCASDeserializer.ts
private TypeSystemImpl
XCASSerializer.ts
private TypeSystemImpl
XmiCasDeserializer.ts
private final TypeSystemImpl
CasCompare.ts1
private final TypeSystemImpl
CasCompare.ts2
private TypeSystemImpl
BinaryCasSerDes.tsi
private TypeSystemImpl
CASImpl.SharedViewData.tsi
final TypeSystemImpl
CasSerializerSupport.CasDocSerializer.tsi
private final TypeSystemImpl
FSIndexRepositoryImpl.SharedIndexInfo.tsi
private final TypeSystemImpl
TypeImpl.tsi
private TypeSystemImpl
CASImpl.tsi_local
Copies of frequently accessed data pulled up for locality of reference - only an optimization - each value needs to be reset appropriately - getters check for null, and if null, do the get.final TypeSystemImpl
CasTypeSystemMapper.tsSrc
Fields in org.apache.uima.cas.impl with type parameters of type TypeSystemImplModifier and TypeFieldDescriptionprivate static final Map
<TypeSystemImpl, WeakReference<TypeSystemImpl>> TypeSystemImpl.committedTypeSystems
private static final Map
<TypeSystemImpl, WeakReference<TypeSystemImpl>> TypeSystemImpl.committedTypeSystems
final WeakReference
<TypeSystemImpl> CasTypeSystemMapper.tsTgt
final Map
<TypeSystemImpl, CasTypeSystemMapper> TypeSystemImpl.typeSystemMappers
Type Mapping Objects used in compressed binary (de)serialization These are in an identity map, key = target type system Threading: this map is used by multiple threads Key = target type system, via a weak reference.Methods in org.apache.uima.cas.impl that return TypeSystemImplModifier and TypeMethodDescriptionTypeSystemImpl.commit()
TypeSystemImpl.commit
(ClassLoader cl) CASImpl.commitTypeSystem()
CASImpl.commitTypeSystem
(boolean skip_loading_user_jcas) private TypeSystemImpl
TypeSystemImpl.finalizeCommit
(ClassLoader cl) CasSerializerSupport.getFilterTypes()
(package private) TypeSystemImpl
BinaryCasSerDes6.getTgtTs()
CASMgrSerializer.getTypeSystem()
TypeImpl.getTypeSystem()
Get the type hierarchy that this type belongs to.final TypeSystemImpl
CASImpl.getTypeSystemImpl()
FSIndexRepositoryImpl.getTypeSystemImpl()
Methods in org.apache.uima.cas.impl with parameters of type TypeSystemImplModifier and TypeMethodDescriptionprivate boolean
CasTypeSystemMapper.addFeatures
(FeatureImpl[][] map, TypeSystemImpl tsFrom, TypeSystemImpl tsTo) Create the map from tsFrom to tsTo for all the features, by type -- map created using type and feature name equality -- note: the features may have different definitions; map is by name only --- e.g., one may have String range, the other float range.private boolean
CasTypeSystemMapper.addTypes
(List<TypeImpl> map, TypeSystemImpl tsSrc, TypeSystemImpl tsTgt) return true if no types are filteredvoid
CASMgrSerializer.addTypeSystem
(TypeSystemImpl ts) private static void
FSClassRegistry.checkConformance
(Class<?> clazz, TypeSystemImpl tsi, TypeImpl ti, Map<String, FSClassRegistry.JCasClassInfo> type2jcci) Inner check Never called for "built-ins", or for uima types not having a JCas loaded class Checks that a JCas class definition conforms to the current type in the current type system.(package private) static void
FSClassRegistry.checkConformance
(ClassLoader cl, TypeSystemImpl ts) private static void
FSClassRegistry.checkConformance
(TypeSystemImpl ts, TypeImpl ti, Map<String, FSClassRegistry.JCasClassInfo> type2jcci) private void
CasCompare.convert_to_array
(ArrayList<CommonList> al, ArrayList<TOP> fss, CASImpl view, TypeSystemImpl tsi) Convert an array list to a uima array (int, float, fs, string) - add to fss - go thru fss and null out list elementsprivate void
CASMgrSerializer.encodeFeatureDecls
(TypeSystemImpl ts) private void
CASMgrSerializer.encodeStringSubtypes
(TypeSystemImpl ts) private void
CASMgrSerializer.encodeTypeInheritance
(TypeSystemImpl ts) (package private) static FsGenerator3[]
FSClassRegistry.getGeneratorsForClassLoader
(ClassLoader cl, boolean isPear, TypeSystemImpl tsi) called infrequently to set up cache Only called when a type system has not had generators for a particular class loader.private static void
FSClassRegistry.getGeneratorsForTypeAndSubtypes
(TypeImpl ti, Map<String, FSClassRegistry.JCasClassInfo> t2jcci, boolean isPear, ClassLoader cl, FsGenerator3[] r, TypeSystemImpl tsi) CASMgrSerializer.getStringSubtypes
(TypeSystemImpl ts) (package private) CasTypeSystemMapper
TypeSystemImpl.getTypeSystemMapper
(TypeSystemImpl tgtTs) (package private) CasTypeSystemMapper
TypeSystemImpl.getTypeSystemMapperInner
(TypeSystemImpl tgtTs) (package private) TypeImpl
FSClassRegistry.JCasClassInfo.getUimaType
(TypeSystemImpl tsi) (package private) void
CASImpl.installTypeSystemInAllViews
(TypeSystemImpl ts) Set the shared svd type system ref, in all views(package private) boolean
FSClassRegistry.JCasClassInfo.isPearOverride
(TypeSystemImpl tsi) private static void
FSClassRegistry.loadJCasForTSandClassLoader
(TypeSystemImpl ts, boolean isDoUserJCasLoading, ClassLoader cl, Map<String, FSClassRegistry.JCasClassInfo> type2jcci) Load JCas types for some combination of class loader and type system Some of these classes may have already been loaded for this type system Some of these classes may have already been loaded (perhaps for another type system)private static void
FSClassRegistry.maybeLoadJCasAndSubtypes
(TypeSystemImpl tsi, TypeImpl ti, FSClassRegistry.JCasClassInfo copyDownDefault_jcasClassInfo, ClassLoader cl, Map<String, FSClassRegistry.JCasClassInfo> type2jcci, ArrayList<MutableCallSite> callSites_toSync, MethodHandles.Lookup lookup) Called for all the types, including the built-ins, but the built-ins have already been set up by the caller.BinaryCasSerDes.reinit
(CommonSerDes.Header h, InputStream istream, CASMgrSerializer casMgrSerializer, CasLoadMode casLoadMode, BinaryCasSerDes6 f6, AllowPreexistingFS allowPreexistingFS, TypeSystemImpl ts) Deserialize a binary input stream, after reading the header, and optionally an externally provided type system and index spec used in compressed form 6 serialization previously This reads in and deserializes CAS data from a stream.CasSerializerSupport.setFilterTypes
(TypeSystemImpl ts) pass in a type system to use for filtering what gets serialized; only those types and features which are defined this type system are included.XmiCasSerializer.setFilterTypes
(TypeSystemImpl ts) pass in a type system to use for filtering what gets serialized; only those types and features which are defined this type system are included.private static void
FSClassRegistry.setTypeFromJCasIDforBuiltIns
(FSClassRegistry.JCasClassInfo jcci, TypeSystemImpl tsi, int typeCode) Constructors in org.apache.uima.cas.impl with parameters of type TypeSystemImplModifierConstructorDescriptionBinaryCasSerDes4
(TypeSystemImpl ts, boolean doMeasurements) private
BinaryCasSerDes6
(AbstractCas aCas, MarkerImpl mark, TypeSystemImpl tgtTs, boolean storeTS, boolean storeTSI, BinaryCasSerDes6.ReuseInfo rfs, boolean doMeasurements, BinaryCasSerDes6.CompressLevel compressLevel, BinaryCasSerDes6.CompressStrat compressStrategy) BinaryCasSerDes6
(AbstractCas cas, MarkerImpl mark, TypeSystemImpl tgtTs, BinaryCasSerDes6.ReuseInfo rfs) Setup to serialize (maybe delta) or deserialize (maybe delta) using binary compression, with type mapping and only processing reachable Feature StructuresBinaryCasSerDes6
(AbstractCas cas, MarkerImpl mark, TypeSystemImpl tgtTs, BinaryCasSerDes6.ReuseInfo rfs, boolean doMeasurements) Setup to serialize (maybe delta) or deserialize (maybe delta) using binary compression, with type mapping and only processing reachable Feature Structures, output measurementsBinaryCasSerDes6
(AbstractCas aCas, MarkerImpl mark, TypeSystemImpl tgtTs, BinaryCasSerDes6.ReuseInfo rfs, boolean doMeasurements, BinaryCasSerDes6.CompressLevel compressLevel, BinaryCasSerDes6.CompressStrat compressStrategy) Setup to serialize or deserialize using binary compression, with (optional) type mapping and only processing reachable Feature StructuresBinaryCasSerDes6
(AbstractCas cas, TypeSystemImpl tgtTs) Setup to serialize (not delta) or deserialize (not delta) using binary compression, with type mapping and only processing reachable Feature Structures(package private)
BinaryCasSerDes6
(BinaryCasSerDes6 f6, TypeSystemImpl tgtTs) only called to set up for deserialization.CASImpl
(TypeSystemImpl typeSystem, int initialHeapSize) CasTypeSystemMapper
(TypeSystemImpl tsSrc, TypeSystemImpl tsTgt) (package private)
FeatureImpl
(TypeImpl typeImpl, String shortName, TypeImpl rangeType, TypeSystemImpl tsi, boolean isMultipleRefsAllowed, SlotKinds.SlotKind slotKind) (package private)
SharedIndexInfo
(TypeSystemImpl typeSystem) private
SharedViewData
(CASImpl baseCAS, int initialHeapSize, TypeSystemImpl tsi) (package private)
TypeImpl
(String name, TypeSystemImpl tsi, TypeImpl supertype) Create a new type.(package private)
TypeImpl
(String name, TypeSystemImpl tsi, TypeImpl supertype, Class<?> javaClass) TypeImpl_annot
(String name, TypeSystemImpl tsi, TypeImpl supertype, Class<?> javaClass) TypeImpl_annotBase
(String name, TypeSystemImpl tsi, TypeImpl supertype, Class<?> javaClass) TypeImpl_array
(String name, TypeImpl componentType, TypeSystemImpl tsi, TypeImpl supertype, SlotKinds.SlotKind componentSlotKind, boolean isHeapStoredArray, Class<?> javaClass) TypeImpl_list
(String name, TypeImpl componentType, TypeSystemImpl tsi, TypeImpl supertype, Class<?> javaClass) TypeImpl_primitive
(String name, TypeSystemImpl tsi, TypeImpl supertype, Class<?> javaType) TypeImpl_string
(String name, TypeSystemImpl tsi, TypeImpl supertype) TypeImpl_string
(String name, TypeSystemImpl tsi, TypeImpl supertype, Class<?> javaType) TypeImpl_stringSubtype
(String name, TypeSystemImpl tsi, TypeImpl supertype, Set<String> allowedValues) (package private)
TypeNameSpaceImpl
(String name, TypeSystemImpl ts) -
Uses of TypeSystemImpl in org.apache.uima.jcas.impl
Methods in org.apache.uima.jcas.impl that return TypeSystemImpl -
Uses of TypeSystemImpl in org.apache.uima.json
Methods in org.apache.uima.json with parameters of type TypeSystemImplModifier and TypeMethodDescriptionJsonCasSerializer.setFilterTypes
(TypeSystemImpl ts) pass in a type system to use for filtering what gets serialized; only those types and features which are defined this type system are included. -
Uses of TypeSystemImpl in org.apache.uima.resource
Fields in org.apache.uima.resource declared as TypeSystemImplMethods in org.apache.uima.resource that return TypeSystemImplMethods in org.apache.uima.resource with parameters of type TypeSystemImplModifier and TypeMethodDescriptionvoid
CasDefinition.setTypeSystemImpl
(TypeSystemImpl typeSystemImpl) -
Uses of TypeSystemImpl in org.apache.uima.util
Fields in org.apache.uima.util declared as TypeSystemImplModifier and TypeFieldDescriptionprivate final TypeSystemImpl
CasCopier.srcTsi
private final TypeSystemImpl
CasCopier.tgtTsi
Methods in org.apache.uima.util with parameters of type TypeSystemImplModifier and TypeMethodDescriptionprivate static SerialFormat
CasIOUtils.load
(InputStream casInputStream, InputStream tsiInputStream, CAS aCAS, CasLoadMode casLoadMode, TypeSystemImpl typeSystem)