@Override protected FeatureWriter<SimpleFeatureType, SimpleFeature> getWriterInternal(Query query, int flags) throws IOException { return new MemoryFeatureWriterWithProvidedFIDSupport(getState(), query); }
/** * Opposite of {@link #resumeTransaction}, shorthand for {@link #setTransaction * setTransaction(null)} */ public TestData exitFromTransaction() { setTransaction(null); return this; }
protected Platform createPlatform() { Platform testPlatform = new TestPlatform(repositoryDirectory); return testPlatform; }
@Override public TestPlatform clone() { return new TestPlatform(pwd(), getUserHome()); }
public TestData commit(String commitMessage) { return commit(commitMessage, false); }
public static MemoryDataStore newMemoryDataStore() { return new MemoryDataStoreWithProvidedFIDSupport(); }
public TestData init() { return init("John Doe", "JohnDoe@example.com"); }
public Map<String, SimpleFeature> getFeatures(@NonNull String rootTreeIsh) { return getFeatures(rootTreeIsh, null); }
@Override public TestPlatform clone() { return new TestPlatform(pwd(), getUserHome()); }
protected Platform createPlatform() { Platform testPlatform = new TestPlatform(repositoryDirectory); return testPlatform; }
public TestData commitAllowEmpty(String message) { return commit(message, true); }
public static MemoryDataStore newMemoryDataStore() { return new MemoryDataStoreWithProvidedFIDSupport(); }
public TestData init() { return init("John Doe", "JohnDoe@example.com"); }
@Override protected FeatureWriter<SimpleFeatureType, SimpleFeature> getWriterInternal(Query query, int flags) throws IOException { return new MemoryFeatureWriterWithProvidedFIDSupport(getState(), query); }
public TestData commit(String commitMessage) { return commit(commitMessage, false); }
public TestData commitAllowEmpty(String message) { return commit(message, true); }