Kinetica C# API
Version 7.2.3.0
|
A set of parameters for Kinetica.aggregateUnpivot. More...
Classes | |
struct | Encoding |
A set of string constants for the parameter encoding. More... | |
struct | Options |
A set of string constants for the parameter options. More... | |
Public Member Functions | |
AggregateUnpivotRequest () | |
Constructs an AggregateUnpivotRequest object with default parameters. More... | |
AggregateUnpivotRequest (string table_name, IList< string > column_names, string variable_column_name, string value_column_name, IList< string > pivoted_columns, IDictionary< string, string > options=null) | |
Constructs an AggregateUnpivotRequest object with the specified parameters. More... | |
AggregateUnpivotRequest (string table_name, IList< string > column_names, string variable_column_name, string value_column_name, IList< string > pivoted_columns, string encoding=null, IDictionary< string, string > options=null) | |
Constructs an AggregateUnpivotRequest 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... | |
IList< string > | column_names = new List<string>() [get, set] |
List of column names or expressions. More... | |
string | variable_column_name = "" [get, set] |
Specifies the variable/parameter column name. More... | |
string | value_column_name = "" [get, set] |
Specifies the value column name. More... | |
IList< string > | pivoted_columns = new List<string>() [get, set] |
List of one or more values typically the column names of the input table. More... | |
string | encoding = Encoding.BINARY [get, set] |
Specifies the encoding for returned records. More... | |
IDictionary< string, string > | options = new Dictionary<string, string>() [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 Kinetica.aggregateUnpivot.
Rotate the column values into rows values.
For unpivot details and examples, see Unpivot. For limitations, see Unpivot Limitations.
Unpivot is used to normalize tables that are built for cross tabular reporting purposes. The unpivot operator rotates the column values for all the pivoted columns. A variable column, value column and all columns from the source table except the unpivot columns are projected into the result table. The variable column and value columns in the result table indicate the pivoted column name and values respectively.
The response is returned as a dynamic schema. For details see: dynamic schemas documentation.
Definition at line 29 of file AggregateUnpivot.cs.
|
inline |
Constructs an AggregateUnpivotRequest object with default parameters.
Definition at line 400 of file AggregateUnpivot.cs.
|
inline |
Constructs an AggregateUnpivotRequest object with the specified parameters.
table_name | Name of the table on which the operation will be performed. Must be an existing table/view, in [schema_name.]table_name format, using standard name resolution rules. |
column_names | List of column names or expressions. A wildcard '*' can be used to include all the non-pivoted columns from the source table. |
variable_column_name | Specifies the variable/parameter column name. The default value is ''. |
value_column_name | Specifies the value column name. The default value is ''. |
pivoted_columns | List of one or more values typically the column names of the input table. All the columns in the source table must have the same data type. |
options | Optional parameters.
|
Definition at line 590 of file AggregateUnpivot.cs.
|
inline |
Constructs an AggregateUnpivotRequest object with the specified parameters.
table_name | Name of the table on which the operation will be performed. Must be an existing table/view, in [schema_name.]table_name format, using standard name resolution rules. |
column_names | List of column names or expressions. A wildcard '*' can be used to include all the non-pivoted columns from the source table. |
variable_column_name | Specifies the variable/parameter column name. The default value is ''. |
value_column_name | Specifies the value column name. The default value is ''. |
pivoted_columns | List of one or more values typically the column names of the input table. All the columns in the source table must have the same data type. |
encoding | Specifies the encoding for returned records. Supported values:
|
options | Optional parameters.
|
Definition at line 810 of file AggregateUnpivot.cs.
|
getset |
List of column names or expressions.
A wildcard '*' can be used to include all the non-pivoted columns from the source table.
Definition at line 192 of file AggregateUnpivot.cs.
|
getset |
Specifies the encoding for returned records.
Supported values:
The default value is BINARY.
Definition at line 224 of file AggregateUnpivot.cs.
|
getset |
Optional parameters.
The default value is an empty Dictionary.
Definition at line 396 of file AggregateUnpivot.cs.
|
getset |
List of one or more values typically the column names of the input table.
All the columns in the source table must have the same data type.
Definition at line 206 of file AggregateUnpivot.cs.
|
getset |
Name of the table on which the operation will be performed.
Must be an existing table/view, in [schema_name.]table_name format, using standard name resolution rules.
Definition at line 187 of file AggregateUnpivot.cs.
|
getset |
Specifies the value column name.
The default value is ''.
Definition at line 200 of file AggregateUnpivot.cs.
|
getset |
Specifies the variable/parameter column name.
The default value is ''.
Definition at line 196 of file AggregateUnpivot.cs.