Interface QueryStats
- 
 public interface QueryStatsThis interface represents cube query statistics
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AccessedTablegetAccessedTable(int i)Returns the accessed tableintgetAccessedTablesCount()Returns the accessed tables countAccessedTablegetAccesseTable(int i)Deprecated.Not used anymore.intgetAEDuration()Returns the Analytical Engine durationsintgetDataSourceType()Returns the data source typejava.util.Optional<java.util.List<java.lang.String>>getDbInstanceNames()Returns the names of all db instancesjava.util.Optional<java.util.List<java.lang.String>>getDbUserNames()Returns the db user names of all db instancesjava.lang.StringgetErrorMessage()Returns the error messagejava.util.DategetFinishTime()Returns the finish timeintgetNumAEPasses()Returns the number of analytical engine passesintgetNumCols()Returns the number of columnsintgetNumRows()Returns the number of rowsintgetNumSQLPasses()Returns the number of SQL passesintgetNumTempTables()Returns the number of temporary tablesintgetOtherDuration()Returns the other actions durationsintgetOtherProcessingDuration()Returns total other processing time.QueryPassgetQueryPass(int i)Returns the query passintgetSqlDuration()Returns the SQL durationjava.util.OptionalIntgetSqlExecutionDuration()Returns the sum of query execution time.java.util.DategetStartTime()Returns the start timeintgetTotalNumPasses()Returns the total number of passes
 
- 
- 
- 
Method Detail- 
getStartTimejava.util.Date getStartTime() Returns the start time- Returns:
- the start time
 
 - 
getFinishTimejava.util.Date getFinishTime() Returns the finish time- Returns:
- the finish time
 
 - 
getSqlDurationint getSqlDuration() Returns the SQL duration- Returns:
- the SQL duration
 
 - 
getAEDurationint getAEDuration() Returns the Analytical Engine durations- Returns:
- the Analytical Engine durations
 
 - 
getOtherDurationint getOtherDuration() Returns the other actions durations- Returns:
- the other actions durations
 
 - 
getNumRowsint getNumRows() Returns the number of rows- Returns:
- the number of rows
 
 - 
getNumColsint getNumCols() Returns the number of columns- Returns:
- the number of columns
 
 - 
getNumTempTablesint getNumTempTables() Returns the number of temporary tables- Returns:
- the number of temporary tables
 
 - 
getTotalNumPassesint getTotalNumPasses() Returns the total number of passes- Returns:
- the total number of passes
 
 - 
getNumSQLPassesint getNumSQLPasses() Returns the number of SQL passes- Returns:
- the number of SQL passes
 
 - 
getNumAEPassesint getNumAEPasses() Returns the number of analytical engine passes- Returns:
- the number of analytical engine passes
 
 - 
getErrorMessagejava.lang.String getErrorMessage() Returns the error message- Returns:
- the error message
 
 - 
getDataSourceTypeint getDataSourceType() Returns the data source type- Returns:
- the data source type
 
 - 
getAccessedTablesCountint getAccessedTablesCount() Returns the accessed tables count- Returns:
- the accessed tables count
 
 - 
getSqlExecutionDurationjava.util.OptionalInt getSqlExecutionDuration() Returns the sum of query execution time. Unit: ms- Returns:
- the sum of query execution time The OptionalInt type is set for backward compatibility. When the user uses an old iServer version, the XML response doesn't contain the corresponding attribute, then the function would return OptionalInt.empty().
 
 - 
getOtherProcessingDurationint getOtherProcessingDuration() Returns total other processing time. Unit: ms- Returns:
- total other processing time
 
 - 
getDbUserNamesjava.util.Optional<java.util.List<java.lang.String>> getDbUserNames() Returns the db user names of all db instances- Returns:
- the db user names of all db instances The Optional type is set for backward compatibility. When the user uses an old iServer version, the XML response doesn't contain the corresponding attribute, then the function would return Optional.empty().
 
 - 
getDbInstanceNamesjava.util.Optional<java.util.List<java.lang.String>> getDbInstanceNames() Returns the names of all db instances- Returns:
- the names all db instances The Optional type is set for backward compatibility. When the user uses an old iServer version, the XML response doesn't contain the corresponding attribute, then the function would return Optional.empty().
 
 - 
getAccesseTableAccessedTable getAccesseTable(int i) Deprecated.Not used anymore. Use#getAccessedTable()to get the accessed table instead.Returns the accessed table- Parameters:
- i- index
- Returns:
- the accessed table
 
 - 
getAccessedTableAccessedTable getAccessedTable(int i) Returns the accessed table- Parameters:
- i- index
- Returns:
- the accessed table
 
 - 
getQueryPassQueryPass getQueryPass(int i) Returns the query pass- Parameters:
- i- index
- Returns:
- the query pass
 
 
- 
 
-