Package org.gdbms.engine.data.metadata

Examples of org.gdbms.engine.data.metadata.SpatialDriverMetadata


    }
   
    private void testHasSpatialField(String dsName) throws Exception {
        SpatialDataSource sds = (SpatialDataSource) ds.getDataSource(dsName);
        sds.start();
        SpatialDriverMetadata sdm = (SpatialDriverMetadata) sds.getDriverMetadata();
        boolean has = false;
        for (int i = 0; i < sdm.getFieldCount(); i++) {
            if (sdm.getFieldType(i).equals(PTTypes.STR_GEOMETRY)) {
                has = true;
                break;
            }
        }
       
View Full Code Here

TOP

Related Classes of org.gdbms.engine.data.metadata.SpatialDriverMetadata

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.