Package org.openstreetmap.osmosis.core.store

Interface Summary
IndexElement<K> Defines the methods to be implemented by data classes stored within an index.
ObjectReader Implementations provide functionality to deserialise a Storeable implementation from a store.
ObjectSerializationFactory Implementations of this factory provide methods for creating object readers and writers for storing and loading objects from data stores.
ObjectWriter Implementations provide functionality to serialise a Storeable implementation to a store.
Storeable This interface defines the methods supporting custom serialisation.
StoreClassRegister Writes class identifiers to a store allowing the class to be identified when the store data is being read back again.
StoreReader Implementations of this interface are used by Storeable classes to load their state.
StoreWriter Implementations of this interface are used by Storeable classes to persist their state.
 

Class Summary
BaseObjectReader Provides functionality common to all object reader implementations.
BaseObjectWriter Provides functionality common to all object writer implementations.
BaseStoreClassRegister Provides common functionality to store class register implementations.
BufferedRandomAccessFileInputStream Wraps a random access file adding buffered input stream capabilities.
ChunkedObjectStore<T extends Storeable> Adds indexed chunking capabilities to a basic object store allowing groups of objects to be written and retrieved later by their chunk index.
ComparableComparator<T extends Comparable<T>> A simple utility class for providing comparator functionality for class types that are directly comparable.
DataInputStoreReader Allows persisted input to be read from a DataInput implementation.
DataOutputStoreWriter Allows persisted output to be written to a DataOutput implementation.
DataPostbox<T> This class provides a mechanism for a thread to pass data to another thread.
DynamicStoreClassRegister This store class register dynamically allocates identifiers for classes as they are encountered while writing to the store.
EmptyIterator<DataType> Provides an iterator which returns no data.
GenericObjectReader Provides functionality to deserialise a Storeable implementation from a store.
GenericObjectSerializationFactory An object reader and writer factory providing generic object serialisation capabilities capable of storing and loading any Storeable class implementations.
GenericObjectWriter Provides functionality to serialise a Storeable implementation to a store.
IndexedObjectStore<T extends Storeable> Provides a store for objects that can be located by a long identifier.
IndexedObjectStoreReader<T> Provides read-only access to an indexed object store.
IndexRangeIterator<K,T extends IndexElement<K>> Iterates over specific range within an index source.
IndexStore<K,T extends IndexElement<K>> Writes data into an index file and sorts it if input data is unordered.
IndexStoreReader<K,T extends IndexElement<K>> Provides read-only access to an index store.
IntegerLongIndexElement A single index element for an int-long index.
LongLongIndexElement A single index element for a long-long index.
MultipleSourceIterator<T> Allows the contents of several iterators to be combined into a single iterator.
ObjectDataInputIterator<T> Provides functionality common to all object iterators.
ObjectStreamIterator<T> This class reads objects from an ObjectInputStream until the end of stream is reached.
OffsetTrackingOutputStream Tracks the number of bytes written so far to the stream.
PeekableIterator<T> Wraps a releasable iterator and adds the ability to peek at the next value without moving to the next record.
PersistentIterator<T extends Storeable> Wraps an underlying iterator implementation so that all data is read from the underlying reader and written to a temporary file before being returned.
RandomAccessObjectStore<T extends Storeable> Provides a store for writing objects to a file for later retrieval.
RandomAccessObjectStoreReader<T> Provides read-only access to a random access object store.
ReleasableAdaptorForIterator<T> Simple wrapper around a standard iterator to allow it to be used as a releasable iterator.
SegmentedObjectStore<T extends Storeable> Provides a store for writing objects to a file for later retrieval.
SimpleObjectStore<T extends Storeable> Provides a store for writing objects to a file for later retrieval.
SingleClassObjectReader Provides object reading functionality where only a single class type will be loaded.
SingleClassObjectSerializationFactory An object reader and writer factory providing object serialisation capabilities where only a single class type will be stored.
SingleClassObjectWriter Provides object writing functionality where only a single class type will be stored.
StaticStoreClassRegister This store class register dynamically allocates identifiers for classes as they are encountered while writing to the store.
StoreableConstructorCache Provides a cache mapping between classes and storeable constructors.
StoreReleasingIterator<DataType> This class allows an underlying store to be released along with the iterator accessing it.
SubObjectStreamIterator<T extends Storeable> This class reads objects from an ObjectInputStream until the end of stream is reached or a maximum number of objects is reached.
UnsignedIntegerComparator Compares two Integers as unsigned values.
UpcastIterator<X,Y extends X> A simple pass-through iterator that changes an object from a specific class type to a more general class type.
 

Enum Summary
StorageStage Each class used for managing storage has a lifecycle.
 

Exception Summary
EndOfStoreException A runtime exception indicating that the end of the store has been reached while reading.
NoSuchIndexElementException A runtime exception indicating that the requested index value does not exist.