7 using System.Collections.Generic;
19 public class ShowFunctionsRequest : KineticaData
123 public struct Options
125 public const string PROPERTIES =
"properties";
141 public const string SHOW_SCALAR_FUNCTIONS =
"show_scalar_functions";
142 public const string TRUE =
"true";
143 public const string FALSE =
"false";
159 public const string SHOW_AGGREGATE_FUNCTIONS =
"show_aggregate_functions";
175 public const string SHOW_SQL_PROCEDURES =
"show_sql_procedures";
191 public const string SHOW_USER_DEFINED_FUNCTIONS =
"show_user_defined_functions";
207 public const string SHOW_CAST_FUNCTIONS =
"show_cast_functions";
210 public IList<string> names {
get; set; } =
new List<string>();
311 public IDictionary<string, string> options {
get; set; } =
new Dictionary<string, string>();
316 public ShowFunctionsRequest() { }
422 public ShowFunctionsRequest( IList<string> names,
423 IDictionary<string, string> options = null)
425 this.names = names ??
new List<string>();
426 this.options = options ??
new Dictionary<string, string>();
438 public class ShowFunctionsResponse : KineticaData
473 public const string SCALAR =
"scalar";
474 public const string AGGREGATE =
"aggregate";
475 public const string SQL =
"sql";
476 public const string UDF =
"udf";
477 public const string CAST =
"cast";
478 public const string NONDETERMINISTIC =
"nondeterministic";
481 public IList<string> function_names {
get; set; } =
new List<string>();
482 public IList<string> return_types {
get; set; } =
new List<string>();
483 public IList<IList<string>> parameters {
get; set; } =
new List<IList<string>>();
484 public IList<int> optional_parameter_count {
get; set; } =
new List<int>();
514 public IList<int> flags {
get; set; } =
new List<int>();
515 public IList<string> type_schemas {
get; set; } =
new List<string>();
516 public IList<IDictionary<string, IList<string>>> properties {
get; set; } =
new List<IDictionary<string, IList<string>>>();
517 public IDictionary<string, string> info {
get; set; } =
new Dictionary<string, string>();