|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An extendedindex header. This is the interface to an index header whic has extra attributes.
Method Summary | |
boolean |
addDataType(ID typeID,
java.lang.String typeName)
Add a new data type |
boolean |
addIndexURI(ID indexID,
java.net.URI URIName)
Add a new indexID/indexURI |
int |
getAnnotationStyle()
Get the annotation style. |
long |
getDataSize()
Get the size of the data items, if there is fixed size data. |
java.lang.String |
getDataType(ID typeID)
Get the type name of the things in the data stream. |
Offset |
getFirstOffset()
Get the Offset of the fisrt item. |
java.net.URI |
getIndexURI(ID indexID)
Get the index URI of a nominated index. |
int |
getItemSize()
Get the size of the index items. |
Offset |
getLastOffset()
Get the Offset of the last item. |
boolean |
hasAnnotations()
Does this index have annotations. |
boolean |
hasDataType(java.lang.String typeName)
Does this index have a typed name. |
boolean |
hasIndexURI(java.net.URI URIName)
Does this index have the URI of some other index |
Methods inherited from interface com.timeindexing.index.IndexHeader |
getDataPathName, getDescription, getEndTime, getFirstDataTime, getFirstTime, getID, getIndexDataType, getIndexPathName, getIndexType, getLastDataTime, getLastTime, getLength, getName, getStartTime, getURI, isFixedSizeData, isInTimeOrder, isReadOnly, isTerminated |
Method Detail |
public int getItemSize()
public long getDataSize()
getDataSize
in interface IndexHeader
public java.lang.String getDataType(ID typeID)
public boolean hasDataType(java.lang.String typeName)
public boolean addDataType(ID typeID, java.lang.String typeName)
public boolean hasAnnotations()
public int getAnnotationStyle()
public java.net.URI getIndexURI(ID indexID)
public boolean hasIndexURI(java.net.URI URIName)
public boolean addIndexURI(ID indexID, java.net.URI URIName)
public Offset getFirstOffset()
public Offset getLastOffset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |