Class DataExportResult

java.lang.Object
org.netxms.client.datacollection.DataExportResult

public class DataExportResult extends Object
Downloaded file of completed DCI history export together with export statistics
  • Constructor Details

    • DataExportResult

      public DataExportResult(NXCPMessage msg, File file)
      Create result from server response and received file
      Parameters:
      msg - server response
      file - received file
  • Method Details

    • getFile

      public File getFile()
      Returns:
      received file (local temporary file)
    • getMetricCount

      public int getMetricCount()
      Returns:
      number of exported metrics
    • getSampleCount

      public long getSampleCount()
      Returns:
      number of exported sample rows
    • getFileSize

      public long getFileSize()
      Returns:
      size of downloaded file in bytes