Package com.microsoft.sqlserver.jdbc
Class MaxResultBufferParser
java.lang.Object
com.microsoft.sqlserver.jdbc.MaxResultBufferParser
Parser created to parse String value from Connection String to equivalent number of bytes for JDBC Driver to work on.
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
validateMaxResultBuffer
(String input) Returns number of bytes for maxResultBuffer property
-
Method Details
-
validateMaxResultBuffer
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
-