Package org.geotools.data.geojson.store
Class GeoJSONDataStore
Object
ContentDataStore
GeoJSONDataStore
- All Implemented Interfaces:
- DataAccess<SimpleFeatureType,,- SimpleFeature> - DataStore,- FileDataStore
- 
Field SummaryFields inherited from class ContentDataStoredataStoreFactory, entries, featureFactory, filterFactory, geometryFactory, JOINED_FEATURE_TYPE, lockingManager, LOGGER, namespaceURI, typeFactory, WRITER_ADD, WRITER_COMMIT, WRITER_UPDATE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected ContentFeatureSourcecreateFeatureSource(ContentEntry entry) Instantiates new feature source for the entry.voidcreateSchema(SimpleFeatureType featureType) Creates a new schema in the datastore.Creates a set of qualified names corresponding to the types that the datastore provides.getBbox()getCrs()protected SimpleFeatureTypegetFeatureWriter(Transaction transaction) getFeatureWriter(Filter filter, Transaction transaction) getFeatureWriterAppend(Transaction transaction) FeatureType for the file being read.getUrl()booleanisQuick()booleanvoidsetBbox(ReferencedEnvelope bbox) voidvoidsetQuickSchema(boolean booleanValue) voidvoidsetWriteBounds(boolean booleanValue) voidupdateSchema(SimpleFeatureType featureType) Methods inherited from class ContentDataStorecreateContentState, dispose, ensureEntry, ensureFeatureStore, entry, getDataStoreFactory, getEntry, getFeatureFactory, getFeatureReader, getFeatureSource, getFeatureSource, getFeatureSource, getFeatureSource, getFeatureTypeFactory, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getFilterFactory, getGeometryFactory, getInfo, getLockingManager, getLogger, getNames, getNamespaceURI, getSchema, getSchema, getTypeNames, name, removeEntry, removeSchema, removeSchema, setDataStoreFactory, setFeatureFactory, setFeatureTypeFactory, setFilterFactory, setGeometryFactory, setNamespaceURI, updateSchema, updateSchemaMethods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DataAccessdispose, getInfo, getNames, getSchema, removeSchema, updateSchemaMethods inherited from interface DataStoregetFeatureReader, getFeatureSource, getFeatureSource, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getLockingManager, getSchema, getTypeNames, removeSchema, updateSchema
- 
Constructor Details- 
GeoJSONDataStore
- 
GeoJSONDataStore
 
- 
- 
Method Details- 
createFeatureSourceDescription copied from class:ContentDataStoreInstantiates new feature source for the entry.Subclasses should override this method to return a specific subclass of ContentFeatureSource.- Specified by:
- createFeatureSourcein class- ContentDataStore
- Parameters:
- entry- The entry.
- Returns:
- An new instance of ContentFeatureSourcefor the entry.
- Throws:
- IOException
 
- 
createTypeNamesDescription copied from class:ContentDataStoreCreates a set of qualified names corresponding to the types that the datastore provides.Namespaces may be left nullfor data stores which do not support namespace qualified type names.- Specified by:
- createTypeNamesin class- ContentDataStore
- Returns:
- A list of Name.
- Throws:
- IOException- Any errors occuring connecting to data.
 
- 
createSchemaDescription copied from class:ContentDataStoreCreates a new schema in the datastore.This implementation throws a UnsupportedOperationException. Subclasses should override to support schema creation.- Specified by:
- createSchemain interface- DataAccess<SimpleFeatureType,- SimpleFeature> 
- Overrides:
- createSchemain class- ContentDataStore
- Parameters:
- featureType- FetureType to add to DataStore
- Throws:
- IOException- If featureType cannot be created
- See Also:
 
- 
getSchemaDescription copied from interface:FileDataStoreFeatureType for the file being read.This is the same as getSchema( getTypeName[0] ) - Specified by:
- getSchemain interface- FileDataStore
- Returns:
- FeatureType of the file being read
- Throws:
- IOException
- See Also:
 
- 
getCurrentSchema- Throws:
- IOException
 
- 
updateSchema- Specified by:
- updateSchemain interface- FileDataStore
- Throws:
- IOException
- See Also:
 
- 
getCrs- Returns:
- the crs
 
- 
setCrs- Parameters:
- crs- the crs to set
 
- 
getUrl
- 
setUrl
- 
getFeatureSource- Specified by:
- getFeatureSourcein interface- FileDataStore
- Throws:
- IOException
- See Also:
 
- 
getFeatureReader- Specified by:
- getFeatureReaderin interface- FileDataStore
- Throws:
- IOException
- See Also:
 
- 
getFeatureWriterpublic FeatureWriter<SimpleFeatureType,SimpleFeature> getFeatureWriter(Filter filter, Transaction transaction) throws IOException - Specified by:
- getFeatureWriterin interface- FileDataStore
- Throws:
- IOException
- See Also:
 
- 
getFeatureWriterpublic FeatureWriter<SimpleFeatureType,SimpleFeature> getFeatureWriter(Transaction transaction) throws IOException - Specified by:
- getFeatureWriterin interface- FileDataStore
- Throws:
- IOException
- See Also:
 
- 
getFeatureWriterAppendpublic FeatureWriter<SimpleFeatureType,SimpleFeature> getFeatureWriterAppend(Transaction transaction) throws IOException - Specified by:
- getFeatureWriterAppendin interface- FileDataStore
- Throws:
- IOException
- See Also:
 
- 
getTypeName
- 
setWriteBoundspublic void setWriteBounds(boolean booleanValue) - Parameters:
- booleanValue-
 
- 
isWriteBoundspublic boolean isWriteBounds()- Returns:
- the writeBounds
 
- 
setQuickSchemapublic void setQuickSchema(boolean booleanValue) - Parameters:
- booleanValue-
 
- 
isQuickpublic boolean isQuick()- Returns:
- the quick
 
- 
getBbox
- 
setBbox
 
-