001/* 002// This software is subject to the terms of the Eclipse Public License v1.0 003// Agreement, available at the following URL: 004// http://www.eclipse.org/legal/epl-v10.html. 005// You must accept the terms of that agreement to use this software. 006// 007// Copyright (C) 2011-2011 Pentaho 008// All Rights Reserved. 009*/ 010package mondrian.server.monitor; 011 012/** 013 * Information about an SQL statement submitted by Mondrian to a back-end 014 * database. 015 * 016 * @see StatementInfo 017 */ 018public class SqlStatementInfo extends Info { 019 public final long sqlStatementId; 020 public final String sql; 021 022 public SqlStatementInfo( 023 String stack, 024 long sqlStatementId, 025 String sql) 026 { 027 super(stack); 028 this.sqlStatementId = sqlStatementId; 029 this.sql = sql; 030 } 031} 032 033// End SqlStatementInfo.java