Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
CSVReader class
The Datadog Enterprise plugin is now available for users with a Grafana Cloud account or with a Grafana Enterprise license. For more information and to get started, create a free account or contact our team.
Signature
export declare class CSVReader
Import
import { CSVReader } from '@grafana/data';
Constructors
Properties
Methods
constructor(options)
Constructs a new instance of the CSVReader
class
Signature
constructor(options?: CSVOptions);
Parameters
callback property
Signature
callback?: CSVParseCallbacks;
config property
Signature
config: CSVConfig;
current property
Signature
current: MutableDataFrame;
data property
Signature
data: MutableDataFrame[];
state property
Signature
state: ParseState;
readCSV method
Signature
readCSV(text: string): MutableDataFrame[];
Parameters
Returns:
MutableDataFrame[]