Uses of Class
org.apache.uima.cas.impl.CASImpl
Packages that use CASImpl
Package
Description
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).
Describes the format of the generated JCas cover classes for UIMA Version 3.
Utility classes and interfaces used by UIMA components.
-
Uses of CASImpl in org.apache.uima.analysis_engine.asb.impl
Fields in org.apache.uima.analysis_engine.asb.impl declared as CASImpl -
Uses of CASImpl in org.apache.uima.cas.impl
Fields in org.apache.uima.cas.impl declared as CASImplModifier and TypeFieldDescriptionfinal CASImpl
FeatureStructureImplC._casView
The view this Feature Structure was originally created in.private final CASImpl
BinaryCasSerDes.baseCas
private final CASImpl
BinaryCasSerDes4.Deserializer.baseCas
private final CASImpl
BinaryCasSerDes4.Serializer.baseCas
private final CASImpl
CommonSerDesSequential.baseCas
The associated CASprivate final CASImpl
CASImpl.SharedViewData.baseCAS
private final CASImpl
CasCompare.c1
private final CASImpl
CasCompare.c2
(package private) final CASImpl
AllFSs.cas
private final CASImpl
BinaryCasSerDes6.cas
Things for both serialization and Deserializationfinal CASImpl
CasSerializerSupport.CasDocSerializer.cas
private final CASImpl
FSIndexRepositoryImpl.cas
Replicated per view(package private) final CASImpl
FSsTobeAddedback.FSsTobeAddedbackMultiple.cas
An arbitrary cas view or base cas(package private) CASImpl
MarkerImpl.cas
private final CASImpl
XCASDeserializer.XCASDeserializerHandler.cas
private CASImpl
XCASSerializer.XCASDocSerializer.cas
private CASImpl
XmiCasDeserializer.XmiCasDeserializerHandler.casBeingFilled
protected final CASImpl
FsIndex_singletype.casImpl
private final CASImpl
BinaryCasSerDes4.Deserializer.ivCas
private CASImpl
SelectFSs_impl.view
Fields in org.apache.uima.cas.impl with type parameters of type CASImplModifier and TypeFieldDescriptionCASImpl.SharedViewData.sofaNbr2ViewMap
A map from Sofa numbers to CAS views.Methods in org.apache.uima.cas.impl that return CASImplModifier and TypeMethodDescriptionFeatureStructureImplC._getView()
CASImpl.getBaseCAS()
(package private) CASImpl
BinaryCasSerDes.getCas()
FsIndex_iicp.getCasImpl()
FsIndex_singletype.getCasImpl()
FsIndex_snapshot.getCasImpl()
FSIndexRepositoryImpl.getCasImpl()
LowLevelIndex.getCasImpl()
FeatureStructureImplC.getCASImpl()
(package private) CASImpl
CASImpl.getInitialView()
(package private) CASImpl
CASImpl.SharedViewData.getInitialView()
CASImpl.getSofaCasView
(AnnotationBase fs) private CASImpl
CASImpl.SharedViewData.getViewFromSofaNbr
(int nbr) CASImpl.ll_getSofaCasView
(int id) LowLevelCAS.ll_getSofaCasView
(int addr) BinaryCasSerDes.setupCasFromCasMgrSerializer
(CASMgrSerializer casMgrSerializer) Methods in org.apache.uima.cas.impl that return types with arguments of type CASImplModifier and TypeMethodDescriptionCASImpl.getViewImplIterator()
excludes initial view if its sofa is not validMethods in org.apache.uima.cas.impl with parameters of type CASImplModifier and TypeMethodDescriptionvoid
Add the CAS to be serialized.void
Add the CAS to be serialized.void
CASSerializer.addCAS
(CASImpl cas, OutputStream ostream) Serializes the CAS data and writes it to the output stream.void
CASSerializer.addCAS
(CASImpl cas, OutputStream ostream, boolean includeTsi) void
CASSerializer.addCAS
(CASImpl cas, OutputStream ostream, Marker trackingMark) Serializes only new and modified FS and index operations made after the tracking mark is created.void
CASSerializer.addNoMetaData
(CASImpl casImpl) Serialize CAS data without heap-internal meta data.(package private) void
CASSerializer.addTsiCAS
(CASImpl cas, OutputStream ostream) private void
CasCompare.applyToTypeFeature_inner
(CASImpl cas, String typeName, String featureBaseName, Consumer2<TOP, Feature> c) private static FSIndexComparator
FsIndex_bag.cleanUpComparator
(FSIndexComparator comp, CASImpl casImpl) Substitutes an empty comparator if one is specified - may not be neededboolean
BinaryCasSerDes6.compareCASes
(CASImpl c1, CASImpl c2) Compare 2 CASes, with perhaps different type systems.static boolean
CasCompare.compareCASes
(CASImpl c1, CASImpl c2) Compare 2 CASes, with perhaps different type systems.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
BinaryCasSerDes4.Deserializer.createCurrentFs
(TypeImpl type, CASImpl view) private void
BinaryCasSerDes6.createCurrentFs
(TypeImpl type, CASImpl view) Deprecated.static FSsTobeAddedback
FSsTobeAddedback.createMultiple
(CASImpl cas) void
BinaryCasSerDes4.deserialize
(CASImpl cas, InputStream deserIn, boolean isDelta, CommonSerDes.Header h) static void
(package private) static CommonSerDesSequential
private LowLevelIndex
<T> SelectFSs_impl.getIndexForView
(CASImpl v) gets the index for a view that corresponds to the specified index by matching the index specs and type codeCASMgrSerializer.getIndexRepository
(CASImpl cas) Deserialize the index specification and type ordering information in this class instance into the index repository and cas and type system.private void
CASSerializer.outputStringHeap
(DataOutputStream dos, CASImpl cas, StringHeapDeserializationHelper shdh, BinaryCasSerDes bcsd) private LowLevelIterator
<T> SelectFSs_impl.plainFsIterator
(LowLevelIndex<T> idx, CASImpl v) private void
BinaryCasSerDes6.processIndexedFeatureStructures
(CASImpl cas1, boolean isWrite) void
BinaryCasSerDes4.serializeWithTsi
(CASImpl casImpl, Object out) (package private) static void
BinaryCasSerDes6.setupOutputStreams
(CASImpl cas, ByteArrayOutputStream[] baosZipSources, DataOutputStream[] dosZipSources) (package private) void
CASImpl.SharedViewData.setViewForSofaNbr
(int nbr, CASImpl view) CasCompare.type_feature_to_runnable
(CASImpl cas, String typeName, String featureBaseName, BiFunction<TOP, Feature, Runnable> c) Method parameters in org.apache.uima.cas.impl with type arguments of type CASImplModifier and TypeMethodDescriptionvoid
CasCompare.applyToBoth
(Consumer<CASImpl> c) Many times some customation needs to be applied to both CASs being compared.void
CASImpl.forAllViews
(Consumer<CASImpl> processViews) iterate over all views in view order (by view number)Constructors in org.apache.uima.cas.impl with parameters of type CASImplModifierConstructorDescription(package private)
simpler version, no mark info, no filter or type mapper(package private)
AllFSs
(CASImpl cas, MarkerImpl mark, Predicate<TOP> includeFilter, CasTypeSystemMapper typeMapper) BinaryCasSerDes
(CASImpl baseCAS) CasCompare
(CASImpl c1, CASImpl c2) Make an instance of this class to set up a compare operation, and optionally use to configure the compare.CasDocSerializer
(ContentHandler ch, CASImpl cas, XmiSerializationSharedData sharedData, MarkerImpl marker, CasSerializerSupport.CasSerializerSupportSerialize csss) CasDocSerializer
(ContentHandler ch, CASImpl cas, XmiSerializationSharedData sharedData, MarkerImpl marker, CasSerializerSupport.CasSerializerSupportSerialize csss, boolean trackMultiRefs) (package private)
(package private)
Deserializer
(CASImpl cas, DataInput deserIn, boolean isDelta) Called after header was read and determined that this was a compressed binaryprotected
FeatureStructureImplC
(TypeImpl type, CASImpl casView) For non-JCas use, Internal Use Only, called by cas.createFS via generators(package private)
FsIndex_bag
(CASImpl cas, Type type, int initialSize, int indexType, FSIndexComparator comparatorForIndexSpecs) (package private)
FsIndex_set_sorted
(CASImpl cas, Type type, int indexType, FSIndexComparator comparatorForIndexSpecs) protected
FsIndex_singletype
(CASImpl cas, Type type, int indexType, FSIndexComparator comparatorForIndexSpecs) Constructor for FsIndex_singletype.(package private)
Constructor.(package private)
FSIndexRepositoryImpl
(CASImpl cas, FSIndexRepositoryImpl baseIndexRepo) Constructor for additional views.(package private)
(package private)
MarkerImpl
(int nextFSId, CASImpl cas) private
Serializer
(CASImpl cas, DataOutputStream serializedOut, MarkerImpl mark, SerializationMeasures sm, BinaryCasSerDes4.CompressLevel compressLevel, BinaryCasSerDes4.CompressStrat compressStrategy, boolean isTsi) private
SharedViewData
(CASImpl baseCAS, int initialHeapSize, TypeSystemImpl tsi) private
XCASDeserializerHandler
(CASImpl aCAS, OutOfTypeSystemData ootsData) private
XCASDocSerializer
(ContentHandler ch, CASImpl cas) private
XmiCasDeserializerHandler
(CASImpl aCAS, boolean lenient, XmiSerializationSharedData sharedData, int mergePoint, AllowPreexistingFS allowPreexistingFS) Creates a SAX handler used for deserializing an XMI CAS.private
XmiDocSerializer
(ContentHandler ch, CASImpl cas, XmiSerializationSharedData sharedData, MarkerImpl marker) -
Uses of CASImpl in org.apache.uima.examples
Constructors in org.apache.uima.examples with parameters of type CASImplModifierConstructorDescriptionSourceDocumentInformation
(TypeImpl type, CASImpl casImpl) Internal - constructor used by generator -
Uses of CASImpl in org.apache.uima.impl
Methods in org.apache.uima.impl that return CASImplModifier and TypeMethodDescriptionstatic CASImpl
Util.getStartingView
(CAS cas, boolean sofaAware, ComponentInfo componentInfo) -
Uses of CASImpl in org.apache.uima.internal.util.function
Methods in org.apache.uima.internal.util.function with parameters of type CASImpl -
Uses of CASImpl in org.apache.uima.jcas
Methods in org.apache.uima.jcas that return CASImpl -
Uses of CASImpl in org.apache.uima.jcas.cas
Fields in org.apache.uima.jcas.cas declared as CASImplModifier and TypeFieldDescriptionfinal CASImpl
TOP_Type.casImpl
Deprecated.ref to CAS for faster getters/settersMethods in org.apache.uima.jcas.cas that return CASImplConstructors in org.apache.uima.jcas.cas with parameters of type CASImplModifierConstructorDescriptionAnnotationBase
(TypeImpl t, CASImpl c) used by generator Make a new AnnotationBaseBooleanArray
(TypeImpl t, CASImpl c, int l) Called by generatorused by generator Make a new ByteArray of given sizeDoubleArray
(TypeImpl t, CASImpl c, int length) used by generator Make a new DoubleArray of given sizeEmptyFloatList
(TypeImpl t, CASImpl c) used by generator Make a new AnnotationBaseEmptyFSList
(TypeImpl t, CASImpl c) used by generator Make a new AnnotationBaseEmptyIntegerList
(TypeImpl t, CASImpl c) used by generator Make a new AnnotationBaseEmptyStringList
(TypeImpl t, CASImpl c) used by generator Make a new AnnotationBaseFloatArray
(TypeImpl t, CASImpl c, int length) used by generator Make a new FloatArray of given sizeused by generator Make a new AnnotationBaseused by generator Make a new FSArray of given sizeFSArrayList
(TypeImpl type, CASImpl casImpl) Internal - constructor used by generatorInternal - constructor used by generatorFSLinkedHashSet
(TypeImpl type, CASImpl casImpl) Internal - constructor used by generatorused by generator Make a new AnnotationBaseInternal - constructor used by generatorIntegerArray
(TypeImpl t, CASImpl c, int length) used by generator Make a new IntegerArray of given sizeIntegerArrayList
(TypeImpl type, CASImpl casImpl) Internal - constructor used by generatorIntegerList
(TypeImpl t, CASImpl c) used by generator Make a new AnnotationBaseused by generator Make a new LongArray of given sizeNonEmptyFloatList
(TypeImpl t, CASImpl c) used by generator Make a new AnnotationBaseNonEmptyFSList
(TypeImpl t, CASImpl c) used by generator Make a new AnnotationBaseused by generator Make a new AnnotationBaseused by generator Make a new AnnotationBaseShortArray
(TypeImpl t, CASImpl c, int length) used by generator Make a new ShortArray of given sizeused by generator, not used Make a new SofaStringArray
(TypeImpl t, CASImpl c, int length) used by generator Make a new StringArray of given sizeStringList
(TypeImpl t, CASImpl c) used by generator Make a new AnnotationBaseused by generator Make a new TOP -
Uses of CASImpl in org.apache.uima.jcas.impl
Fields in org.apache.uima.jcas.impl declared as CASImplMethods in org.apache.uima.jcas.impl that return CASImplMethods in org.apache.uima.jcas.impl with parameters of type CASImplModifier and TypeMethodDescriptionstatic JCasImpl
creates a new JCas instance that corresponds to a CAS instance.private static JCasImpl
JCasImpl.getJCasImpl
(CASImpl cas) creates a new JCas instance that corresponds to a CAS instance.Constructors in org.apache.uima.jcas.impl with parameters of type CASImpl -
Uses of CASImpl in org.apache.uima.jcas.tcas
Constructors in org.apache.uima.jcas.tcas with parameters of type CASImplModifierConstructorDescriptionAnnotation
(TypeImpl t, CASImpl c) used by generator Make a new AnnotationBaseused by generator Make a new AnnotationBase -
Uses of CASImpl in org.apache.uima.json
Constructors in org.apache.uima.json with parameters of type CASImplModifierConstructorDescriptionprivate
JsonDocSerializer
(ContentHandler ch, CASImpl cas, XmiSerializationSharedData sharedData, MarkerImpl marker) -
Uses of CASImpl in org.apache.uima.tools.cvd
Fields in org.apache.uima.tools.cvd declared as CASImplMethods in org.apache.uima.tools.cvd that return CASImpl -
Uses of CASImpl in org.apache.uima.tools.jcasgen
Methods in org.apache.uima.tools.jcasgen with parameters of type CASImplModifier and TypeMethodDescriptionprivate void
Jg.generateAllTypesFromTemplates
(String outputDirectory, TypeDescription[] tds, CASImpl aCas, Class<JCasTypeTemplate> jcasTypeClass) Generate all types from templates.void
Jg.mainForCde
(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas) Main for cde.void
Jg.mainForCde
(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas, String pProjectPathDir, boolean limitToProjectScope, Map<String, Set<String>> pMergedTypesAddingFeatures) Main for cde.void
Jg.mainGenerateAllTypesFromTemplates
(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas, Class<JCasTypeTemplate> jcasTypeClass, Class<JCasTypeTemplate> jcas_TypeClass) Main generate all types from templates.void
Jg.mainGenerateAllTypesFromTemplates
(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas, Class<JCasTypeTemplate> jcasTypeClass, String pProjectPathDir, boolean limitToProjectScope, Map<String, Set<String>> pMergedTypesAddingFeatures) Main generate all types from templates. -
Uses of CASImpl in org.apache.uima.uimacpp
Fields in org.apache.uima.uimacpp declared as CASImplMethods in org.apache.uima.uimacpp with parameters of type CASImplModifier and TypeMethodDescriptionprivate static void
UimacppEngine.serializeResultSpecification
(ResultSpecification rs, CASImpl cas, IntVector resultSpecTypes, IntVector resultSpecFeatures) -
Uses of CASImpl in org.apache.uima.util
Fields in org.apache.uima.util declared as CASImplModifier and TypeFieldDescriptionprivate CASImpl
CasCopier.cachedTgtView
private final CASImpl
CasCopier.originalSrcCas
private final CASImpl
CasCopier.originalTgtCas
private CASImpl
CasCopier.srcCasViewImpl
private CASImpl
CasCopier.tgtCasViewImpl
Methods in org.apache.uima.util that return CASImplModifier and TypeMethodDescriptionprivate CASImpl
CasCopier.getCorrespondingTgtView
(String viewNameFromSrcSofaId) private static CASImpl
CasCopier.getOrCreateView
(CASImpl aCas, String aViewName) Gets the named view; if the view doesn't exist it will be created.Methods in org.apache.uima.util with parameters of type CASImplModifier and TypeMethodDescriptionprivate static CASImpl
CasCopier.getOrCreateView
(CASImpl aCas, String aViewName) Gets the named view; if the view doesn't exist it will be created.