|
||||||||||
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.InlineIndex
An implementation of an inline Index object. It represents the index header, the index stream and the data stream.
Constructor Summary | |
InlineIndex()
Create an InlineIndex |
|
InlineIndex(java.lang.String name,
java.lang.String indexPath)
Create an InlineIndex |
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 InlineIndex needs to be created. |
protected void |
init()
Initialize the object. |
boolean |
open(java.util.Properties properties)
Called when an InlineIndex needs to be opend. |
Methods inherited from class com.timeindexing.index.FileIndex |
activate, addItem, addItem, addReference, addReference, addReference, flush, 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, contains, flush, getAnnotationStyle, getDataType, getItem, getItem, getItem, getItemSize, getLastAccessTime, hasAnnotations, hasDataType, isActivated, isChanged, isClosed, isWriteLocked, iterator, locate, 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 InlineIndex()
public InlineIndex(java.lang.String name, java.lang.String indexPath)
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 |