Package org.geotools.data.store

Examples of org.geotools.data.store.ContentDataStore


            try {
                DataAccess<?,?> dataStore = catalog.getResourcePool().getDataStore( ds );
                if( dataStore instanceof ContentDataStore ){
                    // ask JDBC DataStore to forget cached column information
                    Name name = ft.getQualifiedNativeName();
                    ContentDataStore contentDataStore = (ContentDataStore) dataStore;
                    ContentFeatureSource featureSource = contentDataStore.getFeatureSource(name,Transaction.AUTO_COMMIT);
                    featureSource.getState().flush();
                    flush = true;
                }
            } catch( Exception e ) {
                LOGGER.warning( "Unable to flush '" + ft.getQualifiedNativeName() );
View Full Code Here

TOP

Related Classes of org.geotools.data.store.ContentDataStore

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.