public static HSQLInterface . ParameterStateManager getParamStateManager ( ) { return new ParameterStateManager ( ) { @ Override public int getNextParamIndex ( ) { return ParameterizationInfo . getNextParamIndex ( ) ; } @ Override public void resetCurrentParamIndex ( ) { ParameterizationInfo . resetCurrentParamIndex ( ) ; } } ; }
This method produces a ParameterStateManager to pass to HSQL so that VoltDB can track the parameters it created when parsing the current statement .