|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.timeindexing.index.AbstractIndex
com.timeindexing.index.AbstractManagedIndex
com.timeindexing.index.FileIndex
com.timeindexing.index.ExternalIndex
An implementation of an external Index object. It represents the index header, the index stream and the data stream.
Constructor Summary | |
ExternalIndex()
Create an ExternalIndex |
Method Summary | |
protected void |
checkCreateProperties(java.util.Properties indexProperties)
Check that all the properties needed to create are passed in. |
protected void |
checkOpenProperties(java.util.Properties indexProperties)
Check that all the properties needed to open are passed in. |
boolean |
create(java.util.Properties properties)
Called when an ExternalIndex needs to be created. |
protected void |
init()
Initialize the object. |
boolean |
open(java.util.Properties properties)
Called when an ExternalIndex needs to be opend. |
Methods inherited from class com.timeindexing.index.FileIndex |
activate, addItem, addItem, addReference, addReference, addReference, commit, generateURI, getFirstOffset, getHeaderPathName, getItem, getLastFlushPosition, getLastFlushTime, getLastOffset, isWriteLocked, readData, reallyClose, retrieveItem, writeItem |
Methods inherited from class com.timeindexing.index.AbstractManagedIndex |
addIndexURI, asView, close, getAllOptions, getHeader, getIndexURI, getOption, getTrackedIndex, hasIndexURI, hasOption, isOpen, isTrackingIndex, listOptions, listTrackedIndexes, notInTimeOrder, setDataPathName, setDataSize, setDescription, setEndTime, setFirstDataTime, setFirstOffset, setFirstTime, setID, setIndexDataType, setIndexPathName, setIndexType, setItemSize, setLastDataTime, setLastOffset, setLastTime, setLength, setName, setOption, setOptions, setReadOnly, setStartTime, setTerminated, setURI, syncHeader, trackReferencedIndex |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.timeindexing.index.ManagedIndex |
addReference, getHeader, getTrackedIndex, isTrackingIndex, listTrackedIndexes, reallyClose, trackReferencedIndex |
Methods inherited from interface com.timeindexing.index.ExtendedIndex |
getFirstOffset, getIndexType, getLastFlushPosition, getLastFlushTime, getLastOffset |
Methods inherited from interface com.timeindexing.index.Index |
activate, addDataType, addItem, addItem, addReference, addReference, asView, close, commit, contains, getAnnotationStyle, getDataType, getItem, getItem, getItem, getItemSize, getLastAccessTime, hasAnnotations, hasDataType, isActivated, isChanged, isClosed, isWriteLocked, iterator, locate, locate, setAutoCommit, setCachePolicy, terminate, updateDescription |
Methods inherited from interface com.timeindexing.index.IndexHeader |
getDataPathName, getDataSize, getDescription, getEndTime, getFirstDataTime, getFirstTime, getID, getIndexDataType, getIndexPathName, getLastDataTime, getLastTime, getLength, getName, getStartTime, getURI, isFixedSizeData, isInTimeOrder, isReadOnly, isTerminated |
Methods inherited from interface com.timeindexing.index.ExtendedIndexHeader |
addDataType, addIndexURI, getAnnotationStyle, getDataSize, getDataType, getIndexURI, getItemSize, hasAnnotations, hasDataType, hasIndexURI |
Methods inherited from interface com.timeindexing.index.ManagedIndexHeader |
addIndexURI, getAllOptions, getIndexURI, getOption, hasIndexURI, hasOption, listOptions, notInTimeOrder, setDataPathName, setDataSize, setDescription, setEndTime, setFirstDataTime, setFirstOffset, setFirstTime, setID, setIndexDataType, setIndexPathName, setIndexType, setItemSize, setLastDataTime, setLastOffset, setLastTime, setLength, setName, setOption, setOptions, setReadOnly, setStartTime, setTerminated, setURI, syncHeader |
Methods inherited from interface com.timeindexing.event.IndexEventGenerator |
addAccessEventListener, addAddEventListener, addPrimaryEventListener, removeAccessEventListener, removeAddEventListener, removePrimaryEventListener |
Constructor Detail |
public ExternalIndex() throws IndexSpecificationException
Method Detail |
protected void init()
public boolean open(java.util.Properties properties) throws IndexSpecificationException, IndexOpenException
open
in interface ManagedIndex
IndexSpecificationException
IndexOpenException
public boolean create(java.util.Properties properties) throws IndexSpecificationException, IndexCreateException
create
in interface ManagedIndex
IndexSpecificationException
IndexCreateException
protected void checkOpenProperties(java.util.Properties indexProperties) throws IndexSpecificationException
IndexSpecificationException
protected void checkCreateProperties(java.util.Properties indexProperties) throws IndexSpecificationException
IndexSpecificationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |