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) TypeSystemImplCasSerializerSupport.filterTypeSystemCasSerializerSupport.CasDocSerializer.filterTypeSystem_innerprivate TypeSystemImplBinaryCasSerDes6.srcTsThings set up for one instance of this classstatic final TypeSystemImplTypeSystemImpl.staticTsiprivate final TypeSystemImplBinaryCasSerDes6.tgtTsprivate final TypeSystemImplBinaryCasSerDes4.tsThings set up for one instance of this class, and reuse-ableprivate TypeSystemImplTypeNameSpaceImpl.tsprivate final TypeSystemImplXCASDeserializer.tsprivate TypeSystemImplXCASSerializer.tsprivate TypeSystemImplXmiCasDeserializer.tsprivate final TypeSystemImplCasCompare.ts1private final TypeSystemImplCasCompare.ts2private TypeSystemImplBinaryCasSerDes.tsiprivate TypeSystemImplCASImpl.SharedViewData.tsifinal TypeSystemImplCasSerializerSupport.CasDocSerializer.tsiprivate final TypeSystemImplFSIndexRepositoryImpl.SharedIndexInfo.tsiprivate final TypeSystemImplTypeImpl.tsiprivate TypeSystemImplCASImpl.tsi_localCopies 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 TypeSystemImplCasTypeSystemMapper.tsSrcFields in org.apache.uima.cas.impl with type parameters of type TypeSystemImplModifier and TypeFieldDescriptionprivate static final Map<TypeSystemImpl, WeakReference<TypeSystemImpl>> TypeSystemImpl.committedTypeSystemsprivate static final Map<TypeSystemImpl, WeakReference<TypeSystemImpl>> TypeSystemImpl.committedTypeSystemsfinal WeakReference<TypeSystemImpl> CasTypeSystemMapper.tsTgtfinal Map<TypeSystemImpl, CasTypeSystemMapper> TypeSystemImpl.typeSystemMappersType 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 TypeSystemImplTypeSystemImpl.finalizeCommit(ClassLoader cl) CasSerializerSupport.getFilterTypes()(package private) TypeSystemImplBinaryCasSerDes6.getTgtTs()CASMgrSerializer.getTypeSystem()TypeImpl.getTypeSystem()Get the type hierarchy that this type belongs to.final TypeSystemImplCASImpl.getTypeSystemImpl()FSIndexRepositoryImpl.getTypeSystemImpl()Methods in org.apache.uima.cas.impl with parameters of type TypeSystemImplModifier and TypeMethodDescriptionprivate booleanCasTypeSystemMapper.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 booleanCasTypeSystemMapper.addTypes(List<TypeImpl> map, TypeSystemImpl tsSrc, TypeSystemImpl tsTgt) return true if no types are filteredvoidCASMgrSerializer.addTypeSystem(TypeSystemImpl ts) private static voidFSClassRegistry.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 voidFSClassRegistry.checkConformance(ClassLoader cl, TypeSystemImpl ts) private static voidFSClassRegistry.checkConformance(TypeSystemImpl ts, TypeImpl ti, Map<String, FSClassRegistry.JCasClassInfo> type2jcci) private voidCasCompare.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 voidCASMgrSerializer.encodeFeatureDecls(TypeSystemImpl ts) private voidCASMgrSerializer.encodeStringSubtypes(TypeSystemImpl ts) private voidCASMgrSerializer.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 voidFSClassRegistry.getGeneratorsForTypeAndSubtypes(TypeImpl ti, Map<String, FSClassRegistry.JCasClassInfo> t2jcci, boolean isPear, ClassLoader cl, FsGenerator3[] r, TypeSystemImpl tsi) CASMgrSerializer.getStringSubtypes(TypeSystemImpl ts) (package private) CasTypeSystemMapperTypeSystemImpl.getTypeSystemMapper(TypeSystemImpl tgtTs) (package private) CasTypeSystemMapperTypeSystemImpl.getTypeSystemMapperInner(TypeSystemImpl tgtTs) (package private) TypeImplFSClassRegistry.JCasClassInfo.getUimaType(TypeSystemImpl tsi) (package private) voidCASImpl.installTypeSystemInAllViews(TypeSystemImpl ts) Set the shared svd type system ref, in all views(package private) booleanFSClassRegistry.JCasClassInfo.isPearOverride(TypeSystemImpl tsi) private static voidFSClassRegistry.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 voidFSClassRegistry.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 voidFSClassRegistry.setTypeFromJCasIDforBuiltIns(FSClassRegistry.JCasClassInfo jcci, TypeSystemImpl tsi, int typeCode) Constructors in org.apache.uima.cas.impl with parameters of type TypeSystemImplModifierConstructorDescriptionBinaryCasSerDes4(TypeSystemImpl ts, boolean doMeasurements) privateBinaryCasSerDes6(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) privateSharedViewData(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 TypeMethodDescriptionvoidCasDefinition.setTypeSystemImpl(TypeSystemImpl typeSystemImpl) -
Uses of TypeSystemImpl in org.apache.uima.util
Fields in org.apache.uima.util declared as TypeSystemImplModifier and TypeFieldDescriptionprivate final TypeSystemImplCasCopier.srcTsiprivate final TypeSystemImplCasCopier.tgtTsiMethods in org.apache.uima.util with parameters of type TypeSystemImplModifier and TypeMethodDescriptionprivate static SerialFormatCasIOUtils.load(InputStream casInputStream, InputStream tsiInputStream, CAS aCAS, CasLoadMode casLoadMode, TypeSystemImpl typeSystem)