This implementation writes out content furing the hasNext() method. This allows the implementation to "peek" ahead.
This FeatureWriter does not support the addition of new content.
82838485868788899091
// if we are filtering wrap the writer so that it returns only the selected features // but writes down the mall Filter filter = query.getFilter(); if (filter != null && !Filter.INCLUDE.equals(filter)) { writer = new FilteringFeatureWriter(writer, filter); } return writer; }
155156157158159160161162163164165
writer = new EventContentFeatureWriter(this, writer ); } // filtering if (!canFilter()) { if (query.getFilter() != null && query.getFilter() != Filter.INCLUDE) { writer = new FilteringFeatureWriter(writer, query.getFilter()); } } // Use InProcessLockingManager to assert write locks? if (!canLock()) {
319320321322323324325326327
} } //check for post filter and wrap accordingly if ( postFilter != null && postFilter != Filter.INCLUDE ) { writer = new FilteringFeatureWriter( writer, postFilter ); } return writer; }
250251252253254255256257258259
if (getLockingManager() != null) { writer = ((InProcessLockingManager) getLockingManager()).checkedWriter(writer, transaction); } if (filter != Filter.INCLUDE) { writer = new FilteringFeatureWriter(writer, filter); } return writer; }
517518519520521522523524525526527
writer = source.getWriterInternal( state.getGeoWaveTransaction(typeName), filter); if (filter != Filter.INCLUDE) { writer = new FilteringFeatureWriter( writer, filter); } return writer;