List of usage examples for java.sql Connection getClientInfo
String getClientInfo(String name) throws SQLException;
From source file:org.apache.phoenix.trace.TraceReader.java
public TraceReader(Connection conn, String statsTableName) throws SQLException { this.conn = conn; this.table = statsTableName; String ps = conn.getClientInfo(QueryServices.TRACING_PAGE_SIZE_ATTRIB); this.pageSize = ps == null ? QueryServicesOptions.DEFAULT_TRACING_PAGE_SIZE : Integer.parseInt(ps); }