Package | Description |
---|---|
org.apache.uima.cas.impl |
Implementation and Low-Level API for the CAS Interfaces.
|
org.apache.uima.util.impl |
Modifier and Type | Class and Description |
---|---|
class |
FeatureImpl_jcas_only
The implementation of jcas-only features in the type system.
|
Modifier and Type | Field and Description |
---|---|
static FeatureImpl |
FeatureImpl.singleton
Used by CAS Copier to denote missing feature
|
Modifier and Type | Method and Description |
---|---|
protected FeatureImpl |
FeatureStructureImplC._getFeatFromAdjOffset(int adjOffset,
boolean isInInt) |
FeatureImpl |
TypeImpl.getFeatureByBaseName(String featureShortName) |
FeatureImpl |
TypeSystemImpl.getFeatureByFullName(String featureName)
Get an feature object for a given name.
|
FeatureImpl[] |
TypeImpl.getFeatureImpls()
This impl depends on features never being removed from types, only added Minimal Java object
generation, maximal reuse
|
FeatureImpl |
FSIndexComparatorImpl.getKeyFeature(int key) |
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) |
FeatureImpl |
TypeSystemImpl.refreshFeature(Feature f) |
Modifier and Type | Method and Description |
---|---|
Stream<FeatureImpl> |
TypeImpl.getFeaturesAsStream() |
List<FeatureImpl> |
TypeImpl.getMergedStaticFeaturesIntroducedByThisType() |
Modifier and Type | Method and Description |
---|---|
boolean |
FeatureStructureImplC._getBooleanValueNc(FeatureImpl fi) |
byte |
FeatureStructureImplC._getByteValueNc(FeatureImpl feat) |
double |
FeatureStructureImplC._getDoubleValueNc(FeatureImpl fi) |
TOP |
FeatureStructureImplC._getFeatureValueNc(FeatureImpl feat) |
float |
FeatureStructureImplC._getFloatValueNc(FeatureImpl fi) |
int |
FeatureStructureImplC._getIntLikeValue(SlotKinds.SlotKind slotKind,
FeatureImpl f)
for compressed form 4 - for getting the prev value of int-like slots Uses unchecked forms for
feature access
|
int |
FeatureStructureImplC._getIntValueNc(FeatureImpl feat) |
long |
FeatureStructureImplC._getLongValueNc(FeatureImpl feat) |
short |
FeatureStructureImplC._getShortValueNc(FeatureImpl feat) |
String |
FeatureStructureImplC._getStringValueNc(FeatureImpl feat) |
void |
FeatureStructureImplC._setBooleanValueNcNj(FeatureImpl fi,
boolean v) |
void |
FeatureStructureImplC._setByteValueNcNj(FeatureImpl fi,
byte v) |
void |
FeatureStructureImplC._setDoubleValueNcNj(FeatureImpl fi,
double v) |
void |
FeatureStructureImplC._setFeatureValueNcNj(FeatureImpl fi,
Object v) |
void |
FeatureStructureImplC._setFloatValueNcNj(FeatureImpl fi,
float v) |
void |
FeatureStructureImplC._setIntLikeValue(SlotKinds.SlotKind slotKind,
FeatureImpl fi,
int v)
Internal Use only
|
void |
FeatureStructureImplC._setIntLikeValueNcNj(SlotKinds.SlotKind slotKind,
FeatureImpl fi,
int v)
Internal Use only - no feature check, no journaling
|
protected void |
FeatureStructureImplC._setIntValueCJ(FeatureImpl fi,
int v)
All 3 checks
|
void |
FeatureStructureImplC._setIntValueNcNj(FeatureImpl fi,
int v) |
protected void |
FeatureStructureImplC._setLongValueCJ(FeatureImpl fi,
long v)
All 3 checks for long
|
void |
FeatureStructureImplC._setLongValueNcNj(FeatureImpl fi,
long v) |
protected void |
FeatureStructureImplC._setLongValueNfcCJ(FeatureImpl fi,
long v)
2 checks, no feature check
|
protected void |
FeatureStructureImplC._setRefValueCJ(FeatureImpl fi,
Object v) |
protected void |
FeatureStructureImplC._setRefValueCommonWj(FeatureImpl fi,
Object v) |
protected void |
FeatureStructureImplC._setRefValueNfcCJ(FeatureImpl fi,
Object v)
2 checks, no feature check
|
void |
FeatureStructureImplC._setShortValueNcNj(FeatureImpl fi,
short v) |
void |
FeatureStructureImplC._setStringValueNcNj(FeatureImpl fi,
String v) |
StringBuilder |
FeatureStructureImplC.addStringOrPrimitive(StringBuilder sb,
FeatureImpl fi) |
static boolean |
CASImpl.copyFeatureExceptFsRef(TOP fsSrc,
FeatureImpl fiSrc,
TOP fsTgt,
FeatureImpl fiTgt)
Copies a feature from one fs to another FSs may be in different type systems Doesn't copy a
feature ref, but instead returns false.
|
FeatureImpl |
CasTypeSystemMapper.getSrcFeature(TypeImpl tgtType,
FeatureImpl tgtFeat) |
FeatureImpl |
CasTypeSystemMapper.getTgtFeature(TypeImpl srcType,
FeatureImpl srcFeat)
Get target feature, given src type and feature
|
FeatureImpl |
CasTypeSystemMapper.getToFeature(FeatureImpl[][] mapByTypeCode,
TypeImpl fromType,
FeatureImpl fromFeat) |
FeatureImpl |
CasTypeSystemMapper.getToFeature(FeatureImpl[][] mapByTypeCode,
TypeImpl fromType,
FeatureImpl fromFeat) |
boolean |
CasSerializerSupport.CasDocSerializer.isStaticMultiRef(FeatureImpl fi) |
void |
CASImpl.maybeLogArrayUpdate(FeatureStructureImplC fs,
FeatureImpl feat,
int i) |
void |
CASImpl.maybeLogUpdate(FeatureStructureImplC fs,
FeatureImpl feat) |
static void |
CASImpl.setFeatureValueFromString(FeatureStructureImplC fs,
FeatureImpl feat,
String s)
Supports setting slots to "0" for null values
|
static void |
CASImpl.setFeatureValueFromStringNoDocAnnotUpdate(FeatureStructureImplC fs,
FeatureImpl feat,
String s)
Internal use, for cases where deserializing - special case setting sofString to skip updating
the document annotation
|
static void |
CASImpl.setFeatureValueMaybeSofa(TOP fs,
FeatureImpl feat,
TOP value)
internal use - special setter for setting feature values, including special handling if the
feature is for the sofaArray, when deserializing
|
void |
CASImpl.setLongValue(FeatureStructureImplC fsIn,
FeatureImpl feat,
long v)
version for longs, uses two slots Only called from FeatureStructureImplC after determining
there is no local field to use Is here because of 3 calls to things in this class
|
void |
CASImpl.setWithJournal(FeatureStructureImplC fs,
FeatureImpl fi,
Runnable setter)
This method called by setters in JCas gen'd classes when the setter must check for journaling
|
Modifier and Type | Field and Description |
---|---|
static FeatureImpl[] |
Constants.EMPTY_FEATURE_ARRAY |
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.