public class ComponentInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Indexable |
component |
protected FieldIDMapper |
fieldIDMap |
protected ISIDMapper |
ISIDMap |
protected RecordDescriptor |
rDesc |
Constructor and Description |
---|
ComponentInfo(Indexable cds,
FieldIDMapper fidmap,
ISIDMapper isidmap)
Construct a ComponentInfo from DataCollection, FieldIDMapper
and ISIDMapper.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(IndexSpaceID isid)
If this component contains the given IndexSpaceID, returns true
|
boolean |
equals(ComponentInfo comp2) |
Indexable |
getComponent() |
FieldIDMapper |
getFieldIDMap() |
ISIDMapper |
getISIDMap() |
RecordDescriptor |
getRecordDescriptor()
return the current recordDescriptor for this componentInfo
|
void |
rename(java.lang.String[] names)
rename all (or part of) the attributes by giving an array of names
|
void |
setAttributeName(int index,
java.lang.String name)
rename an attribute at position given by index
|
protected Indexable component
protected FieldIDMapper fieldIDMap
protected ISIDMapper ISIDMap
protected RecordDescriptor rDesc
public ComponentInfo(Indexable cds, FieldIDMapper fidmap, ISIDMapper isidmap)
cds
- -- DataSource or DataBlock to be used as Componentfidmap
- -- Map fields from component to composite; null is ok
and implies an identity mappingisidmap
- -- Map index spaces. null is ok and implies identity.public Indexable getComponent()
public FieldIDMapper getFieldIDMap()
public ISIDMapper getISIDMap()
public boolean equals(ComponentInfo comp2)
public void setAttributeName(int index, java.lang.String name)
public void rename(java.lang.String[] names)
public RecordDescriptor getRecordDescriptor()
public boolean contains(IndexSpaceID isid)