|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unh.sdb.datasource.ComponentInfo
public class ComponentInfo
This class records information about a component DataSource of a AttributeJoinDataSource or BlockedDataSource.
Field Summary | |
---|---|
protected Indexable |
component
|
protected FieldIDMapper |
fieldIDMap
|
protected ISIDMapper |
ISIDMap
|
protected RecordDescriptor |
rDesc
|
Constructor Summary | |
---|---|
ComponentInfo(Indexable cds,
FieldIDMapper fidmap,
ISIDMapper isidmap)
Construct a ComponentInfo from DataCollection, FieldIDMapper and ISIDMapper. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Indexable component
protected FieldIDMapper fieldIDMap
protected ISIDMapper ISIDMap
protected RecordDescriptor rDesc
Constructor Detail |
---|
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.Method Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |