protected Collection<String> getParameters(final CreateSpatialIndexStatement statement) {
      final Collection<String> parameters = new ArrayList<String>();
      if (StringUtils.trimToNull(statement.getGeometryType()) != null) {
         final String gType = getGtype(statement.getGeometryType().trim());
         if (gType != null) {
            parameters.add("layer_gtype=" + gType);
         }
      }
      if (StringUtils.trimToNull(statement.getTablespace()) != null) {
         parameters.add("tablespace=" + statement.getTablespace().trim());
      }
      return parameters;
   }
protected Collection < String > getParameters ( final CreateSpatialIndexStatement statement ) { final Collection < String > parameters = new ArrayList < String > ( ) ; if ( StringUtils . trimToNull ( statement . getGeometryType ( ) ) != null ) { final String gType = getGtype ( statement . getGeometryType ( ) . trim ( ) ) ; if ( gType != null ) { parameters . add ( "layer_gtype=" + gType ) ; } } if ( StringUtils . trimToNull ( statement . getTablespace ( ) ) != null ) { parameters . add ( "tablespace=" + statement . getTablespace ( ) . trim ( ) ) ; } return parameters ; }
Creates the parameters to the spatial index creation statement.

@param statement
the statement.
@return the optional parameters for the <code>CREATE INDEX</code> statement.