Uses of Class
org.apache.uima.cas.impl.TypeSystemImpl
-
Packages that use TypeSystemImpl Package Description org.apache.uima.cas.impl Implementation and Low-Level API for the CAS Interfaces.org.apache.uima.jcas.impl Provides the classes that support the Java Cas Model (JCM).org.apache.uima.json org.apache.uima.resource Interfaces forResourcesandResourceSpecifiers.org.apache.uima.util 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 TypeSystemImpl Modifier and Type Field Description (package private) TypeSystemImplCasSerializerSupport. filterTypeSystemTypeSystemImplCasSerializerSupport.CasDocSerializer. filterTypeSystem_innerprivate TypeSystemImplBinaryCasSerDes6. srcTsThings set up for one instance of this classstatic TypeSystemImplTypeSystemImpl. staticTsiprivate TypeSystemImplBinaryCasSerDes6. tgtTsprivate TypeSystemImplBinaryCasSerDes4. tsThings set up for one instance of this class, and reuse-ableprivate TypeSystemImplTypeNameSpaceImpl. tsprivate TypeSystemImplXCASDeserializer. tsprivate TypeSystemImplXCASSerializer. tsprivate TypeSystemImplXmiCasDeserializer. tsprivate TypeSystemImplCasCompare. ts1private TypeSystemImplCasCompare. ts2private TypeSystemImplBinaryCasSerDes. tsiprivate TypeSystemImplCASImpl.SharedViewData. tsiTypeSystemImplCasSerializerSupport.CasDocSerializer. tsiprivate TypeSystemImplFSIndexRepositoryImpl.SharedIndexInfo. tsiprivate 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.TypeSystemImplCasTypeSystemMapper. tsSrcFields in org.apache.uima.cas.impl with type parameters of type TypeSystemImpl Modifier and Type Field Description private static java.util.Map<TypeSystemImpl,java.lang.ref.WeakReference<TypeSystemImpl>>TypeSystemImpl. committedTypeSystemsprivate static java.util.Map<TypeSystemImpl,java.lang.ref.WeakReference<TypeSystemImpl>>TypeSystemImpl. committedTypeSystemsjava.lang.ref.WeakReference<TypeSystemImpl>CasTypeSystemMapper. tsTgtjava.util.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 TypeSystemImpl Modifier and Type Method Description TypeSystemImplTypeSystemImpl. commit()TypeSystemImplTypeSystemImpl. commit(java.lang.ClassLoader cl)TypeSystemImplCASImpl. commitTypeSystem()TypeSystemImplCASImpl. commitTypeSystem(boolean skip_loading_user_jcas)private TypeSystemImplTypeSystemImpl. finalizeCommit(java.lang.ClassLoader cl)TypeSystemImplCasSerializerSupport. getFilterTypes()(package private) TypeSystemImplBinaryCasSerDes6. getTgtTs()TypeSystemImplCASMgrSerializer. getTypeSystem()TypeSystemImplTypeImpl. getTypeSystem()Get the type hierarchy that this type belongs to.TypeSystemImplCASImpl. getTypeSystemImpl()TypeSystemImplFSIndexRepositoryImpl. getTypeSystemImpl()Methods in org.apache.uima.cas.impl with parameters of type TypeSystemImpl Modifier and Type Method Description private 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(java.util.List<TypeImpl> map, TypeSystemImpl tsSrc, TypeSystemImpl tsTgt)return true if no types are filteredvoidCASMgrSerializer. addTypeSystem(TypeSystemImpl ts)private static voidFSClassRegistry. checkConformance(java.lang.Class<?> clazz, TypeSystemImpl tsi, TypeImpl ti, java.util.Map<java.lang.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(java.lang.ClassLoader cl, TypeSystemImpl ts)private static voidFSClassRegistry. checkConformance(TypeSystemImpl ts, TypeImpl ti, java.util.Map<java.lang.String,FSClassRegistry.JCasClassInfo> type2jcci)private voidCasCompare. convert_to_array(java.util.ArrayList<CommonList> al, java.util.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(java.lang.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, java.util.Map<java.lang.String,FSClassRegistry.JCasClassInfo> t2jcci, boolean isPear, java.lang.ClassLoader cl, FsGenerator3[] r, TypeSystemImpl tsi)private java.util.Vector<Type>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, java.lang.ClassLoader cl, java.util.Map<java.lang.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, java.lang.ClassLoader cl, java.util.Map<java.lang.String,FSClassRegistry.JCasClassInfo> type2jcci, java.util.ArrayList<java.lang.invoke.MutableCallSite> callSites_toSync, java.lang.invoke.MethodHandles.Lookup lookup)Called for all the types, including the built-ins, but the built-ins have already been set up by the caller.SerialFormatBinaryCasSerDes. reinit(CommonSerDes.Header h, java.io.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.CasSerializerSupportCasSerializerSupport. 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.XmiCasSerializerXmiCasSerializer. 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 TypeSystemImpl Constructor Description BinaryCasSerDes4(TypeSystemImpl ts, boolean doMeasurements)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 StructuresBinaryCasSerDes6(BinaryCasSerDes6 f6, TypeSystemImpl tgtTs)only called to set up for deserialization.CASImpl(TypeSystemImpl typeSystem, int initialHeapSize)CasTypeSystemMapper(TypeSystemImpl tsSrc, TypeSystemImpl tsTgt)FeatureImpl(TypeImpl typeImpl, java.lang.String shortName, TypeImpl rangeType, TypeSystemImpl tsi, boolean isMultipleRefsAllowed, SlotKinds.SlotKind slotKind)SharedIndexInfo(TypeSystemImpl typeSystem)SharedViewData(CASImpl baseCAS, int initialHeapSize, TypeSystemImpl tsi)TypeImpl(java.lang.String name, TypeSystemImpl tsi, TypeImpl supertype)Create a new type.TypeImpl(java.lang.String name, TypeSystemImpl tsi, TypeImpl supertype, java.lang.Class<?> javaClass)TypeImpl_annot(java.lang.String name, TypeSystemImpl tsi, TypeImpl supertype, java.lang.Class<?> javaClass)TypeImpl_annotBase(java.lang.String name, TypeSystemImpl tsi, TypeImpl supertype, java.lang.Class<?> javaClass)TypeImpl_array(java.lang.String name, TypeImpl componentType, TypeSystemImpl tsi, TypeImpl supertype, SlotKinds.SlotKind componentSlotKind, boolean isHeapStoredArray, java.lang.Class<?> javaClass)TypeImpl_list(java.lang.String name, TypeImpl componentType, TypeSystemImpl tsi, TypeImpl supertype, java.lang.Class<?> javaClass)TypeImpl_primitive(java.lang.String name, TypeSystemImpl tsi, TypeImpl supertype, java.lang.Class<?> javaType)TypeImpl_string(java.lang.String name, TypeSystemImpl tsi, TypeImpl supertype)TypeImpl_string(java.lang.String name, TypeSystemImpl tsi, TypeImpl supertype, java.lang.Class<?> javaType)TypeImpl_stringSubtype(java.lang.String name, TypeSystemImpl tsi, TypeImpl supertype, java.util.Set<java.lang.String> allowedValues)TypeNameSpaceImpl(java.lang.String name, TypeSystemImpl ts) -
Uses of TypeSystemImpl in org.apache.uima.jcas.impl
Methods in org.apache.uima.jcas.impl that return TypeSystemImpl Modifier and Type Method Description (package private) TypeSystemImplJCasImpl. getTypeSystemImpl() -
Uses of TypeSystemImpl in org.apache.uima.json
Methods in org.apache.uima.json with parameters of type TypeSystemImpl Modifier and Type Method Description JsonCasSerializerJsonCasSerializer. 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 TypeSystemImpl Modifier and Type Field Description private TypeSystemImplCasDefinition. typeSystemImplMethods in org.apache.uima.resource that return TypeSystemImpl Modifier and Type Method Description TypeSystemImplCasDefinition. getTypeSystemImpl()Methods in org.apache.uima.resource with parameters of type TypeSystemImpl Modifier and Type Method Description voidCasDefinition. setTypeSystemImpl(TypeSystemImpl typeSystemImpl) -
Uses of TypeSystemImpl in org.apache.uima.util
Fields in org.apache.uima.util declared as TypeSystemImpl Modifier and Type Field Description private TypeSystemImplCasCopier. srcTsiprivate TypeSystemImplCasCopier. tgtTsiMethods in org.apache.uima.util with parameters of type TypeSystemImpl Modifier and Type Method Description private static SerialFormatCasIOUtils. load(java.io.InputStream casInputStream, java.io.InputStream tsiInputStream, CAS aCAS, CasLoadMode casLoadMode, TypeSystemImpl typeSystem)
-