7 using System.Collections.Generic;
25 public const string BINARY =
"binary";
26 public const string JSON =
"json";
49 public const string TRUE =
"true";
50 public const string FALSE =
"false";
254 public const string TTL =
"ttl";
326 public long limit {
get;
set; } = -9999;
341 public string encoding {
get;
set; } = Encoding.BINARY;
353 public IList<byte[]>
data {
get;
set; } =
new List<byte[]>();
706 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
1094 IList<
byte[]>
data =
null,
1095 IDictionary<string, string>
options =
null)
1102 this.
data =
data ??
new List<byte[]>();
1502 IList<
byte[]>
data =
null,
1503 IDictionary<string, string>
options =
null)
1510 this.
data =
data ??
new List<byte[]>();
1582 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
1613 public IList<KineticaRecord>
data {
get;
set; } =
new List<KineticaRecord>();
1645 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
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.
const string COST_BASED_OPTIMIZATION
If FALSE, disables the cost-based optimization of the given query.
ExecuteSqlRequest()
Constructs an ExecuteSqlRequest object with default parameters.
string json_encoded_response
Avro JSON encoded response.
A set of string constants for the parameter has_more_records.
string statement
SQL statement (query, DML, or DDL) to be executed
string encoding
Specifies the encoding for returned records; either 'binary' or 'json'.
long offset
A positive integer indicating the number of initial results to skip (this can be useful for paging th...
A set of string constants for the parameter encoding.
const string SSQ_OPTIMIZATION
If FALSE, scalar subqueries will be translated into joins.
A set of string constants for the parameter has_more_records.
const string RULE_BASED_OPTIMIZATION
If FALSE, disables rule-based rewrite optimizations for the given query.
A set of string constants for the parameter options.
const string VALIDATE_CHANGE_COLUMN
When changing a column using alter table, validate the change before applying it.
long count_affected
The number of objects/records affected.
const string CURRENT_SCHEMA
Use the supplied value as the default schema when processing this SQL command.
string paging_table
Name of the table that has the result records of the query.
long total_number_of_records
Total/Filtered number of records.
string paging_table
Name of the table that has the result records of the query.
const string PARALLEL_EXECUTION
If FALSE, disables the parallel step execution of the given query.
long count_affected
The number of objects/records affected.
const string PREPARE_MODE
If TRUE, compiles a query into an execution plan and saves it in query cache.
const string PRESERVE_DICT_ENCODING
If TRUE, then columns that were dict encoded in the source table will be dict encoded in the projecti...
byte [] binary_encoded_response
Avro binary encoded response.
IList< KineticaRecord > data
Avro binary encoded response.
const string LATE_MATERIALIZATION
If TRUE, Joins/Filters results will always be materialized ( saved to result tables format).
IDictionary< string, string > info
Additional information.
A set of results returned by Kinetica.executeSql.
const string DISTRIBUTED_OPERATIONS
If TRUE, enables the use of distributed operations in servicing the given query.
A set of string constants for the parameter info.
A set of parameters for Kinetica.executeSql.
const string PAGING_TABLE
When empty or the specified paging table not exists, the system will create a paging table and return...
const string PAGING_TABLE_TTL
Sets the TTL of the paging table.
string request_schema_str
Avro schema of data.
long limit
A positive integer indicating the maximum number of results to be returned, or END_OF_SET (-9999) to ...
IList< byte[]> data
An array of binary-encoded data for the records to be binded to the SQL query.
IDictionary< string, string > options
Optional parameters.
const string TTL
Sets the TTL of the intermediate result tables used in query execution.
IDictionary< string, string > info
Additional information.
const string COUNT
Number of records in the final table
A set of string constants for the parameter info.
bool has_more_records
Too many records.
const string COUNT
Number of records in the final table
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.
const string DISTRIBUTED_JOINS
If TRUE, enables the use of distributed joins in servicing the given query.
bool has_more_records
Too many records.
KineticaData - class to help with Avro Encoding for Kinetica
string response_schema_str
Avro schema of binary_encoded_response or json_encoded_response.
const string UPDATE_ON_EXISTING_PK
Specifies the record collision policy for inserting into or updating a table with a primary key.
const string RESULTS_CACHING
If FALSE, disables caching of the results of the given query.
const string PLAN_CACHE
If FALSE, disables plan caching for the given query.
const string QUERY_PARAMETERS
Query parameters in JSON array or arrays (for inserting multiple rows).
A set of results returned by Kinetica.executeSql.
long total_number_of_records
Total/Filtered number of records.
const string IGNORE_EXISTING_PK
Specifies the record collision error-suppression policy for inserting into or updating a table with a...