@Test public void removeSchema() throws Exception { File file = temporaryFolder.newFile("points.pbf"); Map<String, Serializable> params = new HashMap<>(); params.put("file", file); DataStore store = DataStoreFinder.getDataStore(params); assertTrue(file.exists()); store.removeSchema("points"); assertFalse(file.exists()); }
@Override public void removeSchema(Name typeName) throws IOException { this.removeSchema(typeName.getLocalPart()); }
GeobufDataStore extends ContentDataStore { @Override public void removeSchema(Name typeName) throws IOException { this.removeSchema(typeName.getLocalPart()); } }
GeobufDataStore extends ContentDataStore { @Override public void removeSchema(Name typeName) throws IOException { this.removeSchema(typeName.getLocalPart()); } GeobufDataStore(File file, int precision, int dimension); }
GeobufDataStore extends ContentDataStore { @Override public void removeSchema(Name typeName) throws IOException { this.removeSchema(typeName.getLocalPart()); } GeobufDataStore(File file, int precision, int dimension); @Override void createSchema(SimpleFeatureType featureType); @Override void removeSchema(Name typeName); @Override void removeSchema(String typeName); }
GeobufDataStore extends ContentDataStore { @Override public void removeSchema(Name typeName) throws IOException { this.removeSchema(typeName.getLocalPart()); } GeobufDataStore(File file, int precision, int dimension); @Override void createSchema(SimpleFeatureType featureType); @Override void removeSchema(Name typeName); @Override void removeSchema(String typeName);  }