UploadFactlet Class |
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();
Namespace: Kratos_3.Network
The UploadFactlet type exposes the following members.
Name | Description | |
---|---|---|
![]() | UploadFactlet |
Set up the factlet.
The first column has to be Id and the second column has to be Date
|
Name | Description | |
---|---|---|
![]() | addDataPoint(Double) |
Add a single datapoint. Datapoints are added to the datatable left to right, top to bottom.
Correct data type isn't checked until the upload is initiated.
Uses the ToString method in doubles to convert the data to string format
|
![]() | addDataPoint(String) |
Add a single datapoint. Datapoints are added to the datatable left to right, top to bottom.
Correct data type isn't checked until the upload is initiated
|
![]() | addStringParameter(String, String) |
Add a parameter to the request. If request already has parameter by that name, changes the parameter's value
Parameter names are case-insensitive
(Inherited from DataRequest.) |
![]() | addStringParameter(String, String, Boolean) |
Add a parameter to the request. If request already has parameter by that name, changes the parameter's value
Parameter names are case-insensitive
(Inherited from DataRequest.) |
![]() | addStringParameterIfNotCurrentlyPresent |
Add a parameter to the request only if it is already not in the request.
Parameter names are case-insensitive
(Inherited from DataRequest.) |
![]() | Equals | (Inherited from Object.) |
![]() | ErrorOnFetch | (Inherited from DataRequest.) |
![]() | Fetch | (Overrides DataRequestFetch(IDataFetch, IDataTable).) |
![]() | getDataFrame |
Returns a NoParseDataFrame
(Overrides FactletgetDataFrame(IEventLogger, Boolean, Boolean, IConfigManager, FactSetOnDemand).) |
![]() | getDataTable | (Inherited from DataRequest.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetNumberOfTries | (Inherited from DataRequest.) |
![]() | getParameterList |
Returns parameters in this data request, as a Dictionary
(Inherited from DataRequest.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ReceiveData(String) | (Inherited from Factlet.) |
![]() | ReceiveData(String, Boolean) | (Inherited from DataRequest.) |
![]() | Retry | (Inherited from DataRequest.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | factletName |
Factlet that is being requested
(Inherited from Factlet.) |
![]() | result |
The string returned from the network
(Inherited from Factlet.) |