Kinetica C# API
Version 6.0.1.0
|
A set of parameters for /aggregate/histogram. More...
Classes | |
struct | Options |
Optional parameters. More... | |
Public Member Functions | |
AggregateHistogramRequest () | |
Constructs an AggregateHistogramRequest object with default parameters. More... | |
AggregateHistogramRequest (string table_name, string column_name, double start, double end, double interval, IDictionary< string, string > options=null) | |
Constructs an AggregateHistogramRequest object with the specified parameters. More... | |
![]() | |
KineticaData (KineticaType type) | |
Constructor from Kinetica Type More... | |
KineticaData (System.Type type=null) | |
Default constructor, with optional System.Type More... | |
object | Get (int fieldPos) |
Retrieve a specific property from this object More... | |
void | Put (int fieldPos, object fieldValue) |
Write a specific property to this object More... | |
Properties | |
string | table_name [get, set] |
Name of the table on which the operation will be performed. More... | |
string | column_name [get, set] |
Name of a column or an expression of one or more column names over which the histogram will be calculated. More... | |
double | start [get, set] |
Lower end value of the histogram interval, inclusive. More... | |
double | end [get, set] |
Upper end value of the histogram interval, inclusive. More... | |
double | interval [get, set] |
The size of each bin within the start and end parameters. More... | |
IDictionary< string, string > | options [get, set] |
Optional parameters. More... | |
![]() | |
Schema | Schema [get] |
Avro Schema for this class More... | |
Additional Inherited Members | |
![]() | |
static RecordSchema | SchemaFromType (System.Type t, KineticaType ktype=null) |
Create an Avro Schema from a System.Type and a KineticaType. More... | |
A set of parameters for /aggregate/histogram.
Performs a histogram calculation given a table, a column, and an interval function. The <member name="interval"> is used to produce bins of that size and the result, computed over the records falling within each bin, is returned. For each bin, the start value is inclusive, but the end value is exclusive–except for the very last bin for which the end value is also inclusive. The value returned for each bin is the number of records in it, except when a column name is provided as a value_column in <member name="options">. In this latter case the sum of the values corresponding to the value_column is used as the result instead.
Definition at line 26 of file AggregateHistogram.cs.
|
inline |
Constructs an AggregateHistogramRequest object with default parameters.
Definition at line 86 of file AggregateHistogram.cs.
|
inline |
Constructs an AggregateHistogramRequest object with the specified parameters.
table_name | Name of the table on which the operation will be performed. Must be an existing table or collection. |
column_name | Name of a column or an expression of one or more column names over which the histogram will be calculated. |
start | Lower end value of the histogram interval, inclusive. |
end | Upper end value of the histogram interval, inclusive. |
interval | The size of each bin within the start and end parameters. |
options | Optional parameters.
|
Definition at line 114 of file AggregateHistogram.cs.
|
getset |
Name of a column or an expression of one or more column names over which the histogram will be calculated.
Definition at line 57 of file AggregateHistogram.cs.
|
getset |
Upper end value of the histogram interval, inclusive.
Definition at line 65 of file AggregateHistogram.cs.
|
getset |
The size of each bin within the start and end parameters.
Definition at line 69 of file AggregateHistogram.cs.
|
getset |
Optional parameters.
Definition at line 81 of file AggregateHistogram.cs.
|
getset |
Lower end value of the histogram interval, inclusive.
Definition at line 61 of file AggregateHistogram.cs.
|
getset |
Name of the table on which the operation will be performed.
Must be an existing table or collection.
Definition at line 53 of file AggregateHistogram.cs.