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 forResources
andResourceSpecifiers
.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) TypeSystemImpl
CasSerializerSupport. filterTypeSystem
TypeSystemImpl
CasSerializerSupport.CasDocSerializer. filterTypeSystem_inner
private TypeSystemImpl
BinaryCasSerDes6. srcTs
Things set up for one instance of this classstatic TypeSystemImpl
TypeSystemImpl. staticTsi
private TypeSystemImpl
BinaryCasSerDes6. tgtTs
private TypeSystemImpl
BinaryCasSerDes4. ts
Things set up for one instance of this class, and reuse-ableprivate TypeSystemImpl
TypeNameSpaceImpl. ts
private TypeSystemImpl
XCASDeserializer. ts
private TypeSystemImpl
XCASSerializer. ts
private TypeSystemImpl
XmiCasDeserializer. ts
private TypeSystemImpl
CasCompare. ts1
private TypeSystemImpl
CasCompare. ts2
private TypeSystemImpl
BinaryCasSerDes. tsi
private TypeSystemImpl
CASImpl.SharedViewData. tsi
TypeSystemImpl
CasSerializerSupport.CasDocSerializer. tsi
private TypeSystemImpl
FSIndexRepositoryImpl.SharedIndexInfo. tsi
private 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.TypeSystemImpl
CasTypeSystemMapper. tsSrc
Fields 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. committedTypeSystems
private static java.util.Map<TypeSystemImpl,java.lang.ref.WeakReference<TypeSystemImpl>>
TypeSystemImpl. committedTypeSystems
java.lang.ref.WeakReference<TypeSystemImpl>
CasTypeSystemMapper. tsTgt
java.util.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 TypeSystemImpl Modifier and Type Method Description TypeSystemImpl
TypeSystemImpl. commit()
TypeSystemImpl
TypeSystemImpl. commit(java.lang.ClassLoader cl)
TypeSystemImpl
CASImpl. commitTypeSystem()
TypeSystemImpl
CASImpl. commitTypeSystem(boolean skip_loading_user_jcas)
private TypeSystemImpl
TypeSystemImpl. finalizeCommit(java.lang.ClassLoader cl)
TypeSystemImpl
CasSerializerSupport. getFilterTypes()
(package private) TypeSystemImpl
BinaryCasSerDes6. getTgtTs()
TypeSystemImpl
CASMgrSerializer. getTypeSystem()
TypeSystemImpl
TypeImpl. getTypeSystem()
Get the type hierarchy that this type belongs to.TypeSystemImpl
CASImpl. getTypeSystemImpl()
TypeSystemImpl
FSIndexRepositoryImpl. getTypeSystemImpl()
Methods in org.apache.uima.cas.impl with parameters of type TypeSystemImpl Modifier and Type Method Description private 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(java.util.List<TypeImpl> map, TypeSystemImpl tsSrc, TypeSystemImpl tsTgt)
return true if no types are filteredvoid
CASMgrSerializer. addTypeSystem(TypeSystemImpl ts)
private static void
FSClassRegistry. 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 void
FSClassRegistry. checkConformance(java.lang.ClassLoader cl, TypeSystemImpl ts)
private static void
FSClassRegistry. checkConformance(TypeSystemImpl ts, TypeImpl ti, java.util.Map<java.lang.String,FSClassRegistry.JCasClassInfo> type2jcci)
private void
CasCompare. 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 void
CASMgrSerializer. encodeFeatureDecls(TypeSystemImpl ts)
private void
CASMgrSerializer. encodeStringSubtypes(TypeSystemImpl ts)
private void
CASMgrSerializer. 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 void
FSClassRegistry. 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) 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, 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 void
FSClassRegistry. 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.SerialFormat
BinaryCasSerDes. 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.CasSerializerSupport
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
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 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) TypeSystemImpl
JCasImpl. 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 JsonCasSerializer
JsonCasSerializer. 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 TypeSystemImpl
CasDefinition. typeSystemImpl
Methods in org.apache.uima.resource that return TypeSystemImpl Modifier and Type Method Description TypeSystemImpl
CasDefinition. getTypeSystemImpl()
Methods in org.apache.uima.resource with parameters of type TypeSystemImpl Modifier and Type Method Description void
CasDefinition. 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 TypeSystemImpl
CasCopier. srcTsi
private TypeSystemImpl
CasCopier. tgtTsi
Methods in org.apache.uima.util with parameters of type TypeSystemImpl Modifier and Type Method Description private static SerialFormat
CasIOUtils. load(java.io.InputStream casInputStream, java.io.InputStream tsiInputStream, CAS aCAS, CasLoadMode casLoadMode, TypeSystemImpl typeSystem)
-