public class CASMgrSerializer extends Object implements Serializable
| Modifier and Type | Field and Description | 
|---|---|
| int[] | comparatorIndexFor each index, where the corresponding comparator starts in the  comparatorsfield. | 
| int[] | comparatorsEncodings of the actual comparators. | 
| int[] | featDeclsFeature declarations. | 
| String[] | featureNamesA list of feature names (symbol table). | 
| int[] | featureOffsetsThe offsets for features. | 
| int[] | indexingStrategyFor each index, the indexing strategy of that index. | 
| String[] | indexNamesThe index identifiers. | 
| int[] | nameToIndexMapA mapping from index names to index IDs. | 
| int | sourceSet this appropriately. | 
| static int | SOURCE_JEDI | 
| static int | SOURCE_TAF | 
| int[] | stringSubtypesA list of type codes for the string subtypes. | 
| int[] | stringSubtypeValuePosThe start positions of the string value subarrays of  stringSubtypeValues. | 
| String[] | stringSubtypeValuesThe string values for the string subtypes. | 
| int | topTypeCodeThe internal code of the top type. | 
| int[] | typeInheritanceType inheritance information: for each type other than the top type, we provide the parent in
 the inheritance scheme. | 
| String[] | typeNamesA list of type names (symbol table). | 
| int[] | typeOrder | 
| Constructor and Description | 
|---|
| CASMgrSerializer()Constructor for CASMgrSerializer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addIndexRepository(FSIndexRepositoryImpl ir)Serialize index repository. | 
| void | addTypeSystem(TypeSystemImpl ts) | 
| FSIndexRepositoryImpl | getIndexRepository(CASImpl cas)Deserialize the index specification and type ordering information in this class instance into
 the index repository and cas and type system. | 
| TypeSystemImpl | getTypeSystem() | 
| boolean | hasIndexRepository() | 
public static final int SOURCE_JEDI
public static final int SOURCE_TAF
public int[] typeOrder
public String[] indexNames
public int[] nameToIndexMap
indexNames.length == nameToIndexMap.length and for each i in
 nameToIndexMap, 0 <= i <
 indexTypes.length.public int[] indexingStrategy
SORTED_INDEX,
 SET_INDEX and
 BAG_INDEX.
 indexingStrategy.length == indexTypes.length.public int[] comparatorIndex
comparators field. comparatorIndex.length == indexTypes.length.public int[] comparators
STANDARD_COMPARE and
 REVERSE_STANDARD_COMPARE.public String[] typeNames
1, and we index the names according to their internal code. That
 means that typeNames[0] == null.public String[] featureNames
1, ,
 and we index the names according to their internal code. That means that
 featureNames[0] == null.public int[] typeInheritance
public int[] featDecls
i (which is an integer ≥ 1),
 featDecls[(i-1)*3] is the domain type code, featDecls[(i-1)*3+1] is
 the range type code, and featDecls[(i-1)*3+2] is the multipleReferencesAllowed
 flag (0 or 1).public int topTypeCode
public int[] featureOffsets
public int[] stringSubtypes
public String[] stringSubtypeValues
stringSubtypeValuePos.public int[] stringSubtypeValuePos
stringSubtypeValues.
 stringSubtypeValuePos.length == 
 stringSubtypes.length. For each i < 
 stringSubtypes.length, stringSubtypeValuePos[i] is the start of the string
 values for stringSubtypes[i].public int source
public void addIndexRepository(FSIndexRepositoryImpl ir)
ir - The index repository to be serialized.public void addTypeSystem(TypeSystemImpl ts)
public TypeSystemImpl getTypeSystem()
public FSIndexRepositoryImpl getIndexRepository(CASImpl cas)
cas - -public boolean hasIndexRepository()
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.