ensure query modified with typename . this method will make copy of the provided query , using defaultquery , if query.gettypename is not equal to getschema . gettypename . concode_field_sep Logger LOGGER concode_elem_sep QueryCapabilities queryCapabilities concode_elem_sep Set hints concode_field_sep Name getName concode_elem_sep ResourceInfo getInfo concode_elem_sep SimpleFeatureCollection getFeatures concode_elem_sep SimpleFeatureCollection getFeatures concode_elem_sep SimpleFeatureCollection getFeatures concode_elem_sep QueryCapabilities getQueryCapabilities concode_elem_sep Set getSupportedHints concode_elem_sep DataStore getDataStore concode_elem_sep int getCount concode_elem_sep ReferencedEnvelope getBounds concode_elem_sep ReferencedEnvelope getBounds concode_elem_sep Transaction getTransaction
Query function ( Query arg0 ) { String loc0 = getSchema ( ) . getTypeName ( ) ; if ( arg0 . getTypeName ( ) == null || ! arg0 . getTypeName ( ) . equals ( loc0 ) ) { return new DefaultQuery ( loc0 , arg0 . getFilter ( ) , arg0 . getMaxFeatures ( ) , arg0 . getPropertyNames ( ) , arg0 . getHandle ( ) ) ; } return arg0 ; }