Class MaxResultBufferParser


  • public class MaxResultBufferParser
    extends Object
    Parser created to parse String value from Connection String to equivalent number of bytes for JDBC Driver to work on.
    • Method Detail

      • validateMaxResultBuffer

        public static long validateMaxResultBuffer​(String input)
                                            throws SQLServerException
        Returns number of bytes for maxResultBuffer property
        Parameters:
        input - String value for maxResultProperty provided in Connection String
        Returns:
        'maxResultBuffer' property as number of bytes
        Throws:
        SQLServerException - Is Thrown when maxResultProperty's syntax is wrong