Kinetica C# API
Version 7.2.3.0
|
A set of parameters for Kinetica.executeSql. 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 | |
ExecuteSqlRequest () | |
Constructs an ExecuteSqlRequest object with default parameters. More... | |
ExecuteSqlRequest (string statement, long? offset=null, long? limit=null, string request_schema_str=null, IList< byte[]> data=null, IDictionary< string, string > options=null) | |
Constructs an ExecuteSqlRequest object with the specified parameters. More... | |
ExecuteSqlRequest (string statement, long? offset=null, long? limit=null, string encoding=null, string request_schema_str=null, IList< byte[]> data=null, IDictionary< string, string > options=null) | |
Constructs an ExecuteSqlRequest object with the specified parameters. More... | |
ExecuteSqlRequest () | |
Constructs an ExecuteSqlRequest object with default parameters. More... | |
ExecuteSqlRequest (string statement, long? offset=null, long? limit=null, string request_schema_str=null, IList< byte[]> data=null, IDictionary< string, string > options=null) | |
Constructs an ExecuteSqlRequest object with the specified parameters. More... | |
ExecuteSqlRequest (string statement, long? offset=null, long? limit=null, string encoding=null, string request_schema_str=null, IList< byte[]> data=null, IDictionary< string, string > options=null) | |
Constructs an ExecuteSqlRequest 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... | |
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 | statement [get, set] |
SQL statement (query, DML, or DDL) to be executed More... | |
long | offset = 0 [get, set] |
A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). More... | |
long | limit = -9999 [get, set] |
A positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. More... | |
string | encoding = Encoding.BINARY [get, set] |
Specifies the encoding for returned records; either 'binary' or 'json'. More... | |
string | request_schema_str = "" [get, set] |
Avro schema of data. More... | |
IList< byte[]> | data = new List<byte[]>() [get, set] |
An array of binary-encoded data for the records to be binded to the SQL query. More... | |
IDictionary< string, string > | options = new Dictionary<string, string>() [get, set] |
Optional parameters. More... | |
![]() | |
Schema | Schema [get] |
Avro Schema for this class More... | |
![]() | |
Schema | Schema [get] |
Additional Inherited Members | |
![]() | |
static ? RecordSchema | SchemaFromType (System.Type t, KineticaType? ktype=null) |
Create an Avro Schema from a System.Type and a KineticaType. More... | |
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.executeSql.
Execute a SQL statement (query, DML, or DDL).
See SQL Support for the complete set of supported SQL commands.
Execute a SQL statement (query, DML, or DDL).
See SQL Support for the complete set of supported SQL commands.
When a caller wants all the results from a large query (e.g., more than max_get_records_size records), they can make multiple calls to this endpoint using the offset and limit parameters to page through the results. Normally, this will execute the statement query each time. To avoid re-executing the query each time and to keep the results in the same order, the caller should specify a PAGING_TABLE name to hold the results of the query between calls and specify the PAGING_TABLE on subsequent calls. When this is done, the caller should clear the paging table and any other tables in the RESULT_TABLE_LIST (both returned in the response) when they are done paging through the results. paging_table (and RESULT_TABLE_LIST) will be empty if no paging table was created (e.g., when all the query results were returned in the first call).
Definition at line 17 of file ExecuteSql.cs.
|
inline |
Constructs an ExecuteSqlRequest object with default parameters.
Definition at line 710 of file ExecuteSql.cs.
|
inline |
Constructs an ExecuteSqlRequest object with the specified parameters.
statement | SQL statement (query, DML, or DDL) to be executed |
offset | A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX_INT. |
limit | A positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the max_get_records_size parameter in the server configuration. Use has_more_records to see if more records exist in the result to be fetched, and offset & limit to request subsequent pages of results. The default value is -9999. |
request_schema_str | Avro schema of data . The default value is ''. |
data | An array of binary-encoded data for the records to be binded to the SQL query. Or use QUERY_PARAMETERS to pass the data in JSON format. The default value is an empty List. |
options | Optional parameters.
|
Definition at line 1090 of file ExecuteSql.cs.
|
inline |
Constructs an ExecuteSqlRequest object with the specified parameters.
statement | SQL statement (query, DML, or DDL) to be executed |
offset | A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX_INT. |
limit | A positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the max_get_records_size parameter in the server configuration. Use has_more_records to see if more records exist in the result to be fetched, and offset & limit to request subsequent pages of results. The default value is -9999. |
encoding | Specifies the encoding for returned records; either 'binary' or 'json'. Supported values: The default value is BINARY. |
request_schema_str | Avro schema of data . The default value is ''. |
data | An array of binary-encoded data for the records to be binded to the SQL query. Or use QUERY_PARAMETERS to pass the data in JSON format. The default value is an empty List. |
options | Optional parameters.
|
Definition at line 1497 of file ExecuteSql.cs.
|
inline |
Constructs an ExecuteSqlRequest object with default parameters.
Definition at line 771 of file ExecuteSql.cs.
|
inline |
Constructs an ExecuteSqlRequest object with the specified parameters.
statement | SQL statement (query, DML, or DDL) to be executed |
offset | A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX_INT. |
limit | A positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the max_get_records_size parameter in the server configuration. Use has_more_records to see if more records exist in the result to be fetched, and offset & limit to request subsequent pages of results. The default value is -9999. |
request_schema_str | Avro schema of data . The default value is ''. |
data | An array of binary-encoded data for the records to be binded to the SQL query. Or use QUERY_PARAMETERS to pass the data in JSON format. The default value is an empty List. |
options | Optional parameters.
|
Definition at line 1171 of file ExecuteSql.cs.
|
inline |
Constructs an ExecuteSqlRequest object with the specified parameters.
statement | SQL statement (query, DML, or DDL) to be executed |
offset | A positive integer indicating the number of initial results to skip (this can be useful for paging through the results). The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX_INT. |
limit | A positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the max_get_records_size parameter in the server configuration. Use has_more_records to see if more records exist in the result to be fetched, and offset & limit to request subsequent pages of results. The default value is -9999. |
encoding | Specifies the encoding for returned records; either 'binary' or 'json'. Supported values: The default value is BINARY. |
request_schema_str | Avro schema of data . The default value is ''. |
data | An array of binary-encoded data for the records to be binded to the SQL query. Or use QUERY_PARAMETERS to pass the data in JSON format. The default value is an empty List. |
options | Optional parameters.
|
Definition at line 1598 of file ExecuteSql.cs.
|
getset |
An array of binary-encoded data for the records to be binded to the SQL query.
Or use QUERY_PARAMETERS to pass the data in JSON format. The default value is an empty List.
Definition at line 353 of file ExecuteSql.cs.
|
getset |
Specifies the encoding for returned records; either 'binary' or 'json'.
Supported values:
The default value is BINARY.
Definition at line 341 of file ExecuteSql.cs.
|
getset |
A positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned.
The number of records returned will never exceed the server's own limit, defined by the max_get_records_size parameter in the server configuration. Use has_more_records to see if more records exist in the result to be fetched, and offset & limit to request subsequent pages of results. The default value is -9999.
Definition at line 326 of file ExecuteSql.cs.
|
getset |
A positive integer indicating the number of initial results to skip (this can be useful for paging through the results).
The default value is 0. The minimum allowed value is 0. The maximum allowed value is MAX_INT.
Definition at line 311 of file ExecuteSql.cs.
|
getset |
Optional parameters.
The default value is an empty Dictionary.
The default value is an empty Dictionary.
Definition at line 706 of file ExecuteSql.cs.
|
getset |
|
getset |
SQL statement (query, DML, or DDL) to be executed
Definition at line 304 of file ExecuteSql.cs.