Click or drag to resize

Kratos_3.Network Namespace

Query-related classes including DataFrames and classes for communicating with FactSet servers
Classes
  ClassDescription
Public classBaseDataFrame
DataFrame for messages that contain only column names and data in some csv-like format
Public classBaseDataItem
Object representing a single row in a datatable
Public classDataFrame
Object for processing and parsing data returned from OnDemand servers. Parses data formatted for a factlet and provides accessors to get that data. Stores the parsed results. Stores any warnings or errors that occurred during data retrieval, as well Can index by columns - for example, if "Id" is being used as an indexing string, then if a column named Id is present in the results, the DataFrame will categorize each row by what Id it belongs to, and data can be retrieved by Id by using the getColumnForIndex functions For example, if there are 5 rows with IBM as the Id, 5 rows with AAPL, and 5 rows with FDS, calling GetIndices on the dataframe will return {"IBM","AAPL","FDS"} Calling getColumnForIndexAsDouble("IBM", 2) will return all data points in column 2 that have "IBM" as their ID as Doubles
Public classDataFrameSummaryBuilder
Builds a summary description string of the data frame it belongs to. Store information related to the request - number of ids, number of items, etc.
Public classDataItem
Object representing a single row in a datatable
Public classDataRequest
Represents the data request that will be made to FactSet servers as it is being constructed. Holds the different parameters and values that will be used.
Public classDFSnapshotDataFrame
Data frame for holding reseults from DFSnapshot queries. Has some different parsing behavior than BaseDataFrame
Public classDocsOnDemandDataItem
Data Item for DocsOnDemand calls.
Public classFactlet
Class that represents the outgoing network request for an OnDemand Factlet
Public classKratosWebClient
Public classNetworkDataFetch
Object for accessing factset data via Internet
Public classNoParseDataFrame
Represents a dataframe that does not require parsing, only error checking
Public classUnknownTypeDataItem
Public classCode exampleUploadFactlet
Factlet for uploading data into an OFDB. This object should be initialized, then data should be added to it, then it should be executed.
Examples
UploadFactlet f = new UploadFactlet("MyOFDB", new string[] {"Id", "Date", "custom_data"}, new string[] "String","String","Double"});
string[] dates = new string[] {"01/01/2014","02/01/2014","03/01/2014"};
double[] ibmData = new double[] { 5, 10, 15 };
double[] fdsData = new double[] {10, 20, 30 };
for(int i = 0; i < dates.length; i++) {
    f.addDataPoint("ibm");
    f.addDataPoint(dates[i]);
    f.addDataPoint(ibmData[i]);
}
for(int i = 0; i < dates.length; i++) {
    f.addDataPoint("fds");
    f.addDataPoint(dates[i]);
    f.addDataPoint(fdsData[i]);
}
f.execute();
Public classXmlDataFrame
DataFrame for parsing query results that are returned in a dataframe format
Enumerations
  EnumerationDescription
Public enumerationDataFramedataTypes
Types of data returned by OnDemand servers