question: protected static List < AvaticaParameter > parameters ( ParameterMetaData metaData ) throws SQLException { if ( metaData == null ) { return Collections . emptyList ( ) ; } final List < AvaticaParameter > params = new ArrayList < > ( ) ; for ( int i = 1 ; i <= metaData . getParameterCount ( ) ; i ++ ) { params . add ( new AvaticaParameter ( metaData . isSigned ( i ) , metaData . getPrecision ( i ) , metaData . getScale ( i ) , metaData . getParameterType ( i ) , metaData . getParameterTypeName ( i ) , metaData . getParameterClassName ( i ) , "?" + i ) ) ; } return params ; }
target:  Converts from JDBC metadata to Avatica parameters