Method Summary |
|
protected ContentState | createContentState(ContentEntry entry) Instantiates a new conent state for the entry.
Subclasses may override this method to return a specific subclass of
ContentState .
Parameters: entry - The entry. |
abstract protected ContentFeatureSource | createFeatureSource(ContentEntry entry) Instantiates new feature source for the entry.
Subclasses should override this method to return a specific subclass of
ContentFeatureSource .
Parameters: entry - The entry. |
public void | createSchema(FeatureType featureType) The default implementation of this method throws a
UnsupportedOperationException , subclasses should implement to
support schema creation. |
abstract protected List | createTypeNames() Creates a set of qualified names corresponding to the types that the
datastore provides. |
final protected ContentEntry | ensureEntry(TypeName name) Helper method to look up an entry in the datastore which throws an
IOException in the event that the entry does not exist.
Parameters: name - The name of the entry. |
final protected ContentEntry | entry(TypeName name) Helper method to look up an entry in the datastore.
This method will create a new instance of
ContentEntry if one
does not exist.
In the event that the name does not map to an entry
and one cannot be created null will be returned. |
public SimpleFeatureFactory | getFeatureFactory() |
final public FeatureReader | getFeatureReader(Query query, Transaction transaction) Delegates to
ContentDataStore.query(Query,Transaction) and wraps the result in
a
DelegateFeatureReader . |
final public FeatureSource | getFeatureSource(String typeName) Delegates to
ContentDataStore.getFeatureSource(TypeName,Transaction) . |
final public FeatureSource | getFeatureSource(TypeName typeName, Transaction tx) Returns a feature source for a feature type and transaction.
The resulting feature source is cached in the state of the entry for
the type.
Parameters: typeName - The entry name. Parameters: tx - A transaction. |
final public FeatureWriter | getFeatureWriter(String typeName, Filter filter, Transaction transaction) |
final public FeatureWriter | getFeatureWriter(String typeName, Transaction transaction) |
final public FeatureWriter | getFeatureWriterAppend(String typeName, Transaction transaction) |
public FilterFactory | getFilterFactory() |
public GeometryFactory | getGeometryFactory() |
final public LockingManager | getLockingManager() |
public Logger | getLogger() Returns the logger for the datastore.
Subclasses should override to provide a differnt logging instance. |
public String | getNamespaceURI() |
final public FeatureType | getSchema(String typeName) |
public SimpleTypeFactory | getTypeFactory() |
final public String[] | getTypeNames() This method delegates to
ContentDataStore.createTypeNames() . |
final public FeatureSource | getView(Query query) |
final protected TypeName | name(String typeName) Helper method to wrap a non-qualified name. |
final protected FeatureCollection | query(Query query, Transaction transaction) Helper method for returning the feature collection for a
query / transaction pair. |
public void | setFeatureFactory(SimpleFeatureFactory featureFactory) |
public void | setFilterFactory(FilterFactory filterFactory) |
public void | setGeometryFactory(GeometryFactory geometryFactory) |
public void | setNamespaceURI(String namespaceURI) |
public void | setTypeFactory(SimpleTypeFactory typeFactory) |
final public void | updateSchema(String typeName, FeatureType featureType) |