Package com.aceql.jdbc.commons
Class LimitsInfo
java.lang.Object
com.aceql.jdbc.commons.LimitsInfo
public class LimitsInfo extends Object
A simple shortcut class that contains main remote database limits info:
- maxRows: the maximum number of SQL rows that may be returned to the client by the AceQL server.
- maxBlobLength: the maximum length allowed for a Blob upload.
- Since:
- 9.3
- Author:
- Nicolas de Pomereu
-
Constructor Summary
Constructors Constructor Description LimitsInfo(com.aceql.jdbc.commons.main.metadata.dto.LimitsInfoDto limitsInfoDto)
Constructor. -
Method Summary
Modifier and Type Method Description long
getMaxBlobLength()
Gets the maximum length allowed for a Blob upload.long
getMaxRows()
Gets the maximum number of SQL rows that may be returned to the client by the AceQL server.String
toString()
-
Constructor Details
-
LimitsInfo
public LimitsInfo(com.aceql.jdbc.commons.main.metadata.dto.LimitsInfoDto limitsInfoDto)Constructor.- Parameters:
limitsInfoDto
- the Limits DTO
-
-
Method Details
-
getMaxRows
public long getMaxRows()Gets the maximum number of SQL rows that may be returned to the client by the AceQL server.- Returns:
- the maximum number of SQL rows that may be returned to the client by the AceQL server.
-
getMaxBlobLength
public long getMaxBlobLength()Gets the maximum length allowed for a Blob upload.- Returns:
- the maximum length allowed for a Blob upload.
-
toString
-