Package | Description |
---|---|
org.apache.uima.cas.impl |
Implementation and Low-Level API for the CAS Interfaces.
|
org.apache.uima.examples | |
org.apache.uima.jcas.cas |
JCAS model for built-in CAS types
|
org.apache.uima.jcas.tcas |
Modifier and Type | Class and Description |
---|---|
class |
TypeImpl_annot
A version of TypeImpl for Annotations and subtypes of Annotations
|
class |
TypeImpl_annotBase
A version of TypeImpl for the AnnotationBase type and its subtypes
|
class |
TypeImpl_array |
class |
TypeImpl_list |
class |
TypeImpl_primitive |
class |
TypeImpl_string
String or String Subtype
|
class |
TypeImpl_stringSubtype |
Modifier and Type | Field and Description |
---|---|
TypeImpl |
TypeSystemImpl.annotBaseType |
TypeImpl |
TypeSystemImpl.annotType |
TypeImpl |
TypeSystemImpl.booleanType |
TypeImpl |
TypeSystemImpl.byteType |
TypeImpl |
TypeSystemImpl.docType |
TypeImpl |
TypeSystemImpl.doubleType |
TypeImpl |
TypeSystemImpl.floatType |
TypeImpl |
TypeSystemImpl.intType |
TypeImpl |
TypeSystemImpl.longType |
TypeImpl |
TypeSystemImpl.shortType |
static TypeImpl |
TypeImpl.singleton
A special instance used in CasCopier to identify a missing type
|
TypeImpl |
TypeSystemImpl.sofaType |
TypeImpl |
TypeSystemImpl.stringType |
protected TypeImpl |
FsIterator_singletype.ti |
protected TypeImpl |
FsIndex_singletype.type |
Modifier and Type | Field and Description |
---|---|
static Comparator<TypeImpl> |
CasSerializerSupport.COMPARATOR_SHORT_TYPENAME
Comparator that just uses short name Public for access by JsonCasSerializer where it's needed
for a binary search https://issues.apache.org/jira/browse/UIMA-5171
|
Modifier and Type | Method and Description |
---|---|
TypeImpl |
FeatureStructureImplC._getTypeImpl() |
TypeImpl |
TypeSystemImpl.addType(String typeName,
Type superType)
Add a new type to the type system.
|
TypeImpl |
TypeImpl.getComponentType() |
TypeImpl |
TypeImpl_array.getComponentType() |
TypeImpl |
TypeSystemImpl.getJCasRegisteredType(int i)
Convert between fixed JCas class int (set when it is loaded) and this type system's TypeImpl.
|
TypeImpl |
FeatureImpl.getRangeImpl() |
TypeImpl[] |
CasSerializerSupport.CasDocSerializer.getSortedUsedTypes() |
TypeImpl |
TypeImpl.getSuperType()
Get the super type.
|
TypeImpl |
TypeSystemImpl.getTopType()
Get the top type, i.e., the root of the type system.
|
TypeImpl |
TypeSystemImpl.getTopTypeImpl() |
TypeImpl |
TypeSystemImpl.getType(String typeName)
Get a type object for a given name.
|
TypeImpl |
TypeSystemImpl.getTypeForCode_checked(int typeCode) |
TypeImpl |
TypeSystemImpl.getTypeForCode(int typeCode) |
TypeImpl |
FsIndex_singletype.getTypeImpl() |
TypeImpl |
CasTypeSystemMapper.mapTypeCode2Other(TypeImpl type,
boolean src2tgt) |
TypeImpl |
CasTypeSystemMapper.mapTypeCodeTgt2Src(int tgtTypeCode) |
TypeImpl |
CasTypeSystemMapper.mapTypeSrc2Tgt(TypeImpl srcType) |
TypeImpl |
CasTypeSystemMapper.mapTypeTgt2Src(TypeImpl tgtType) |
TypeImpl |
TypeSystemImpl.refreshType(Type t) |
Modifier and Type | Method and Description |
---|---|
List<TypeImpl> |
TypeSystemImpl.getAllTypes() |
Modifier and Type | Method and Description |
---|---|
protected void |
FeatureStructureImplC._setTypeImpl(TypeImpl ti) |
static int |
CasSerializerSupport.classifyType(TypeImpl ti)
Classifies a type.
|
int |
TypeImpl.compareTo(TypeImpl t)
compareTo must return 0 for "equal" types equal means same name, same flags, same supertype
chain, same subtypes, and same features Makes use of hashcodelong to probablistically shortcut
computation for equal case
for not equal types, do by parts
|
TOP |
CASImpl.createArray(TypeImpl array_type,
int arrayLength) |
TOP |
FsGenerator3.createFS(TypeImpl typeImpl,
CASImpl casImpl) |
TOP |
FsGeneratorArray.createFS(TypeImpl typeImpl,
CASImpl casImpl,
int length) |
static FSClassRegistry.JCasClassInfo |
FSClassRegistry.createJCasClassInfo(TypeImpl ti,
ClassLoader cl,
MethodHandles.Lookup lookup) |
boolean |
TypeSystemImpl.directlySubsumes(TypeImpl t1,
TypeImpl t2) |
int |
TypeSystemImpl.getFeatureOffset(TypeImpl ti,
String featureShortName) |
static int |
BinaryCasSerDes.getFsSpaceReq(TOP fs,
TypeImpl type) |
static FSClassRegistry.JCasClassInfo |
FSClassRegistry.getOrCreateJCasClassInfo(TypeImpl ti,
ClassLoader cl,
Map<String,FSClassRegistry.JCasClassInfo> type2jcci,
MethodHandles.Lookup lookup)
For a particular type name, get the JCasClassInfo
- by fetching the cached value
- by loading the class
- return null if no JCas class for this name
only called for non-Pear callers
|
FeatureImpl |
CasTypeSystemMapper.getSrcFeature(TypeImpl tgtType,
FeatureImpl tgtFeat) |
FeatureImpl[] |
CasTypeSystemMapper.getSrcFeatures(TypeImpl tgtType)
Given a tgt type, return an array of source features in the order they would appear in the
target.
|
FeatureImpl |
CasTypeSystemMapper.getTgtFeature(TypeImpl srcType,
FeatureImpl srcFeat)
Get target feature, given src type and feature
|
FeatureImpl |
CasTypeSystemMapper.getToFeature(FeatureImpl[][] mapByTypeCode,
TypeImpl fromType,
FeatureImpl fromFeat) |
static int |
TypeSystemImpl.getTypeClass(TypeImpl ti) |
boolean |
TypeSystemImpl.isRefType(TypeImpl type) |
TypeImpl |
CasTypeSystemMapper.mapTypeCode2Other(TypeImpl type,
boolean src2tgt) |
TypeImpl |
CasTypeSystemMapper.mapTypeSrc2Tgt(TypeImpl srcType) |
TypeImpl |
CasTypeSystemMapper.mapTypeTgt2Src(TypeImpl tgtType) |
boolean |
TypeImpl_string.subsumes(TypeImpl ti) |
boolean |
TypeImpl.subsumes(TypeImpl ti) |
boolean |
TypeImpl_primitive.subsumes(TypeImpl ti) |
boolean |
TypeImpl_array.subsumes(TypeImpl subType) |
boolean |
TypeImpl.subsumesStrictly(TypeImpl ti) |
Constructor and Description |
---|
FeatureStructureImplC(TypeImpl type,
CASImpl casView)
For non-JCas use, Internal Use Only, called by cas.createFS via generators
|
FsIterator_singletype(TypeImpl ti) |
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) |
Constructor and Description |
---|
SourceDocumentInformation(TypeImpl type,
CASImpl casImpl)
Internal - constructor used by generator
|
Constructor and Description |
---|
AnnotationBase(TypeImpl t,
CASImpl c)
used by generator Make a new AnnotationBase
|
BooleanArray(TypeImpl t,
CASImpl c,
int l)
Called by generator
|
ByteArray(TypeImpl t,
CASImpl c,
int length)
used by generator Make a new ByteArray of given size
|
DoubleArray(TypeImpl t,
CASImpl c,
int length)
used by generator Make a new DoubleArray of given size
|
EmptyFloatList(TypeImpl t,
CASImpl c)
used by generator Make a new AnnotationBase
|
EmptyFSList(TypeImpl t,
CASImpl c)
used by generator Make a new AnnotationBase
|
EmptyIntegerList(TypeImpl t,
CASImpl c)
used by generator Make a new AnnotationBase
|
EmptyStringList(TypeImpl t,
CASImpl c)
used by generator Make a new AnnotationBase
|
FloatArray(TypeImpl t,
CASImpl c,
int length)
used by generator Make a new FloatArray of given size
|
FloatList(TypeImpl t,
CASImpl c)
used by generator Make a new AnnotationBase
|
FSArray(TypeImpl t,
CASImpl c,
int length)
used by generator Make a new FSArray of given size
|
FSArrayList(TypeImpl type,
CASImpl casImpl)
Internal - constructor used by generator
|
FSHashSet(HashSet<T> set,
TypeImpl type,
CASImpl casImpl) |
FSHashSet(TypeImpl type,
CASImpl casImpl)
Internal - constructor used by generator
|
FSLinkedHashSet(TypeImpl type,
CASImpl casImpl)
Internal - constructor used by generator
|
FSList(TypeImpl t,
CASImpl c)
used by generator Make a new AnnotationBase
|
Int2FS(TypeImpl type,
CASImpl casImpl)
Internal - constructor used by generator
|
IntegerArray(TypeImpl t,
CASImpl c,
int length)
used by generator Make a new IntegerArray of given size
|
IntegerArrayList(TypeImpl type,
CASImpl casImpl)
Internal - constructor used by generator
|
IntegerList(TypeImpl t,
CASImpl c)
used by generator Make a new AnnotationBase
|
LongArray(TypeImpl t,
CASImpl c,
int length)
used by generator Make a new LongArray of given size
|
NonEmptyFloatList(TypeImpl t,
CASImpl c)
used by generator Make a new AnnotationBase
|
NonEmptyFSList(TypeImpl t,
CASImpl c)
used by generator Make a new AnnotationBase
|
NonEmptyIntegerList(TypeImpl t,
CASImpl c)
used by generator Make a new AnnotationBase
|
NonEmptyStringList(TypeImpl t,
CASImpl c)
used by generator Make a new AnnotationBase
|
ShortArray(TypeImpl t,
CASImpl c,
int length)
used by generator Make a new ShortArray of given size
|
Sofa(TypeImpl t,
CASImpl c)
used by generator, not used Make a new Sofa
|
Sofa(TypeImpl t,
CASImpl c,
int sofaNum,
String viewName,
String mimeType) |
StringArray(TypeImpl t,
CASImpl c,
int length)
used by generator Make a new StringArray of given size
|
StringList(TypeImpl t,
CASImpl c)
used by generator Make a new AnnotationBase
|
TOP(TypeImpl t,
CASImpl c)
used by generator Make a new TOP
|
Constructor and Description |
---|
Annotation(TypeImpl t,
CASImpl c)
used by generator Make a new AnnotationBase
|
DocumentAnnotation(TypeImpl t,
CASImpl c)
used by generator Make a new AnnotationBase
|
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.